Hallo,
wegen wechselnder Devices muss ich mit udev eigene Symlinks erstellen.
# cat /proc/bus/input/devices ... I: Bus=0001 Vendor=0070 Product=6906 Version=0001 N: Name="cx88 IR (Hauppauge WinTV-HVR400" P: Phys=pci-0000:04:06.0/ir0 S: Sysfs=/devices/pci0000:00/0000:00:14.4/0000:04:06.0/input/input6 U: Uniq= H: Handlers=kbd event6 B: EV=100003 B: KEY=100fc312 214a80200000000 0 18000 41a800004801 9e168000000000 10000ffc I: Bus=0001 Vendor=0070 Product=6906 Version=0001 N: Name="cx88 IR (Hauppauge WinTV-HVR400" P: Phys=pci-0000:04:08.0/ir0 S: Sysfs=/devices/pci0000:00/0000:00:14.4/0000:04:08.0/input/input7 U: Uniq= H: Handlers=kbd event7 B: EV=100003 B: KEY=100fc312 214a80200000000 0 18000 41a800004801 9e168000000000 10000ffc
Als Regel habe ich erstellt:
# cat /etc/udev/rules.d/99-local.rules KERNEL=="event*",ATTRS{phys}=="pci-0000:04:06.2/ir0",SYMLINK+="input/ira" KERNEL=="event*",ATTRS{phys}=="pci-0000:04:08.2/ir0",SYMLINK+="input/irb"
Aber die Devices /dev/input/ir* werden nicht erstellt. 😕
Was läuft schief?
Aus dem udev-Log:
# grep event /var/log/udev ... KERNEL[1281610790.956251] add /devices/pci0000:00/0000:00:14.4/0000:04:06.0/input/input6/event6 (input) DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:04:06.0/input/input6/event6 DEVNAME=input/event6 KERNEL[1281610791.209715] add /devices/pci0000:00/0000:00:14.4/0000:04:08.0/input/input7/event7 (input) DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:04:08.0/input/input7/event7 DEVNAME=input/event7 UDEV [1281610791.215382] add /devices/pci0000:00/0000:00:14.4/0000:04:06.0/input/input6/event6 (input) DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:04:06.0/input/input6/event6 DEVNAME=/dev/input/event6 UDEV [1281610791.226824] add /devices/pci0000:00/0000:00:14.4/0000:04:08.0/input/input7/event7 (input) DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:04:08.0/input/input7/event7 DEVNAME=/dev/input/event7
Zur Not stricke ich mir in /etc/rc.local ein eigenes Script, aber elegant ist was anderes...
Bin für jede Hilfe dankbar...