Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37807 - [linux] 3.12 TopSeed Cyberlink remote doesn't work
Attached to Project:
Arch Linux
Opened by YP (knedlyk) - Sunday, 17 November 2013, 22:06 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 07 February 2014, 00:29 GMT
Opened by YP (knedlyk) - Sunday, 17 November 2013, 22:06 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 07 February 2014, 00:29 GMT
|
DetailsDescription: After upgrading kernel 3.12-1 my USB TopSeed remote control IR input doesn't work with lirc. irw shows nothing. But it works OK with 3.10.19-1-lts kernel and previous 3.11.6 kernel.
Additional info: * package version(s) linux-3.12-1 * config and/or log files etc. dmesg for 3.12-1 kernel: http://pastebin.com/NFVgJZN7 dmesg for 3.10.19-1-lts kernel: http://pastebin.com/kdr9QDZH lsusb shows the following in the both kernel versions (3.12-1 and lts): $ lsusb Bus 003 Device 002: ID 0766:0204 Jess-Link Products Co., Ltd TopSpeed Cyberlink Remote Control Steps to reproduce: Upgrade kernel 3.12-1, plug remote control input device, start lirc, try to use remote control. Check irw output |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Friday, 07 February 2014, 00:29 GMT
Reason for closing: Fixed
Friday, 07 February 2014, 00:29 GMT
Reason for closing: Fixed
[Unit]
Description=Linux Infrared Remote Control
[Service]
ExecStartPre=/usr/bin/rm -rf /dev/lircd /var/run/lirc/lirc*.pid
ExecStartPre=/usr/bin/ln -sf /dev/lircd /var/run/lirc/lircd
ExecStart=/usr/local/bin/lircvdr
ExecStop=/usr/bin/rm -rf /dev/lircd /var/run/lirc/lirc*.pid
Type=forking
PIDFile=/var/run/lirc/lircd.pid
[Install]
WantedBy=multi-user.target
And my /usr/local/bin/lircvdr:
#!/bin/bash
lircd -d `cat /proc/bus/input/devices | grep -A4 "TopSeed" | grep event | tail -n2 | awk 'NR==1' | sed 's/.*\(event[0-9]\+\).*/\/dev\/input\/\1/'` -H devinput --output=/dev/lircd1 --pidfile=/var/run/lirc/lircd1.pid --listen
lircd -d `cat /proc/bus/input/devices | grep -A4 "TopSeed" | grep event | tail -n2 | awk 'NR==2' | sed 's/.*\(event[0-9]\+\).*/\/dev\/input\/\1/'` -H devinput --output=/dev/lircd --pidfile=/var/run/lirc/lircd.pid --connect=localhost:8765
A little bit complicated, but finally it works.