Bind usb device to another class driver

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

 



hi all:
I have read the article below and try to do the same operation on my device.
http://lwn.net/Articles/143397/

My environment:
1. my kernel is 3.16
2. device descriptor is attached.
3. below are my operation logs:
   # echo -n "4-2:1.0" > /sys/bus/usb/drivers/uas/unbind
   # echo -n "4-2:1.0" > /sys/bus/usb/drivers/usb-storage/unbind
   bash: echo: write error: No such device
   #

My questions:
1. is there anything I need to do, such as PCI driver, before bind to
usb-storage driver?
2. I can check whether the usb device is bound to specific driver
through "cat /sys/kernel/debug/usb/devices".
   is there any alternative way to do so? how about other drivers,
except usb, to let user know whether the binding/unbinding
successfully and which device is bound to  which driver?

thanks for your help in advance,

Attachment: usb_hd_desc.tar.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux