Re: Bind usb device to another class driver

2014-08-31 Thread Alan Stern
On Sun, 31 Aug 2014, vichy wrote: > >> My questions: > >> 1. is there anything I need to do, such as PCI driver, before bind to > >> usb-storage driver? > > > > Normally, if uas will bind to a device then usb-storage won't. You can > > change this by using a module paramter for usb-storage: > > >

Re: Bind usb device to another class driver

2014-08-31 Thread vichy
hi Greg: 2014-08-30 2:31 GMT+08:00 Greg KH : > 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

Re: Bind usb device to another class driver

2014-08-31 Thread vichy
hi alan: 2014-08-29 22:54 GMT+08:00 Alan Stern : > On Fri, 29 Aug 2014, 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. >>

Re: Bind usb device to another class driver

2014-08-29 Thread Greg KH
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: >#

Re: Bind usb device to another class driver

2014-08-29 Thread Alan Stern
On Fri, 29 Aug 2014, 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" >

Bind usb device to another class driver

2014-08-28 Thread vichy
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