hi Greg:

2014-08-30 2:31 GMT+08:00 Greg KH <g...@kroah.com>:
> On Fri, Aug 29, 2014 at 11:18:39AM +0800, vichy wrote:
>> 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
>
> You unbound your device from two different drivers?  Of course the
> second one doesn't work, it's not bound there :)
sorry for my typo ^^
BTW, is bind/unbind a part of bus driver call backs, since I only find
them in /sys/bus.
If so,
# pwd
/sys
# find ./ -name 'unbind'
./bus/cpu/drivers/processor/unbind
./bus/i2c/drivers/rc5t583/unbind
./bus/i2c/drivers/smsc/unbind
./bus/i2c/drivers/88PM860x/unbind
./bus/i2c/drivers/dummy/unbind
......

appreciate all your kind help,
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to