Re: [vdr] inputlirc with devices referenced by /dev/input/by-id/...
http://wiki.xbmc.org/index.php?title=HOW-TO:Configure_VRC-1100_remote_for_Ubuntu but it didn't work. after restarting udev, there was no device Hello, my rule is as simple as: - /etc/udev/rules.d/10-lirc.rules KERNEL==event*, ATTRS{name}==Mantis VP-1041 IR Receiver, SYMLINK=input/irremote If you like me have a single device maybe give it another try, ignoring most of that wiki? It's an easy and reliable method. -- Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618 PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] inputlirc with devices referenced by /dev/input/by-id/...
i created a workaround with the following S19... startup script: #!/bin/sh cat /tmp/RecreateLircConfig.java DELIM import java.nio.file.*; public class RecreateLircConfig { public static void main(String[] args) throws Exception { Path path1 = Paths.get(/dev/input/by-id/usb-05a4_9881-event-kbd); Path path2 = Paths.get(/dev/input/by-id/usb-05a4_9881-if01-event-mouse); System.out.println(# Options to be passed to inputlirc.); System.out.printf(EVENTS=\%s %s\%n, path1.toRealPath(), path2.toRealPath()); System.out.println(OPTIONS=\-g -m 0 -c\); } } DELIM javac -d /tmp /tmp/RecreateLircConfig.java #java -cp /tmp RecreateLircConfig java -cp /tmp RecreateLircConfig /etc/default/inputlirc to execute the script, the deb openjdk-7-jdk is needed 2013/7/28 Peter Münster pmli...@free.fr On Sat, Jul 27 2013, Rainer Blickle wrote: inputlirc starts and works as expected. unfortunately the device (event2/3) changes from reboot to reboot. Hi, There is this function in my run-vdr script, perhaps it can help: --8---cut here---start-8--- reload-dvb() { killall irxevent lircd sleep 1 killall -9 irxevent lircd modprobe -r $DVB_DRIVERS sleep 1 for i in $DVB_DRIVERS; do modprobe $i; done sleep 3 EV=`ir-keytable 21 | grep -B1 tevii | \ sed -nr 's,^.*/dev/input/(event.).*$,\1,p'` ln -sf $EV $IR chmod 644 $IR sleep 3 lircd -Hdevinput -d$IR sleep 1 irxevent -d ~vdr/.lircrc } --8---cut here---end---8--- -- Peter ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] inputlirc with devices referenced by /dev/input/by-id/...
Hi, i have the following problem: With Ubuntu 12.04 inputlirc doesn't work anymore when using the symlics under /dev/input/by-id/... I have a Hama IR Remote, the symlinks for the remote are: /dev/input/by-id/usb-05a4_9881-event-kbd - ../event2 /dev/input/by-id/usb-05a4_9881-if01-event-mouse - ../event3 When using this links in /etc/default/inputlirc like the following ## EVENTS=/dev/input/by-id/usb-05a4_9881* OPTIONS=-g -m 0 -c ## then inputlirc doesn't start. With the following content: ## EVENTS=/dev/input/event2 /dev/input/event3 OPTIONS=-g -m 0 -c ## inputlirc starts and works as expected. unfortunately the device (event2/3) changes from reboot to reboot. The upper version of the config (with by-id) has been worked under ubuntu 10.10 without any problem. I have tried to create static device names with the manual under http://wiki.xbmc.org/index.php?title=HOW-TO:Configure_VRC-1100_remote_for_Ubuntu;, but it didn't work. after restarting udev, there was no device /dev/input/irremote0 is it a known bug that lirc doesn't work with by-id device names ? Have any other the same problem ? Regards, Rainer ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr