Marcel Holtmann wrote:
I found out that usb_set_configuration() was removed from the USB API by
you. ...
it is not exported anymore and that is my problem.
Oh, sorry. That was so long ago! Nobody was using it
outside of usbcore.
Your firmware load
isn't the "load then re-enumerate" type, right?
It was my plan to do it this way. The firmware must be loaded in
configuration 1 and then you have to switch to configuration 2 for the
running state. No endpoints are changed. I don't yet know if it will
re-enumerate.
Hmm, if it can't re-enumerate that'd seem like a bug in the firmware.
Normally one expects that loading firmware makes some externally
visible changes ... either device descriptor changes, or config
descriptor changes, or both.
What happens if you usb_reset_device() after loading the firmware?
Ideally that'd turn up new descriptors and the device could be made
to select the "right" config right away.
- Dave
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel