Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 08:31:23 +0200
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        "aseem.jolly" <aseem.jolly@gmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB device configuration
Message-ID:  <525649BB.2060906@bitfrost.no>
In-Reply-To: <1381342263797-5850596.post@n5.nabble.com>
References:  <1381274499940-5850403.post@n5.nabble.com> <5254FD72.2050507@bitfrost.no> <1381342263797-5850596.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525649BB.2060906>