You are not logged in.

#1 2008-06-02 16:38:53

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

IR-Device changing its address continously

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)

Offline

#2 2008-06-03 02:57:28

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: IR-Device changing its address continously

Hi.

I may be completely wrong about this, but I think maybe udev can help you.

Offline

#3 2008-06-03 04:51:32

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: IR-Device changing its address continously

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

#4 2008-06-03 07:57:30

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: IR-Device changing its address continously

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

#5 2008-06-03 11:24:18

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: IR-Device changing its address continously

@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

Offline

#6 2008-06-03 15:57:22

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: IR-Device changing its address continously

For general guide on udev rules (i know, it's long, but...) http://www.reactivated.net/writing_udev_rules.html

Offline

#7 2008-06-03 16:41:41

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: IR-Device changing its address continously

ok, thanks! Just did not know, how to get the serial. Will report if it worked, after I started the computer the next time! ^^

Offline

#8 2008-06-04 09:27:52

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: IR-Device changing its address continously

Seems to work.

Offline

#9 2008-06-26 21:11:48

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: IR-Device changing its address continously

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

Offline

Board footer

Powered by FluxBB