[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: R: beep on slug



Martin Michlmayr schrieb am Sonntag, 14. September 2008 10:30:

> * Martin Michlmayr <tbm@cyrius.com> [2008-09-13 11:06]:
>> > Martin/Joey, can we get this fixed before lenny is released?
>> 
>> I'm not sure who maintains nslu2-utils these days, but I agree it
>> would be worthwhile to fix this as well as the USB disk light bug.

Hello,
I don't have the mail with the disk light bug anymore, so I want answer
here.

I changed the udev rules like suggested to

SUBSYSTEM=="usb", DEVPATH=="*/usb1/1-[12]", ACTION=="add",
PROGRAM="/usr/bin/leds disk-%n on"
SUBSYSTEM=="usb", DEVPATH=="*/usb1/1-[12]", ACTION=="remove",
PROGRAM="/usr/bin/leds disk-%n off"

and first it worked for me but since yesterday it fails again.
I do not understand much of udev, but I think the bus number
is not constant.

Now again the following is working:
SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="add",
PROGRAM="/usr/bin/leds disk-%n on"
SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="remove",
PROGRAM="/usr/bin/leds disk-%n off"

Regards Michael


Reply to: