Hi,

On Wed, 12 Sep 2007 18:44:23 +0200
Dan Johansson <[EMAIL PROTECTED]> wrote:

> I found myself a solution to this problem (I don't know if it's the best way 
> to do it but it works for me).
> 
> I added the following two files to my system:
> 
> # cat /etc/udev/rules.d/00-local.rules
> SUBSYSTEM=="usb", DRIVERS=="usb", 
> ATTRS{serial}=="2f11211b-0e00-0106-6800-0050bf7a660c",
> RUN+="/usr/local/bin/loox.udev"
> 
> # cat /usr/local/bin/loox.udev
> #!/bin/bash
> 
> if [ ${ACTION} == "add" ]
> then
>         echo "1" > /sys/${DEVPATH}/bConfigurationValue
> fi

I still admire your solution. I think it's exactly as the inventors
intended, so to speak. (/me makes note in brain on that
bConfigurationValue thingy)

-hwh

PS: Sorry for the noise, but since the "OT" was already in the subject
line ;-)
--
[EMAIL PROTECTED] mailing list

Reply via email to