Greetings, everyone. Here's the problem: I'm working on getting the USB port of a MPC5200B to work, in order to connect this Wireless USB Adapter I want to use. The board's been booted with a 2.6.24 linux kernel using U-Boot, (from DENX) and features the following configurations regarding USB support: --- USB support Support for Host-side USB [*] USB verbose debug messages *** Miscellaneous USB options *** [ ] USB device filesystem [*] USB device class-devices (DEPRECATED) [ ] Dynamic USB minor allocation (EXPERIMENTAL) [ ] USB selective suspend/resume and wakeup (EXPERIMENTAL) [ ] USB device persistence during system suspend (DANGEROUS) *** USB Host Controller Drivers *** <> EHCI HCD (USB 2.0) support <> ISP116X HCD support OHCI HCD support [*] OHCI support for on-chip PPC USB controller [*] OHCI support for PPC USB controller on OF platform bus [*] Support big endian HC [ ] ; Support little endian HC [*] OHCI support for PCI-bus USB controllers <> UHCI HCD (most Intel and VIA) support <> SL811HS HCD support <> R8A66597 HCD support *** USB Device Class drivers *** <> USB Modem (CDC ACM) support <> USB Printer support *** NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' *** *** may also be needed; see USB_STORAGE Help for more information *** USB Mass Storage support [*] USB Mass Storage verbose debug [ ] Datafab Compact Flash Reader support (EXPERIMENTAL) [ ] Freecom USB/ATAPI Bridge support [ ] ISD-200 USB/ATA Bridge support [ ] Microtech/ZiO! CompactFlash/SmartMedia support [ ] USBAT/USBAT02-based storage support (EXPERIMENTAL) .... Statically compiled. I've also compiled the Wireless USB Adapter driver and its firmware (as a module) I want to use. It's a RT73(RT2571W) Wireless Lan Linux Driver for the Ralink RT73 a/b/g WLAN Card. It had to be done that way because the 2.6.24 kernel doesn't offer support for this RAlink driver. I know later versions do, but due to project related constraints I'm bound to the 2.6.24 kernel. As I boot the kernel these messages show up (the ones related to USB): [ 1.251167] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.251202] ohci_hcd: block sizes: ed 64 td 64 [ 1.252454] ppc-of-ohci f0001000.usb: initializing PPC-OF USB Controller [ 1.252623] ppc-of-ohci f0001000.usb: OF OHCI [ 1.257771] ppc-of-ohci f0001000.usb: new USB bus registered, assigned bus number 1 [ 1.265775] ppc-of-ohci f0001000.usb: irq 134, io mem 0xf0001000 [ 1.272104] ppc-of-ohci f0001000.usb: created debug files [ 1.330956] ppc-of-ohci f0001000.usb: OHCI controller state [ 1.330989] ppc-of-ohci f0001000.usb: OHCI 1.0, NO legacy support registers [ 1.331010] ppc-of-ohci f0001000.usb: control 0x083 HCFS=operational CBSR=3 [ 1.331028] ppc-of-ohci f0001000.usb: cmdstatus 0x00000 SOC=0 [ &nbs p; 1.331046] ppc-of-ohci f0001000.usb: intrstatus 0x00000004 SF [ 1.331063] ppc-of-ohci f0001000.usb: intrenable 0x8000005a MIE RHSC UE RD WDH [ 1.331083] ppc-of-ohci f0001000...usb: hcca frame #0005 [ 1.331102] ppc-of-ohci f0001000.usb: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2) [ 1.331119] ppc-of-ohci f0001000.usb: roothub.b 00000000 PPCM=0000 DR=0000 [ 1.331137] ppc-of-ohci f0001000.usb: roothub.status 00008000 DRWE [ 1.331158] ppc-of-ohci f0001000.usb: roothub.portstatus [0] 0x00000100 PPS [ 1.331176] ppc-of-ohci f0001000.usb: roothub.portstatus [1] 0x00000100 PPS [ 1.331282] usb usb1: default language 0x0409 [ 1.331485] usb usb1: uevent [ 1.331998] usb usb1: usb_probe_device [ 1.333452] usb usb1: configuration #1 chosen from 1 choice [ 1.339321] usb usb1: adding 1-0:1.0 (config #1, interface 0) [ 1.339479] usb 1-0:1.0: uevent [ 1.340008] hub 1-0:1.0: usb_probe_interface [ 1.340037] hub 1-0:1.0: usb_probe_interface - got id [ 1.340051] hub 1-0:1.0: USB hub found [ 1.344073] hub 1-0:1.0: 2 ports detected [ 1.348312] hub 1-0:1.0: standalone hub [ 1..348337] hub 1-0:1.0: ganged power switching [ 1.348348] hub 1-0:1.0: global over-current protection [ 1.348362] hub 1-0:1.0: power on to power good time: 4ms [ 1.348418] hub 1-0:1.0: local power source is good [ 1.348432] hub 1-0:1.0: no over-current condition exists [ 1.348448] hub 1-0:1.0: enabling power on all ports [ 1.451307] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000 [ 1.452387] usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.452415] usb usb1: Product: OF OHCI [ 1.456335] usb usb1: Manufacturer: Linux 2.6.24.7-g031edb4f-dirty ohci_hcd [ 1.463544] usb usb1: SerialNumber: PPC-OF USB [ 1.468990] Initializing USB Mass Storage driver... [ 1.474696] usbcore: registered new interface driver usb-storage As I connect the USB Adapter, the console shows: [ 113.547070] hub 1-0:1.0: port_wait_reset: err = -16 [ 113.547082] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 113.547096] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? [ 113.622987] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 113.623056] hub 1-0:1.0: port 1 not reset yet, waiting 50ms [ 113.679010] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 113.679077] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 113.882993] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 113...883060] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 114.086988] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 114.087053] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 114.087068] hub 1-0:1.0: port_wait_reset: err = -16 [ 114.087080] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 114.306980] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 114.307047] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 114.510988] ppc-of-ohci f0001000...usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 114.511055] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 114.714986] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 114.715053] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 114.715069] hub 1-0:1.0: port_wait_reset: err = -16 [ 114.715081] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 114.934982] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 114.935049] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.138982] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 115.139049] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.342997] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 115.343065] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.343080] hub 1-0:1.0: port_wait_reset: err = -16 [ 115.343092] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 115.562981] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 115.563047] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.766984] ppc-of-ohci f0001000...usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 115.767051] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.970987] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 115.971054] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 115.971070] hub 1-0:1.0: port_wait_reset: err = -16 [ 115.971082] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 116.190971] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 116.191038] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 116.395001] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 116.395068] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 116.598988] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 116.599055] hub 1-0:1.0: port 1 not reset yet, waiting 200ms [ 116.599070] hub 1-0:1.0: port_wait_reset: err = -16 [ 116.599083] hub 1-0:1.0: port 1 not enabled, trying reset again... [ 116.599096] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? [ 116.606416] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002 [ 116.606463] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS [ 116.606497] hub 1-0:1.0: port 1 enable change, status 00000101 [ 116.606527] hub 1-0:1.0: reset change on port 1 This -62 error is related to request timeout, as Alan Stern has pointed out. I've tried an USB Storage unit and Dmesg shows: [ 256.361868] ppc-of-ohci f0001000.usb: auto-wakeup root hub [ 256.362324] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002 [ 256.362394] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS [ 256.362495] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s [ 256.486993] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 [ 256.558988] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS [ 256.614996] usb 1-1: new full speed USB device using ppc-of-ohci and address 2 [ 256.686985] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS [ 256.779065] usb 1-1: default language 0x0409 [ 256.788228] usb 1-1: uevent [ 256.789285] usb 1-1: usb_probe_device [ 256.790672] usb 1-1: configuration #1 chosen from 1 choice [ 256.794045] usb 1 -1: adding 1-1:1.0 (config #1, interface 0) [ 256.794238] usb 1-1:1.0: uevent [ 256.795337] usb-storage 1-1:1.0: usb_probe_interface [ 256.795411] usb-storage 1-1:1.0: usb_probe_interface - got id [ 256.795426] usb-storage: USB Mass Storage device detected [ 256.796115] usb-storage: -- associate_dev [ 256.796148] usb-storage: Vendor: 0x0471, Product: 0x084d, Revision: 0x1100 [ 256.796163] usb-storage: Interface Subclass: 0x06, Protocol: 0x50 [ 256.796238] usb-storage: Transport: Bulk [ 256.796250] usb-storage: Protocol: Transparent SCSI [ 256.797130] scsi1 : SCSI emulation for USB Mass Storage devices [ 256.798021] usb-storage: *** thread sleeping. [ 256.799110] usb-storage: device found at 2 [ 256.799135] usb-storage: waiting for device to settle before scanning [ 256.800921] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 [ 256.800951] usb 1-1: Product: GoGear SA23xx [ 256.800961] usb 1-1: Manufacturer: Philips [ 256.800972] usb 1-1: SerialNumber: AA00000000000001 [ 256.801050] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002 [ 257.188108] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002 [ 257.188184] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [0] = 0x00030100 PESC CSC PPS [ 257.188241] hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s [ 257.188262] usb 1-1: USB disconnect, address 2 [ 257.188275] usb 1-1: unregistering device [ 257.188287] usb 1-1: usb_disable_device nuking all URBs [ 257.188322] usb 1-1: unregistering interface 1-1:1.0 [ 257.191688] usb-storage: storage_disconnect() called [ 257.191738] usb-storage: usb_stor_stop_transport called [ 257.192821] usb-storage: -- usb_stor_release_resources [ 257.192864] usb-storage: -- sending exit command to thread [ 257.193245] usb-storage: *** thread awakened. [ 257.193288] usb-storage: -- exiting [ 257.193399] usb-storage: -- dissociate_dev [ 257.193658] usb 1-1:1.0: uevent [ 257.196261] usb 1-1: uevent [ 257.323008] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 [ 257.818899] ppc-of-ohci f0001000.usb: auto-stop root hub The device was plugged the whole time, I didn't remove it. I don't know why it disassociates like that. Thank you for your cooperation! Marco Antônio Possamai _________________________________________________________________ Share your memories online with anyone you want. http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1-- 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