On Mon, 9 Feb 2004, Paul Fulghum wrote:

>  > Below is a patch to the current 2.6 driver that
>  > implements the other scheme. If you still have the
>  > computer you were using back then, could you give
>  > it a try?
> 
> I still have the machine. It may take a day
> or two to setup the test.
> 
> I'll let you know what I find.

Good, and thanks.

As a second test, you could try changing the resume_allowed() routine so 
that it simply checks for a connected port, regardless of any overcurrent 
condition.  In other words, change the line

+               if (!(st & USBPORTSC_OC) && (st & USBPORTSC_CCS))

in the patch to

+               if (st & USBPORTSC_CCS)

I think that will work just as well, since the hardwired unused ports
don't indicate that they are connected.  Also it gets around any problems
about different vendors not following Intel's lead for the way they report
overcurrent in the port status registers.

Alan Stern



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to