Re: [PATCH] usb/uas: only bind if the hcd supports SG

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

 



On Wed, 11 Jan 2012, Sebastian Andrzej Siewior wrote:

> On 01/11/2012 04:55 PM, Alan Stern wrote:
> > Hmmm, apparently nobody has yet modified usb-storage to skip devices
> > with a UAS altsetting.  When that gets added, we'll have to remember
> > not to skip such devices if the HCD doesn't support SG (or if
> > CONFIG_UAS isn't set, obviously).
> 
> So you would prefer to handle this in kernel instead of in userland via
> usb_modeswitch?

Is there any reason not to?

BTW, do you know how usb-modeswitch handles these devices?  The only 
approach I can think of would be to unbind the interface from 
usb-storage (via sysfs) and bind it to uas.  Is usb-modeswitch smart 
enough to switch back to usb-storage if uas fails to bind?

Alan Stern

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