On Sun, 10 Oct 2004, David Brownell wrote:

> If you've been having problems with some of your USB devices
> not enumerating correctly, with "not accepting address" messages,
> please give this patch a try.  It resolved the problem for me, and
> I could believe it would work for at least some other cases too.

> --- a/drivers/usb/core/hub.c    2004-10-10 18:09:20 -07:00
> +++ b/drivers/usb/core/hub.c    2004-10-10 18:09:20 -07:00
> @@ -1981,6 +2013,8 @@
>                 NULL, 0, HZ * USB_CTRL_SET_TIMEOUT);
>         if (retval == 0)
>                 usb_set_device_state(udev, USB_STATE_ADDRESS);
> +       usb_disable_endpoint(udev, 0 + USB_DIR_OUT);
> +       udev->epmaxpacketout[0] = udev->epmaxpacketin [0];
>         return retval;
>  }


Interesting -- this may interact with the MS-style device initialization 
patch.  Why did you only disable the OUT direction?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to