Re: mode2 shows output, irrecord fails (using the remote out port of an amplifier)
Bengt Martensson <[email protected]> Thu, 5 Mar 2020 10:29:03 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
Hi Robert,
On 2020-03-02 11:14, Robert Jäschke wrote:
> Dear all,
>
> I have trouble getting irrecord to recognize my remote. With mode2 I can
> see pulse and space data but I can't push irrecord over a couple of dots
> when it tries to recognize my remote. Here's the full story:
>
> I have connected the REMOTE OUT port of my amplifier (Marantz PM5005)
> with the GPIO pin of my Raspberry Pi¹
The magic word here is that the remote out plug on Maranz outputs the
signal *inverted* (signal present = low, no signal = high), so that your
spaces show up as pulses, and vice versa. This explains the very long
initial "pulse" you see. Taking this into account, your first signal
decodes as RC5: {D=16,F=16,T=1} in IrScrutinizer.
Ok, so we know that it is a Marantz amplifier, using RC5 with D=16. So I
use IrScrutinizer to suck the corresponding device from irdb.tk, and use
the Lirc-export. Produces the file enclosed.
BTW, irrecord is a really not state-of-the art. Please use
IrScrutinizer, which runs natively on the RPi. Although in this case it
would not have helped you, because the driver for reading GPIO inverted
is still not written...
Greetz,
Bengt
lirc_2020-03-05_10-20-20.lircd.conf
(text/plain, 954 B)
# IrScrutinizer parametric export # # Creating tool: IrScrutinizer version 2.2.4 # Creating user: bengt # Creating date: Thu Mar 05 10:20:20 CET 2020 # Encoding: WINDOWS-1252 # # Manufacturer: Marantz # Model: PM5005 # Displayname: # Device Class: Amplifier # Remotename: # # Protocol name: RC5 begin remote name marantz_amp-rc5 bits 13 flags RC5|CONST_LENGTH eps 30 aeps 100 zero 889 889 one 889 889 plead 889 gap 114000 toggle_bit 2 frequency 36000 begin codes POWER_ON/OFF 0x000000000000140C MUTE_ATT 0x000000000000140D DISPLAY 0x000000000000140F VOLUME_+ 0x0000000000001410 VOLUME_- 0x0000000000001411 SPEAKER_A/B 0x000000000000141D SOURCE_DIRECT 0x0000000000001422 LOUDNESS 0x0000000000001432 CURSOR_UP 0x0000000000000410 CURSOR_DOWN 0x0000000000000411 EXIT_MENU 0x0000000000000413 CURSOR_LEFT 0x0000000000000415 CURSOR_RIGHT 0x0000000000000416 ENTER_(OK) 0x0000000000000417 end codes end remote