USB problem on beagleboard clone

2012-09-14 Thread Maximilian Schwerin
Hi all,

we've designed two beagle board clones (two different layouts) for a customer. 
After quite some time without any problems they are now seeing USB problems on 
some of the boards. I have so far not been able to reproduce the problem...

The USB port of the OMAP the problems appear on is connected through a TPS65950 
to a LAN9514 USB Hub + Ethernet Chip. Attached is the kernel output. I'm not 
even sure if this is related to our board, or if this might be a misbehaving 
device?!

If someone has an idea what this could be and what I could do to fix or at 
least further debug the problem please speak up.

Cheers and thanks,

Maximilian Schwerin.

__

 Maximilian Schwerin | maximilian.schwe...@tigris.de

 Tigris Elektronik GmbH | Wikingerufer 7 | 10555 Berlin, Germany | 
http://www.tigris.de
 Tel: +49 (30) 301048-30 | Fax: +49 (30) 301048-59

 Geschäftsführer/CEO: Henry Westphal, Guido Kuhlmann
 Sitz der Gesellschaft/Company's registered office: Berlin
 Amtsgericht/Register: Berlin-Charlottenburg, HRB 71737

 PGP-Keys: mailto:p...@tigris.de
__


pgp0FTZs8qr9R.pgp
Description: PGP signature


AW: USB problem on beagleboard clone

2012-09-14 Thread Maximilian Schwerin
Sorry :-( With log now.

> -Ursprüngliche Nachricht-
> Von: linux-usb-ow...@vger.kernel.org 
> [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> Maximilian Schwerin
> Gesendet: Freitag, 14. September 2012 14:26
> An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> 
> Hi all,
> 
> we've designed two beagle board clones (two different 
> layouts) for a customer. After quite some time without any 
> problems they are now seeing USB problems on some of the 
> boards. I have so far not been able to reproduce the problem...
> 
> The USB port of the OMAP the problems appear on is connected 
> through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> Attached is the kernel output. I'm not even sure if this is 
> related to our board, or if this might be a misbehaving device?!
> 
> If someone has an idea what this could be and what I could do 
> to fix or at least further debug the problem please speak up.
> 
> Cheers and thanks,
> 
> Maximilian Schwerin.


USB_failures.log
Description: USB_failures.log


pgpH7fJDZixwI.pgp
Description: PGP signature


Re: USB problem on beagleboard clone

2012-09-14 Thread Felipe Balbi
Hi,

On Fri, Sep 14, 2012 at 02:57:49PM +0200, Maximilian Schwerin wrote:
> Sorry :-( With log now.
> 
> > -Ursprüngliche Nachricht-
> > Von: linux-usb-ow...@vger.kernel.org 
> > [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> > Maximilian Schwerin
> > Gesendet: Freitag, 14. September 2012 14:26
> > An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> > 
> > Hi all,
> > 
> > we've designed two beagle board clones (two different 
> > layouts) for a customer. After quite some time without any 
> > problems they are now seeing USB problems on some of the 
> > boards. I have so far not been able to reproduce the problem...
> > 
> > The USB port of the OMAP the problems appear on is connected 
> > through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> > Attached is the kernel output. I'm not even sure if this is 
> > related to our board, or if this might be a misbehaving device?!
> > 
> > If someone has an idea what this could be and what I could do 
> > to fix or at least further debug the problem please speak up.

I have never seen that error before on any of the boards I have. One
question though, if the port is always Host, why are you using the OTG
subsystem instead of the actual Host Subsystem which has an EHCI
controller ?

-- 
balbi


signature.asc
Description: Digital signature


Re: USB problem on beagleboard clone

2012-09-14 Thread Felipe Balbi
Hi again,

On Fri, Sep 14, 2012 at 04:07:56PM +0300, Felipe Balbi wrote:
> On Fri, Sep 14, 2012 at 02:57:49PM +0200, Maximilian Schwerin wrote:
> > Sorry :-( With log now.
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: linux-usb-ow...@vger.kernel.org 
> > > [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> > > Maximilian Schwerin
> > > Gesendet: Freitag, 14. September 2012 14:26
> > > An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > > Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> > > 
> > > Hi all,
> > > 
> > > we've designed two beagle board clones (two different 
> > > layouts) for a customer. After quite some time without any 
> > > problems they are now seeing USB problems on some of the 
> > > boards. I have so far not been able to reproduce the problem...
> > > 
> > > The USB port of the OMAP the problems appear on is connected 
> > > through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> > > Attached is the kernel output. I'm not even sure if this is 
> > > related to our board, or if this might be a misbehaving device?!
> > > 
> > > If someone has an idea what this could be and what I could do 
> > > to fix or at least further debug the problem please speak up.
> 
> I have never seen that error before on any of the boards I have. One
> question though, if the port is always Host, why are you using the OTG
> subsystem instead of the actual Host Subsystem which has an EHCI
> controller ?

Which kernel are you using ? Have you tried with v3.5 or something more
recent ?

-- 
balbi


signature.asc
Description: Digital signature


AW: USB problem on beagleboard clone

2012-09-14 Thread Maximilian Schwerin
Hi,

> -Ursprüngliche Nachricht-
> Von: Felipe Balbi [mailto:ba...@ti.com] 
> Gesendet: Freitag, 14. September 2012 15:08
> An: Maximilian Schwerin
> Cc: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> Betreff: Re: USB problem on beagleboard clone (PGP: Plain, 
> Unable to verify signature)
> 
> Hi,
> 
> On Fri, Sep 14, 2012 at 02:57:49PM +0200, Maximilian Schwerin wrote:
> > Sorry :-( With log now.
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: linux-usb-ow...@vger.kernel.org 
> > > [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> > > Maximilian Schwerin
> > > Gesendet: Freitag, 14. September 2012 14:26
> > > An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > > Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> > > 
> > > Hi all,
> > > 
> > > we've designed two beagle board clones (two different 
> > > layouts) for a customer. After quite some time without any 
> > > problems they are now seeing USB problems on some of the 
> > > boards. I have so far not been able to reproduce the problem...
> > > 
> > > The USB port of the OMAP the problems appear on is connected 
> > > through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> > > Attached is the kernel output. I'm not even sure if this is 
> > > related to our board, or if this might be a misbehaving device?!
> > > 
> > > If someone has an idea what this could be and what I could do 
> > > to fix or at least further debug the problem please speak up.
> 
> I have never seen that error before on any of the boards I have. One
> question though, if the port is always Host, why are you using the OTG
> subsystem instead of the actual Host Subsystem which has an EHCI
> controller ?
> 
> -- 
> balbi
> 

I'm still on 3.3 but am planing to go to a newer version. We used the OTG port 
so we would not need another chip on a rather small board.

Cheers, m.


pgp0DDvnCmyjj.pgp
Description: PGP signature


Re: USB problem on beagleboard clone

2012-09-14 Thread Felipe Balbi
On Fri, Sep 14, 2012 at 03:21:47PM +0200, Maximilian Schwerin wrote:
> Hi,
> 
> > -Ursprüngliche Nachricht-
> > Von: Felipe Balbi [mailto:ba...@ti.com] 
> > Gesendet: Freitag, 14. September 2012 15:08
> > An: Maximilian Schwerin
> > Cc: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > Betreff: Re: USB problem on beagleboard clone (PGP: Plain, 
> > Unable to verify signature)
> > 
> > Hi,
> > 
> > On Fri, Sep 14, 2012 at 02:57:49PM +0200, Maximilian Schwerin wrote:
> > > Sorry :-( With log now.
> > > 
> > > > -Ursprüngliche Nachricht-
> > > > Von: linux-usb-ow...@vger.kernel.org 
> > > > [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> > > > Maximilian Schwerin
> > > > Gesendet: Freitag, 14. September 2012 14:26
> > > > An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > > > Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> > > > 
> > > > Hi all,
> > > > 
> > > > we've designed two beagle board clones (two different 
> > > > layouts) for a customer. After quite some time without any 
> > > > problems they are now seeing USB problems on some of the 
> > > > boards. I have so far not been able to reproduce the problem...
> > > > 
> > > > The USB port of the OMAP the problems appear on is connected 
> > > > through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> > > > Attached is the kernel output. I'm not even sure if this is 
> > > > related to our board, or if this might be a misbehaving device?!
> > > > 
> > > > If someone has an idea what this could be and what I could do 
> > > > to fix or at least further debug the problem please speak up.
> > 
> > I have never seen that error before on any of the boards I have. One
> > question though, if the port is always Host, why are you using the OTG
> > subsystem instead of the actual Host Subsystem which has an EHCI
> > controller ?
> > 
> > -- 
> > balbi
> > 
> 
> I'm still on 3.3 but am planing to go to a newer version. We used the
> OTG port so we would not need another chip on a rather small board.

And which chip are you talking about ? You already have LAN9514 on your
board anyway...

-- 
balbi


signature.asc
Description: Digital signature


AW: USB problem on beagleboard clone

2012-09-14 Thread Maximilian Schwerin
> -Ursprüngliche Nachricht-
> Von: Felipe Balbi [mailto:ba...@ti.com] 
> Gesendet: Freitag, 14. September 2012 15:19
> An: Maximilian Schwerin
> Cc: ba...@ti.com; linux-o...@vger.kernel.org; 
> linux-usb@vger.kernel.org
> Betreff: Re: USB problem on beagleboard clone (PGP: Plain, 
> Unable to verify signature)
> 
> On Fri, Sep 14, 2012 at 03:21:47PM +0200, Maximilian Schwerin wrote:
> > Hi,
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: Felipe Balbi [mailto:ba...@ti.com] 
> > > Gesendet: Freitag, 14. September 2012 15:08
> > > An: Maximilian Schwerin
> > > Cc: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > > Betreff: Re: USB problem on beagleboard clone (PGP: Plain, 
> > > Unable to verify signature)
> > > 
> > > Hi,
> > > 
> > > On Fri, Sep 14, 2012 at 02:57:49PM +0200, Maximilian 
> Schwerin wrote:
> > > > Sorry :-( With log now.
> > > > 
> > > > > -Ursprüngliche Nachricht-
> > > > > Von: linux-usb-ow...@vger.kernel.org 
> > > > > [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von 
> > > > > Maximilian Schwerin
> > > > > Gesendet: Freitag, 14. September 2012 14:26
> > > > > An: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> > > > > Betreff: USB problem on beagleboard clone (PGP: Plain, Signed)
> > > > > 
> > > > > Hi all,
> > > > > 
> > > > > we've designed two beagle board clones (two different 
> > > > > layouts) for a customer. After quite some time without any 
> > > > > problems they are now seeing USB problems on some of the 
> > > > > boards. I have so far not been able to reproduce the 
> problem...
> > > > > 
> > > > > The USB port of the OMAP the problems appear on is connected 
> > > > > through a TPS65950 to a LAN9514 USB Hub + Ethernet Chip. 
> > > > > Attached is the kernel output. I'm not even sure if this is 
> > > > > related to our board, or if this might be a 
> misbehaving device?!
> > > > > 
> > > > > If someone has an idea what this could be and what I could do 
> > > > > to fix or at least further debug the problem please speak up.
> > > 
> > > I have never seen that error before on any of the boards 
> I have. One
> > > question though, if the port is always Host, why are you 
> using the OTG
> > > subsystem instead of the actual Host Subsystem which has an EHCI
> > > controller ?
> > > 
> > > -- 
> > > balbi
> > > 
> > 
> > I'm still on 3.3 but am planing to go to a newer version. 
> We used the
> > OTG port so we would not need another chip on a rather small board.
> 
> And which chip are you talking about ? You already have 
> LAN9514 on your
> board anyway...
> 
> -- 
> balbi
> 

How would I connect the OMAP to the LAN9514 without a PHY?

m.


pgpVYyiE5KsRk.pgp
Description: PGP signature


Re: USB problem on beagleboard clone

2012-09-14 Thread Felipe Balbi
Hi,

On Fri, Sep 14, 2012 at 03:38:56PM +0200, Maximilian Schwerin wrote:
> > > > I have never seen that error before on any of the boards 
> > I have. One
> > > > question though, if the port is always Host, why are you 
> > using the OTG
> > > > subsystem instead of the actual Host Subsystem which has an EHCI
> > > > controller ?
> > > > 
> > > > -- 
> > > > balbi
> > > > 
> > > 
> > > I'm still on 3.3 but am planing to go to a newer version. 
> > We used the
> > > OTG port so we would not need another chip on a rather small board.
> > 
> > And which chip are you talking about ? You already have 
> > LAN9514 on your
> > board anyway...
> > 
> > -- 
> > balbi
> > 
> 
> How would I connect the OMAP to the LAN9514 without a PHY?

Fair enough.. for whatever reason I assumed you had external PHY with
MUSB. But seems like you're using the internal PHY...

Anyway, please check with my tree (see MAINTAINERS file), either master
branch or musb branch and let me know if you have the same behavior.

-- 
balbi


signature.asc
Description: Digital signature


Re: USB problem on beagleboard clone

2012-09-18 Thread Paul Walmsley
Hi

On Fri, 14 Sep 2012, Maximilian Schwerin wrote:

> we've designed two beagle board clones (two different layouts) for a 
> customer. After quite some time without any problems they are now seeing 
> USB problems on some of the boards. I have so far not been able to 
> reproduce the problem...
> 
> The USB port of the OMAP the problems appear on is connected through a 
> TPS65950 to a LAN9514 USB Hub + Ethernet Chip. Attached is the kernel 
> output. I'm not even sure if this is related to our board, or if this 
> might be a misbehaving device?!
> 
> If someone has an idea what this could be and what I could do to fix or 
> at least further debug the problem please speak up.

Are these BeagleBoard 3530 or BeagleBoard XM 3730 clones?

- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


AW: USB problem on beagleboard clone

2012-09-18 Thread Maximilian Schwerin
Hi,

> -Ursprüngliche Nachricht-
> Von: linux-usb-ow...@vger.kernel.org 
> [mailto:linux-usb-ow...@vger.kernel.org] Im Auftrag von Paul Walmsley
> Gesendet: Mittwoch, 19. September 2012 03:24
> An: Maximilian Schwerin
> Cc: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> Betreff: Re: USB problem on beagleboard clone
> 
> Hi
> 
> On Fri, 14 Sep 2012, Maximilian Schwerin wrote:
> 
> > we've designed two beagle board clones (two different 
> layouts) for a 
> > customer. After quite some time without any problems they 
> are now seeing 
> > USB problems on some of the boards. I have so far not been able to 
> > reproduce the problem...
> > 
> > The USB port of the OMAP the problems appear on is 
> connected through a 
> > TPS65950 to a LAN9514 USB Hub + Ethernet Chip. Attached is 
> the kernel 
> > output. I'm not even sure if this is related to our board, 
> or if this 
> > might be a misbehaving device?!
> > 
> > If someone has an idea what this could be and what I could 
> do to fix or 
> > at least further debug the problem please speak up.
> 
> Are these BeagleBoard 3530 or BeagleBoard XM 3730 clones?
> 
> - Paul
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-usb" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

They're BeagleBoard XM clones. We're still trying to find out what the real 
problem is. The problem persists across three separate layouts using the same 
USB device and application. We're currently trying to see if this is related to 
MUSB only by using an EHCI port on the same board with the same device and 
application.

Regards, m.


pgpaDvtvSobKx.pgp
Description: PGP signature


Re: AW: USB problem on beagleboard clone

2012-09-19 Thread Paul Walmsley
On Wed, 19 Sep 2012, Maximilian Schwerin wrote:

> They're BeagleBoard XM clones. We're still trying to find out what the 
> real problem is. The problem persists across three separate layouts 
> using the same USB device and application. We're currently trying to see 
> if this is related to MUSB only by using an EHCI port on the same board 
> with the same device and application.

Perhaps you might try this patch:

http://marc.info/?l=linux-omap&m=132976109928744&w=2

Background is here:

http://comments.gmane.org/gmane.linux.ports.arm.omap/71633

The patch is for an EHCI issue, but MUSB is clocked from the same DPLL.


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


AW: AW: USB problem on beagleboard clone

2012-09-20 Thread Maximilian Schwerin
> -Ursprüngliche Nachricht-
> Von: Paul Walmsley [mailto:p...@pwsan.com] 
> Gesendet: Mittwoch, 19. September 2012 18:07
> An: Maximilian Schwerin
> Cc: linux-o...@vger.kernel.org; linux-usb@vger.kernel.org
> Betreff: Re: AW: USB problem on beagleboard clone
> 
> On Wed, 19 Sep 2012, Maximilian Schwerin wrote:
> 
> > They're BeagleBoard XM clones. We're still trying to find 
> out what the 
> > real problem is. The problem persists across three separate layouts 
> > using the same USB device and application. We're currently 
> trying to see 
> > if this is related to MUSB only by using an EHCI port on 
> the same board 
> > with the same device and application.
> 
> Perhaps you might try this patch:
> 
> http://marc.info/?l=linux-omap&m=132976109928744&w=2
> 
> Background is here:
> 
> http://comments.gmane.org/gmane.linux.ports.arm.omap/71633
> 
> The patch is for an EHCI issue, but MUSB is clocked from the 
> same DPLL.
> 
> 
> - Paul
> 

Thanks for the hint. I had this in my 3.2 kernel which also failed. I'll try if 
adding this to 3.6 has any effect.


pgpyjT758fz5b.pgp
Description: PGP signature