ts-7000
[Top] [All Lists]

[ts-7000] Re: USB initialization hangs (kernel 2.4.26-ts11)

To:
Subject: [ts-7000] Re: USB initialization hangs (kernel 2.4.26-ts11)
From: "Jesse Off" <>
Date: Mon, 02 Oct 2006 22:59:10 -0000
> I have monitored the board with a tester, and I have not found 
anything
> abnormal:
> - 4.97 volt stable
> - max 0.8 A

.8A is a lot of current for a TS-7XXX.  It should be between 370-
450mA IIRC.  Your USB modules must be drawing a lot of current (more 
than the board itself!)

> 
> The board, during the tests, had 2 bluetooth dongles plugged-in.
> 
> > Anything else you can tell us about the 
> > state of the board in "lock-up" -- LEDS, current draw, voltage 
across 
> > +/- power terminals, etc?
> >   
> When the kernel blocks, green led is on, while red led is off.

This sounds like a software hang then.  If the board had a power 
glitch, it would reset itself.  If the USB dongles drew too much 
power that the voltage too low, both LED's would be lighted and the 
CPU would stay in reset.

> >> I have discovered that there is an "old" (2004) NetBSD
> >> ep93xx-patch that seems fix this bug... but I haven't found 
nothing
> >> similar for Linux.
> >>     
> >
> > I'm not sure what patch you might be referring to, could you 
elaborate?
> >   
> I mean you patch to NetBSD
> (http://mail-index.netbsd.org/port-arm/2004/12/04/0000.html). 
Probably,
> I'm wrong, but your comment is "fixes USB initialization hang".

Ah, I vaguely remember that patch.  I think the USB *never* worked 
without that applied.  Had to do with the fact that somehow NetBSD's 
USB intr handler was invoked before the stack was fully initialized--
 the intr handler just returned without ack'ing the intr but since 
the intr was level triggered, the CPU just went back into the 
handler in an infinite loop.  I suppose this could be happening with 
Linux if theres a path through the driver-independent part of the 
USB stack's intr handler that returns without acknowledgin the IRQ.  
You might add a line similar to whats in the NetBSD patch to Linux's 
USB irq handler.  Does this only happen at bootup/USB initialization?

> 
> I think that this is not a power supply problem. I have also tried 
an
> usb hub with external power supply, but the problem persists. Have 
you
> any other idea/suggestion?


//Jesse Off






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: USB initialization hangs (kernel 2.4.26-ts11), Jesse Off <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU