On Sun, May 01, 2005 at 07:00:58PM -0700, David Brownell wrote:
> Sounds like that hub is making trouble.  Does it work without the I/O
> board?  How about on other hardware?  There are some devices, including
> some hubs, that just don't work very well ... and hubs are often happier
> with power supplies.

The site closed for the day, and I was able to poke at it more actively. I
found a missing piece of the puzzle: if one of the lights is lit, the hub
flakes out as in the previous logs, and it works fine if not lit.  EMI issue,
probably; it's a neon light.  There are no visible problems with the USB hub
removed.

So, the noise from the light screws up the USB hub; khubd keeps trying
to reinit it; and somewhere along the line, the I/O times out, too.  The
code gets the timeout, closes the device and tries to reopen it, which
hangs (presumably due to khubd being busy trying to reinit that hub).

So the remaining question is--why is the I/O timing out?  That didn't
happen with our last release, which used a 2.4 kernel (.26, I think).
If that doesn't happen, we never hit the enumeration locks and everything
(except for the USB hub--less important) continues to work.  I'm not
sure how to diagnose further.

If I comment out the debounce code entirely, the hub still flakes out,
but the IO device always keeps working (presumably this would cause flakiness
with other devices, but it does let me regain access to the device to
turn off the light and wake things back up).  Maybe that's a hint.

(As for the lights, I'll pass that on to the engineering side and see
if they can fix that, too, but this is a "kit" machine, running on arcade
hardware already in the field that we don't manufacture, and this is a
regression from our last release, so fixing the timeout is important.)

-- 
Glenn Maynard


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to