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 On insert: 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 2a88 port 1 status 001805 POWER sig=j PE CONNECT irq normal 10 err 0 reclaim 4 (lost 0) complete 10 unlink 0 Thanks, Nuno 2010/3/10 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Wed, 10 Mar 2010, Nuno Gonçalves wrote: > >> root@OpenWrt:/# lsmod | grep usb >> usbserial 23856 0 >> root@OpenWrt:/# lsmod | grep ar71xx >> root@OpenWrt:/# >> >> Maybe it's builtin and not a module...? > > Must be. > > Here's something else you can do. Make sure CONFIG_DEBUG_FS is also > enabled in the configuration. Then mount a debugfs filesystem, say on > /sys/kernel/debug, and post a copy of the > /sys/kernel/debug/usb/ehci/ar71xx/registers file (the pathname may be > slightly different from this, but it will be similar). Do this after a > failed detection, while the device is still plugged in. > > Alan Stern > > -- \ Nuno Gonçalves / \ Bugs? Features! / \ nunojpg@xxxxxxxxx / PORTUGAL E-mail sent directly from Google Mail webmail using HTTPS on behalf of Nuno João Pinto Gonçalves, birth date 1986-11-16. E-mail headers provide good assurance that this message was not tampered and originates from nunojpg@xxxxxxxxxx If you require additional security, I may provide on request X509 electronic signature under Portuguese government chain. Se precisar de assinatura digital do Cartão de Cidadão, de uma apitadela. -- 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