USB device configuration

Hans Petter Selasky hps at bitfrost.no
Thu Oct 10 06:30:10 UTC 2013


Hi,

On 10/09/13 20:11, aseem.jolly wrote:
> I couldn't really get the meaning of the following
> "Anyhow, if a second configure event fails after a successful one, we are
> still in the configured state".

It is allowed to set the configuration multiple times. Refer to USB 
2.0 specification.

>
> Are we making the following change
>
> done:
>        if (err)
>         unconfigure();
>        else
>         usb_set_device_state(udev, USB_STATE_CONFIGURED);

I have to do some more testing. Is this making a difference for you?

Right now 10-current is in a code-freeze, so you would have to remind me 
about this a bit later on.

Thank you for your comments!

--HPS



More information about the freebsd-usb mailing list