Thanks for helping !
Here is what I did following your advice :
1/
My lirc_options.conf :
[lircd]
driver = default
device = /dev/lirc0
[modinit]
code = /usr/bin/setserial /dev/ttyS0 uart none
code1 = /usr/sbin/modprobe serial_ir
2/
Loading modules and check
(my remote is an old Philips 8139, rc5):
/sbin/modprobe ir_rc5_decoder
/sbin/modprobe serial_ir
lsmod | grep ir
serial_ir 20480 0
ir_rc5_decoder 16384 0
ir_rc6_decoder 16384 0
irqbypass 16384 1 kvm
rc_core 53248 9
budget_ci,ir_rc6_decoder,rc_rc6_mce,cx23885,ir_rc5_decoder,serial_ir,rc_tt_1500
cat /sys/class/rc/rc*/protocols
rc-5 nec [rc-6] jvc sony rc-5-sz sanyo sharp mce_kbd xmp imon
[lirc]
ls /dev/lirc* -l
crw-rw---- 1 root video 243, 0 janv. 5 10:14 /dev/lirc0
crw-rw---- 1 root video 243, 1 janv. 5 10:57 /dev/lirc1
3/
Modules are up, unfortunatelly, I can't run lircd :
/etc/init.d/lircd start
[....] Starting lircd (via systemctl): lircd.serviceJob for
lircd.service failed because the control process exited with error
code.
See "systemctl status lircd.service" and "journalctl -xe" for
details.
failed!
4/
journalctl -xe
-- L'unité (unit) lircd.service a commencé à démarrer.
janv. 05 10:57:11 pctest lircd[1997]: /usr/sbin/lircd: symbol
lookup error: /usr/sbin/lircd: undefined symbol:
release_map_remotes
janv. 05 10:57:11 pctest systemd[1]: lircd.service: Main process
exited, code=exited, status=127/n/a
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit lircd.service has
exited.
--
-- The process' exit code is 'exited' and its exit status is 127.
janv. 05 10:57:11 pctest systemd[1]: lircd.service: Failed with
result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit lircd.service has entered the 'failed' state with
result 'exit-code'.
janv. 05 10:57:11 pctest systemd[1]: Failed to start Flexible IR
remote input/output application support.
-- Subject: L'unité (unit) lircd.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) lircd.service a échoué, avec le résultat failed.
lines 2178-2274/2274 (END)
5/
I tried your command without succes :
/usr/sbin/lircd -e lirc -H devinput -d
/dev/input/by-path/platform-serial_ir.0-event-ir /etc/lircd.conf
/usr/sbin/lircd: symbol lookup error: /usr/sbin/lircd: undefined
symbol: release_map_remotes
Did I missed something ?
Regards.
Karim
My lircd.conf in /etc/lirc
# Please make this file available to others
# by sending it to <lirc@xxxxxxxxxxxx>
#
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Tue May 28 22:32:12 2013
#
# contributed by
#
# brand: RT214 from VR8139 Philips
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name RT214
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 960 816
zero 960 816
plead 997
gap 113915
toggle_bit_mask 0x800
begin codes
KEY_PLAY 0x1175
KEY_PAUSE 0x1168
KEY_STOP 0x1176
KEY_RECORD 0x117D
KEY_REWIND 0x116C
KEY_FORWARD 0x116E
KEY_MENU 0x0170
KEY_EXIT 0x0171
KEY_CHANNELUP 0x1160
KEY_CHANNELDOWN 0x1161
KEY_UP 0x1010
KEY_DOWN 0x1011
KEY_LEFT 0x116F
KEY_RIGHT 0x116A
KEY_OK 0x114A
KEY_AUDIO 0x116B
KEY_BACK 0x114B
KEY_SUBTITLE 0x117C
KEY_MACRO 0x1171
KEY_INFO 0x016F
KEY_RED 0x016B
KEY_GREEN 0x016C
KEY_YELLOW 0x016D
KEY_BLUE 0x016E
KEY_EPG 0x014A
KEY_DVD 0x016F
KEY_F1 0x017A
KEY_F2 0x116E
KEY_F3 0x117A
KEY_F4 0x017D
KEY_F5 0x014A
KEY_F6 0x114F
KEY_0 0x1140
KEY_1 0x1141
KEY_2 0x1142
KEY_3 0x1143
KEY_4 0x1144
KEY_5 0x1145
KEY_6 0x1146
KEY_7 0x1147
KEY_8 0x1148
KEY_9 0x1149
end codes
end remote
- 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 vdr@xxxxxxxxxxx https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr