Re: Need help for LIRC + remote on serial COM port on recent Linux distrib

Karim AFIFI <[email protected]> Sat, 25 Jan 2020 17:29:04 +0100
Newsgroups gmane.linux.vdr
Message-ID <[email protected]>
Hi,

Finally, I dropped Buster, and moved to Mint 19.3 Tricia.
No problem with this version, lirc is working like a charm.

Thanks for your support !
Karim


Le 09/01/2020 à 22:59, Karim AFIFI a écrit :
> Hello, I finally managed to get working for the fist two steps : mode2 
> and irrecord are OK. There is only one problem left : lircd KO 
> /sbin/lircd: symbol lookup error: /sbin/lircd: undefined symbol: 
> release_map_remotes
>
> Could someone could help me to fix this problem ?
>
> Thanks a lot !
> Karim
>
>
>
>> Le 04/01/2020 à 23:02, Mikko Tuumanen a écrit :
>>>> - lirc_serial move out of staging (is no longer part of the kernel)
>>>> and/or rename to serial_ir.
>>> Here are my notes about those lirc changes from March 2019.
>>>
>>>
>>> You still need to release the serial port from normal serial driver:
>>> setserial /dev/ttyS0 uart none
>>>
>>> Load serial_ir module, no need for lirc_serial.
>>>
>>> serial_ir will create a /dev/lircN device, and also a /dev/input/eventM
>>>
>>> Load one of the ir_*_decoder modules too, for example ir_rc5_decoder or
>>> ir_rc6_decoder depending on the type of your remote. This way you'll probably
>>> don't need to teach remotes to lircd with irrecord, but can just read events
>>> from /dev/input/eventM
>>>
>>> Do a
>>> cat /sys/class/rc/rc*/protocols
>>> That will show you list(s) of supported remote models and you can change the
>>> model by writing your choice back to the protocols file.
>>>
>>> Before I knew all this, I tried to teach remote to lircd with irrecord, like
>>> irrecord -H default -d /dev/lircN
>>>
>>> This way I couldn't get irrecord to learn about a Technotrend remote I have.
>>>
>>> After I chose rc-5 with the protocols file, I started to get events from /dev/
>>> input/eventM. This wasn't enough to get lircd to react to the events, so I had
>>> to teach them to lircd by running
>>> irrecord -H devinput -d /dev/input/eventM
>>>
>>> After that I ran lircd with
>>> lircd -e lirc -H devinput \
>>> -d /dev/input/by-path/platform-serial_ir.0-event-ir \
>>> /etc/lircd.conf
>>>
>>> And now lirc works again!
>>>
>>>
>>>
>>> Unfortunately I still couldn't figure out how I could use the Technotrend
>>> remote with built-in ir receiver of CT2-4400. There is a /dev/input/event-
>>> device for it, but no events come through.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> vdr mailing list
>>> [email protected]
>>> https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>>
>> _______________________________________________
>> vdr mailing list
>> [email protected]
>> https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
> _______________________________________________
> vdr mailing list
> [email protected]
> https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr