On Tue, 30 May 2006 17:28:08 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> said:

  >> If so, could you give details about how udev should be configured
  >> (e.g., set bConfigurationValue through sysfs) ?

  Alan> That's exactly right.  The udev script should do something
  Alan> like this:

  Alan>         echo 1 >$DEVICEPATH/bConfigurationValue

I added

BUS=="usb", SYSFS{idProduct}=="001b", SYSFS{idVendor}=="0baf", PROGRAM="/bin/sh 
-c 'echo 1 > /sys/%p/device/bConfigurationValue'"

to udev rules (001b/0baf is USR5421 wireless network device from
U.S. Robotics). With this, device is now configured when plugged in,
device's probe function is called and everything works.

Thanks again,
Giri


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to