mode2 shows output, irrecord fails (using the remote out port of an amplifier)
Robert Jäschke <[email protected]> Mon, 2 Mar 2020 11:14:39 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Organization | L3S Research Center |
| Message-ID | <[email protected]> |
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¹ and have installed LIRC 0.9.4c on
Raspbian Stretch with kernel 4.19.66 using the patch to support the
gpio-ir device.² With mode2 I can get outputs like this when pressing
buttons (this one is for VOLUME UP):
> Using driver default on device /dev/lirc0
> pulse 1948022
> space 895
> pulse 884
> space 901
> pulse 883
> space 901
> pulse 883
> space 1788
> pulse 890
> space 900
> pulse 883
> space 899
> pulse 883
> space 901
> pulse 882
> space 899
> pulse 1773
> space 1788
> pulse 890
> space 899
> pulse 884
> space 899
> pulse 883
> space 901
> timeout 129209
I repeated this four times with mode2 and four times with ir-ctl, each
time pressing the same button (VOLUME UP) and got slightly different
results (see plot.pdf and mode2_volup.tsv). Apart from the initial long
pulse with varying length (could that be a problem?) which I omitted in
the plot to get a better alignment, there's an inconsistent pattern
between roughly 1500μs and 5500μs. After that the pattern is identical
(as expected) except for the first run of ir-ctl (which might be an
outlier).
When I run "irrecord -n -H default -d /dev/lirc0" (also with "-f") I
don't manage to get more than a couple (three to four) dots when it
tries to detect the remote, although I am pressing many buttons randomly
(and long enough). I also started irrecord with an existing lirc.conf
for RC-5, RC-6, RECS80 and some Marantz device without any success
("Something went wrong: Cannot decode data").
Has someone an idea what's wrong or how I can solve this problem? Do the
patterns look like any valid code? Any advice on how to further debug
the problem would also be appreciated!
Best regards,
Robert
¹ https://www.raspberrypi.org/forums/viewtopic.php?p=1619963
² https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=235256
mode2_volup.tsv
(text/tab-separated-values, 1016 B)
pulse 1894868 pulse 1907129 pulse 1555860 pulse 1948022 space 894 space 894 space 893 space 895 pulse 885 pulse 884 pulse 885 pulse 884 space 1787 space 902 space 1784 space 901 pulse 1782 pulse 882 pulse 1786 pulse 883 space 1787 space 900 space 1761 space 901 pulse 892 pulse 884 pulse 919 pulse 883 space 898 space 1787 space 898 space 1788 pulse 885 pulse 892 pulse 885 pulse 890 space 872 space 900 space 898 space 900 pulse 911 pulse 883 pulse 884 pulse 883 space 898 space 900 space 897 space 899 pulse 885 pulse 883 pulse 886 pulse 883 space 899 space 898 space 897 space 901 pulse 1774 pulse 885 pulse 1775 pulse 882 space 1787 space 899 space 1787 space 899 pulse 893 pulse 1774 pulse 893 pulse 1773 space 898 space 1787 space 896 space 1788 pulse 885 pulse 892 pulse 889 pulse 890 space 898 space 899 space 868 space 899 pulse 886 pulse 885 pulse 912 pulse 884 space 871 space 872 space 899 space 899 timeout 134755 pulse 911 timeout 125407 pulse 883 space 901 space 901 timeout 129445 timeout 129209
plot.pdf
(application/pdf, 12.5 KB) - not displayed
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE7TVp9aMI7hZ3WPUQ9ljZz8S+UpgFAl5c3I8ACgkQ9ljZz8S+ UpihJA/8DHJfG1sPI1kwS1J5HTyc5oXU6dNSSsMnFREiKN64xW74H/k0ajLxqMe0 YComXpRSWJlxyTBb/YTxEnv8i/Q44xNzzRznJWeUCDmo5mvkvyLbNKRGdV7YIvLg GvotCrzcDl0kfVxESsZTy6W9AztAEDkfCwfqSiY4f0h9wCMbZfsQRDvtJDf+CGY0 hdIQbPtXfvulXYCFMfxz60qxH3/HhuohsH73lh55OjOuqvJoZiIzoO1MDUTkroK0 8Suh6/2CTjJH/l0tUl3G9525g5m+8pJrvZwsPJkOT1Dj5keXB/h4gtAiDP2VYg86 yVA0oQajK44TkDYdckHuWFI/hd8RWk8rcds5LYG5s5kMHko16Y53hf7+il/x56Cm oGtpcrss66EKJ18m6R7cpfb2UDc7FWldYUm+XY8dtzB40xNYFIKZn4asKIv1JB/a j/0TjgE9p11RkzXtZUTp6NHDk3y6ToX1KC6ErBOKlrFViA8ZENyzT5o1WnqwcOOb PDCc3vUSMSLjue0i3xgn5GHFYsJk2IjTm3mRRxt538wCc4oz3VtrE0F0cLQXT+XH hCaP1Tq8ut//ICPFqMgWQnDJjQxVbs+C+PgTDbjiNnhrqhTZf19WWHlqV8IzZYXH qkC6KGv2c47/9WmU4z/8EQjY5BZJAvOTFbRHS43uL8m/9Ft2pMw= =aP6c -----END PGP SIGNATURE-----