And some more information from Michael [1].

---
Hello,
as I wrote in my last mail, I really think the bus numbers are changing.
So I think the patch by Gordon is at least not enough.

#ls /sys/bus/usb/devices
1-0:1.0
1-1
1-1:1.0
1-2
1-2:1.0
1-2.4
1-2.4:1.0
2-0:1.0
3-0:1.0
usb1
usb2
usb3

#halt
(start the slug again then)

#ls /sys/bus/usb/devices
1-0:1.0
2-0:1.0
3-0:1.0
3-1
3-1:1.0
3-2
3-2:1.0
3-2.4
3-2.4:1.0
usb1
usb2
usb3

Maybe I am wrong, but do you see the difference with the filenames
without the end of :1.0,
first 1-1, 1-2 and 1-2.4
then 3-1, 3-2 and 3-2.4?

My udev rules seems to work:
SUBSYSTEM=="usb", DEVPATH=="*/[13]-[12]", ACTION=="add",
PROGRAM="/usr/bin/leds disk-%n on"
SUBSYSTEM=="usb", DEVPATH=="*/[13]-[12]", ACTION=="remove",
PROGRAM="/usr/bin/leds disk-%n off"

And I did not add similar rules regarding the slow hub.

Regards Michael
---

Gordon

[1] http://lists.debian.org/debian-arm/2008/09/msg00087.html

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to