Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: 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
Comment by Jelle van der Waa (jelly) - Thursday, 05 December 2013, 18:57 GMT
Please report the bug upstream
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 06 February 2014, 23:58 GMT
  • Field changed: Summary (TopSeed Cyberlink remote doesn't work after 3.12 kernel upgrade → [linux] 3.12 TopSeed Cyberlink remote doesn't work)
  • Field changed: Status (Unconfirmed → Waiting on Response)
  • Field changed: Category (Packages: Core → Upstream Bugs)
  • Task assigned to Thomas Bächler (brain0), Tobias Powalowski (tpowa)
status with 3.13?
Comment by YP (knedlyk) - Friday, 07 February 2014, 00:21 GMT
It works, but I had to rewrite completely my setup. I created a new file /etc/sys/system/lirc.service with the following:

[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.

Loading...