Re: Bind usb device to another class driver

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

 



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 :)

See Alan's response for a better explanation of how to do this
properly.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux