* omap: USB host disconnects connecting a device through USB HUB
@ 2011-04-07 9:33 Enric Balletbò i Serra
[not found] ` <BANLkTim4FNNH3MfbEAwwpGzGvvLARWW+KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Enric Balletbò i Serra @ 2011-04-07 9:33 UTC (permalink / raw)
To: linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-usb-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi
Hi all,
I'm experimenting some issues with USB on IGEP v2 board, in certain
cases I've an USB disconnect when I plug a device. For me it fails
with kernel 2.6.35 but I think it also affect newer kernel, the issue
is easy to reproduce following these steps:
1. Power up the board (without any device connected )
2. When kernel is up, connect a powered USB HUB 2.0 to the USB host
port, kernel shows,
usb 1-1: new high speed USB device using ehci-omap and address 2
usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB2.0 Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.4: new high speed USB device using ehci-omap and address 3
usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0608
usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.4: Product: USB2.0 Hub
hub 1-1.4:1.0: USB hub found
hub 1-1.4:1.0: 4 ports detected
3. Then if I connect a device (for example a pendrive) to the HUB I
get USB disconnect message
usb 1-1: USB disconnect, address 2
usb 1-1.4: USB disconnect, address 3
OTOH, it works without problem
1. if power up the board with the USB HUB connected to the USB Host
port and the device connected to the USB hub.
2. if after kernel is up, connect the USB HUB + device to the USB Host port
Anyone is experimenting something like this with other OMAP3-based boards ?
Regards,
Enric Balletbò i Serra
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <BANLkTim4FNNH3MfbEAwwpGzGvvLARWW+KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: omap: USB host disconnects connecting a device through USB HUB [not found] ` <BANLkTim4FNNH3MfbEAwwpGzGvvLARWW+KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2011-04-07 14:37 ` Alan Stern [not found] ` <Pine.LNX.4.44L0.1104071036040.2147-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Alan Stern @ 2011-04-07 14:37 UTC (permalink / raw) To: Enric Balletbò i Serra Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi On Thu, 7 Apr 2011, Enric Balletbò i Serra wrote: > Hi all, > > I'm experimenting some issues with USB on IGEP v2 board, in certain > cases I've an USB disconnect when I plug a device. For me it fails > with kernel 2.6.35 but I think it also affect newer kernel, the issue > is easy to reproduce following these steps: > > 1. Power up the board (without any device connected ) > > 2. When kernel is up, connect a powered USB HUB 2.0 to the USB host > port, kernel shows, > > usb 1-1: new high speed USB device using ehci-omap and address 2 > usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 > usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 > usb 1-1: Product: USB2.0 Hub > hub 1-1:1.0: USB hub found > hub 1-1:1.0: 4 ports detected > usb 1-1.4: new high speed USB device using ehci-omap and address 3 > usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0608 > usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 > usb 1-1.4: Product: USB2.0 Hub > hub 1-1.4:1.0: USB hub found > hub 1-1.4:1.0: 4 ports detected > > 3. Then if I connect a device (for example a pendrive) to the HUB I > get USB disconnect message > > usb 1-1: USB disconnect, address 2 > usb 1-1.4: USB disconnect, address 3 > > OTOH, it works without problem > 1. if power up the board with the USB HUB connected to the USB Host > port and the device connected to the USB hub. > 2. if after kernel is up, connect the USB HUB + device to the USB Host port > > Anyone is experimenting something like this with other OMAP3-based boards ? At first glance, it looks like a power-related issue. Current inrush when the device is plugged in, or something like that. What happens if you attach the hub and pendrive to a standard PC? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.4.44L0.1104071036040.2147-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>]
* Re: omap: USB host disconnects connecting a device through USB HUB [not found] ` <Pine.LNX.4.44L0.1104071036040.2147-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org> @ 2011-04-07 21:03 ` Enric Balletbò i Serra [not found] ` <BANLkTinNF2C6_2ApHke+Oi74zovUwbWkCQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Enric Balletbò i Serra @ 2011-04-07 21:03 UTC (permalink / raw) To: Alan Stern Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi Hi, 2011/4/7 Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>: > On Thu, 7 Apr 2011, Enric Balletbò i Serra wrote: > >> Hi all, >> >> I'm experimenting some issues with USB on IGEP v2 board, in certain >> cases I've an USB disconnect when I plug a device. For me it fails >> with kernel 2.6.35 but I think it also affect newer kernel, the issue >> is easy to reproduce following these steps: >> >> 1. Power up the board (without any device connected ) >> >> 2. When kernel is up, connect a powered USB HUB 2.0 to the USB host >> port, kernel shows, >> >> usb 1-1: new high speed USB device using ehci-omap and address 2 >> usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 >> usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 >> usb 1-1: Product: USB2.0 Hub >> hub 1-1:1.0: USB hub found >> hub 1-1:1.0: 4 ports detected >> usb 1-1.4: new high speed USB device using ehci-omap and address 3 >> usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0608 >> usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 >> usb 1-1.4: Product: USB2.0 Hub >> hub 1-1.4:1.0: USB hub found >> hub 1-1.4:1.0: 4 ports detected >> >> 3. Then if I connect a device (for example a pendrive) to the HUB I >> get USB disconnect message >> >> usb 1-1: USB disconnect, address 2 >> usb 1-1.4: USB disconnect, address 3 >> >> OTOH, it works without problem >> 1. if power up the board with the USB HUB connected to the USB Host >> port and the device connected to the USB hub. >> 2. if after kernel is up, connect the USB HUB + device to the USB Host port >> >> Anyone is experimenting something like this with other OMAP3-based boards ? > > At first glance, it looks like a power-related issue. Current inrush > when the device is plugged in, or something like that. > > What happens if you attach the hub and pendrive to a standard PC? > With standard PC works as expected, would be possible a problem with omap-ehci driver ? Maybe Felipe can give some light ? > Alan Stern > > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <BANLkTinNF2C6_2ApHke+Oi74zovUwbWkCQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: omap: USB host disconnects connecting a device through USB HUB [not found] ` <BANLkTinNF2C6_2ApHke+Oi74zovUwbWkCQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2011-04-08 7:36 ` Felipe Balbi 0 siblings, 0 replies; 4+ messages in thread From: Felipe Balbi @ 2011-04-08 7:36 UTC (permalink / raw) To: Enric Balletbò i Serra Cc: Alan Stern, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi On Thu, Apr 07, 2011 at 11:03:38PM +0200, Enric Balletbò i Serra wrote: > Hi, > > 2011/4/7 Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>: > > On Thu, 7 Apr 2011, Enric Balletbò i Serra wrote: > > > >> Hi all, > >> > >> I'm experimenting some issues with USB on IGEP v2 board, in certain > >> cases I've an USB disconnect when I plug a device. For me it fails > >> with kernel 2.6.35 but I think it also affect newer kernel, the issue > >> is easy to reproduce following these steps: > >> > >> 1. Power up the board (without any device connected ) > >> > >> 2. When kernel is up, connect a powered USB HUB 2.0 to the USB host > >> port, kernel shows, > >> > >> usb 1-1: new high speed USB device using ehci-omap and address 2 > >> usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 > >> usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 > >> usb 1-1: Product: USB2.0 Hub > >> hub 1-1:1.0: USB hub found > >> hub 1-1:1.0: 4 ports detected > >> usb 1-1.4: new high speed USB device using ehci-omap and address 3 > >> usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0608 > >> usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 > >> usb 1-1.4: Product: USB2.0 Hub > >> hub 1-1.4:1.0: USB hub found > >> hub 1-1.4:1.0: 4 ports detected > >> > >> 3. Then if I connect a device (for example a pendrive) to the HUB I > >> get USB disconnect message > >> > >> usb 1-1: USB disconnect, address 2 > >> usb 1-1.4: USB disconnect, address 3 > >> > >> OTOH, it works without problem > >> 1. if power up the board with the USB HUB connected to the USB Host > >> port and the device connected to the USB hub. > >> 2. if after kernel is up, connect the USB HUB + device to the USB Host port > >> > >> Anyone is experimenting something like this with other OMAP3-based boards ? > > > > At first glance, it looks like a power-related issue. Current inrush > > when the device is plugged in, or something like that. > > > > What happens if you attach the hub and pendrive to a standard PC? > > > > With standard PC works as expected, would be possible a problem with > omap-ehci driver ? Maybe Felipe can give some light ? Maybe PM is kicking in and turning off the clocks. Donno. What if you use function tracer so we know the last called function before the problem ? Just filter the call to *hci*. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-08 7:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 9:33 omap: USB host disconnects connecting a device through USB HUB Enric Balletbò i Serra
[not found] ` <BANLkTim4FNNH3MfbEAwwpGzGvvLARWW+KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-07 14:37 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1104071036040.2147-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2011-04-07 21:03 ` Enric Balletbò i Serra
[not found] ` <BANLkTinNF2C6_2ApHke+Oi74zovUwbWkCQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-08 7:36 ` Felipe Balbi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox