Re: USB device not detected on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 11 Mar 2010, Nuno Gonçalves wrote:

> On power-on(device not discovered):
> 
> root@OpenWrt:/# cat /sys/kernel/debug/usb/ehci/ar71xx-ehci/registers
> bus platform, device ar71xx-ehci
> Atheros AR91xx built-in EHCI controller
> EHCI 1.00, hcd state 1
> structural params 0x00010011
> capability params 0x00000006
> status 0088 FLR
> command 010009 (park)=0 ithresh=1 period=256 RUN
> intrenable 37 IAA FATAL PCD ERR INT
> uframe 0878
> port 1 status c001000 POWER sig=se0
> irq normal 0 err 0 reclaim 0 (lost 0)
> complete 0 unlink 0
> 
> On restart(device discovered):
> 
> root@OpenWrt:/# cat /sys/kernel/debug/usb/ehci/ar71xx-ehci/registers
> bus platform, device ar71xx-ehci
> Atheros AR91xx built-in EHCI controller
> EHCI 1.00, hcd state 1
> structural params 0x00010011
> capability params 0x00000006
> status 40088 FLR
> command 010009 (park)=0 ithresh=1 period=256 RUN
> intrenable 37 IAA FATAL PCD ERR INT
> uframe 2f18
> port 1 status 001805 POWER sig=j PE CONNECT
> irq normal 13 err 0 reclaim 5 (lost 0)
> complete 13 unlink 0

That's quite clear.  If you compare the "port 1" lines, you'll see the 
difference.  In the not-discovered case the hardware reports that 
nothing is plugged into the port, whereas in the other case it reports 
that there is a connection.

There is a bug either in the EHCI hardware or in the platform driver.

Alan Stern

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux