You are not logged in.
Hi!
As mentioned in the subject, I got a little problem with lirc. The IR-Receiver is the one from the ASUS P5E3-Mainboard (dmesg says "T-wins ASUS DH Remote").
My problem: With every bootup it randomly changes its address from /dev/usb/hiddev0 to /dev/usb/hiddev1 or backwards. I say randomly, because sometimes it stays for several boots at the same address and then it changes every boot again. Is there any possibilty to tell lircd to try both ports?
Last edited by Flying Saxman (2008-06-26 21:08:31)
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
Hi.
I may be completely wrong about this, but I think maybe udev can help you.
Offline
Check in /dev/* - I think there should be also other symlinks - like 'by-path' or 'by-device', and they shouldn't change over reboots. [All created by udev. And as tigrmesh says, you can edit udev rules to always create the same symlinks for your ir-device.]
Offline
You can create a /etc/udev/rules.d/00-local.rules and put something like the following in
# Persmissons for remote
SUBSYSTEMS=="usb", ATTRS{serial}=="4028651622", SYMLINK+="input/irdev"
Album reviews (in german): http://schallwelle.filzo.de
Offline
@bender02: Unfortunately they do not exist...
@susu: What would this rule exactly look like? I'm totally new to this!
#dmesg |grep hiddev
usbcore: registered new interface driver hiddev
hiddev0hidraw2: USB HID v1.10 Device [T-wins ASUS DH Remote] on usb-0000:00:1a.2-2
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
For general guide on udev rules (i know, it's long, but...) http://www.reactivated.net/writing_udev_rules.html
Offline
ok, thanks! Just did not know, how to get the serial. Will report if it worked, after I started the computer the next time! ^^
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
Seems to work.
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
Sorry for tripple-posting but no one would recognize that the topic has changed and I got new information, if I just edited my last post.
So: Sorry, but it did NOT work. IRKick says that it found an IR-receiver but in reality it just finds a dummy if I use the udev-rule and configure lirc to use the device the rule created. So the problem is still existent.
(sorry for my bad english this evening but I'm very tired and almost asleep already...)
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline