From: James B H. <jb...@ju...> - 2024-04-30 15:22:14
|
Folks, Have been using lirc for like forever, anyway I got new Raspberrypi- 5, it is replacing a RPI-4B, unplug one, plug in the other. The MCEUSB receiver and remote I was using (and it works) is the same one I am still using. Issue, I have ZIPPO output showing up in IRW. I see the data coming in via mode2: pi@rpi-5:/usr/lib/systemd/system $ mode2 Using driver default on device /dev/lirc0 Trying device: /dev/lirc0 Using device: /dev/lirc0 pulse 650 space 52200 pulse 650 space 52250 pulse 650 timeout 127000 ir-keytable sees the device: pi@rpi-5:~ $ ir-keytable Found /sys/class/rc/rc1/ with: Name: vc4-hdmi-1 Driver: cec Default keymap: rc-cec Input device: /dev/input/event3 Supported kernel protocols: cec Enabled kernel protocols: cec bus: 30, vendor/product: 0000:0000, version: 0x0001 Repeat delay = 0 ms, repeat period = 125 ms Found /sys/class/rc/rc2/ with: Name: Media Center Ed. eHome Infrared Remote Transceiver (0471:060c) Driver: mceusb Default keymap: rc-rc6-mce Input device: /dev/input/event9 LIRC device: /dev/lirc0 Attached BPF protocols: Operation not permitted Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon Enabled kernel protocols: lirc bus: 3, vendor/product: 0471:060c, version: 0x0101 Repeat delay = 500 ms, repeat period = 125 ms Found /sys/class/rc/rc0/ with: Name: vc4-hdmi-0 Driver: cec Default keymap: rc-cec Input device: /dev/input/event1 Supported kernel protocols: cec Enabled kernel protocols: cec bus: 30, vendor/product: 0000:0000, version: 0x0001 Repeat delay = 0 ms, repeat period = 125 ms however irw sees nothing: lircd loads, read config fine, and knows the remotes: Apr 30 09:52:03.439525 rpi-5.judahnet.net lircd: Notice: Current driver: default Apr 30 09:52:03.439530 rpi-5.judahnet.net lircd: Notice: Driver API version: 3 Apr 30 09:52:03.439536 rpi-5.judahnet.net lircd: Notice: Driver version: 0.10.0 Apr 30 09:52:03.439541 rpi-5.judahnet.net lircd: Notice: Driver info: See file:///usr/share/doc/lirc/plugindocs/default.html Apr 30 09:52:03.439562 rpi-5.judahnet.net lircd: Warning: ------------- ----------- Log re-opened ---------------------------- Apr 30 09:52:03.439572 rpi-5.judahnet.net lircd: Info: lircd: Opening log, level: Info Apr 30 09:52:03.439653 rpi-5.judahnet.net lircd: Notice: Using systemd fd Apr 30 09:52:03.439667 rpi-5.judahnet.net lircd: Warning: Running as root Apr 30 09:52:03.442705 rpi-5.judahnet.net lircd: Info: Using remote: mceusb. Apr 30 09:52:03.442810 rpi-5.judahnet.net lircd: Info: Using remote: BHN. Apr 30 09:52:03.442837 rpi-5.judahnet.net lircd: Notice: /etc/lirc/lircd.conf: BHN: Multiple values for same code: OK Apr 30 09:52:03.442864 rpi-5.judahnet.net lircd: Notice: /etc/lirc/lircd.conf: BHN: Multiple values for same code: ENTER Apr 30 09:52:03.443295 rpi-5.judahnet.net lircd: Notice: lircd(default) ready, using /var/run/lirc/lircd Apr 30 09:52:51.408223 rpi-5.judahnet.net lircd: Notice: accepted new client on /var/run/lirc/lircd Apr 30 09:52:51.408353 rpi-5.judahnet.net lircd: Info: [lirc] protocol is enabled Apr 30 09:53:17.868489 rpi-5.judahnet.net lircd: Info: removed client Relevent portion of lirc_options.conf: [lircd] nodaemon = False driver = default device = /dev/lirc0 output = /var/run/lirc/lircd pidfile = /var/run/lirc/lircd.pid plugindir = /usr/lib/aarch64-linux-gnu/lirc/plugins permission = 666 allow-simulate = No repeat-max = 600 logfile = /var/log/lirc.log I have moved the devinput config out of the way (/etc/lirc/lircd.conf.d/devinput.lircd.conf to devinput.lircd.conf.DIST) Oh, and IR Blasting out of the things works correctly...Last but not least, the mceusb module is loaded, and so is the cec module (even thouogh I blacklisted it in /etc/modeprobe.d/raspi-blacklist.conf)..... pi@rpi-5:/var/log $ lsmod|grep cec cec 65536 1 vc4 pi@rpi-5:/var/log $ lsmod|grep mceusb mceusb 49152 0 Anyone have a clue either what I've done wrong, or how to troubleshoot this ? pi@rpi-5:/var/log $ uname -r 6.6.28+rpt-rpi-2712 pi@rpi-5:/var/log $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian Regards, Jim Huber |