pxa270 OHCI usb host problem

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

 



Hi,

I have a pxa270 based custom board (I don't know to much about the board)

Originally my board operates as an USB device, but I would like to try it to use as an USB host (I see some success try with other boards on the net)...
I know, the pxa270 have an OHCI controller...

So I cut down the male connector from my board and solder a female to the right position and rewrite a new board driver (use mainstone.c as base) and boot up... (It looks everything work fine now (mmc
reader, network device, nor flash) except the USB host function)

I got these error message at boot (debug usb on, in the kernel):

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd: block sizes: ed 64 td 64
In ohci_hcd_pxa27x_drv_probe<6>pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
pxa27x-ohci pxa27x-ohci: ohci_pxa27x_start, ohci:c78e68b8<7>pxa27x-ohci pxa27x-ohci: created debug files
pxa27x-ohci pxa27x-ohci: OHCI controller state
pxa27x-ohci pxa27x-ohci: OHCI 1.0, NO legacy support registers
pxa27x-ohci pxa27x-ohci: control 0x083 HCFS=operational CBSR=3
pxa27x-ohci pxa27x-ohci: cmdstatus 0x00000 SOC=0
pxa27x-ohci pxa27x-ohci: intrstatus 0x00000044 RHSC SF
pxa27x-ohci pxa27x-ohci: intrenable 0x8000001a MIE UE RD WDH
pxa27x-ohci pxa27x-ohci: hcca frame #0009
pxa27x-ohci pxa27x-ohci: roothub.a 04000202 POTPGT=4 NPS NDP=2(3)
pxa27x-ohci pxa27x-ohci: roothub.b 00000000 PPCM=0000 DR=0000
pxa27x-ohci pxa27x-ohci: roothub.status 00028002 OCIC DRWE OCI
pxa27x-ohci pxa27x-ohci: roothub.portstatus [0] 0x00010101 CSC PPS CCS
pxa27x-ohci pxa27x-ohci: roothub.portstatus [1] 0x00000100 PPS
pxa27x-ohci pxa27x-ohci: roothub.portstatus [2] 0x00000100 PPS
usb usb1: default language 0x0409
usb usb1: uevent
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: power on to power good time: 8ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: over-current condition exists
hub 1-0:1.0: trying to enable port power on non-switchable hub
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PXA27x OHCI
usb usb1: Manufacturer: Linux 2.6.28.7 ohci_hcd
usb usb1: SerialNumber: pxa27x
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
XScale iWMMXt coprocessor detected.
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 1-0:1.0: port 1: status 0101 change 0001
hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: new low speed USB device using pxa27x-ohci and address 2
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: device descriptor read/64, error -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: device descriptor read/64, error -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: new low speed USB device using pxa27x-ohci and address 3
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: device descriptor read/64, error -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0in 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: device descriptor read/64, error -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: new low speed USB device using pxa27x-ohci and address 4
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0out 5ec20000 cc 5 --> status -62
Sending DHCP requests .<7>pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0out 5ec20000 cc 5 --> status -62
usb 1-1: device not accepting address 4, error -62
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-1: new low speed USB device using pxa27x-ohci and address 5
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0out 5ec20000 cc 5 --> status -62
pxa27x-ohci pxa27x-ohci: urb c78a3900 path 1 ep0out 5ec20000 cc 5 --> status -62
usb 1-1: device not accepting address 5, error -62
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: overcurrent change
hub 1-0:1.0: trying to enable port power on non-switchable hub
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0001



After this boot, If I plug in a pen drive to the USB connector I don't see anything (not either in dmesg or in syslog), it look like it didn't detect the plug in...
Where should I search?
Maybe My board can't be an USB host device?

regards,
Balázs Zachár
--
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