Re: [RFT v2 2/2] USB: Free bandwidth when usb_disable_device is called.

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

 



On Wed, 15 Jun 2011, Sarah Sharp wrote:

> BTW, why do you want to have your UAS interface on a separate
> configuration instead of an alternate interface setting?  I'm not sure
> if the USB core driver matching code will look beyond the first
> configuration for a driver.
> 
> Alan, do you know if it does?

You're talking about the configuration-selection code, not the 
driver-matching code.

usb_choose_configuration() selects the first config it considers
acceptable, regardless of what drivers are available.  Both BOT and UAS 
would be acceptable, so it comes down to which descriptor occurs before 
the other.

If you want to use a different config, you have to switch the device
yourself, for example by writing to
/sys/bus/usb/devices/.../bConfigurationValue.

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