Hi, all
when I running linux on my AM1808 board and plug an USB key onto the USB0 port,
I got this message:
root@arago:~# dmesg|grep -i usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
Waiting for USB PHY clock good...
musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
musb_hdrc: MHDRC RTL version 1.800
musb_hdrc: setup fifo_mode 2
musb_hdrc: 8/9 max ep, 3904/4096 memory
musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
Registered /proc/driver/musb_hdrc
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
......
usb 1-1: new high speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high speed USB device using musb_hdrc and address 3
usb 1-1: new high speed USB device using musb_hdrc and address 4
usb 1-1: device not accepting address 4, error -71
usb 1-1: new high speed USB device using musb_hdrc and address 5
usb 1-1: device not accepting address 5, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 1-1: new high speed USB device using musb_hdrc and address 6
usb 1-1: new high speed USB device using musb_hdrc and address 7
usb 1-1: new high speed USB device using musb_hdrc and address 8
usb 1-1: device not accepting address 8, error -71
usb 1-1: new high speed USB device using musb_hdrc and address 9
usb 1-1: device not accepting address 9, error -71
usb 1-1: new high speed USB device using musb_hdrc and address 10
usb 1-1: new high speed USB device using musb_hdrc and address 11
usb 1-1: new high speed USB device using musb_hdrc and address 12
usb 1-1: device not accepting address 12, error -71
usb 1-1: new high speed USB device using musb_hdrc and address 13
usb 1-1: device not accepting address 13, error -71
...
It seems that the USB key is not recognized by USB0 port of AM1808,
but when I plug in an old 128M USB key(may be a USB1.1 storage device),
every thing is ok, and mounted by linux as normal.
The kernel source is from DaVinci-PSP-SDK-03.20.00.12/linux-03.20.00.12.
This version of source works well (USB2.0 usb key is ok) on my other OMAPL138 board.
And I think AM1808 and OMAPL138 are pin compatible,
They share the same software SDK, and I thought that should not be a problem.
Any insights will be appreciated.
Thanks
William
William,
Please check if USB VBUS GPIO is correctly programmed for non working board.
Regards,
Ajay
If my reply answers your question then please click on the green button "Verify Answer"
Hi, Ajay4610
We've already checked.The voltage of USB0_VBUS is normal 5V, and uP_USB0_ID is pulled high as an USB host.
An old 128MB USB flash storage is working OK on the USB0 port,
But a newer 2GB one is not.
I thought the board init process done by kernel had configured it, is there still something need to be done by myself?
Regards.
Here is the kernel message I got when I plug in a 4GB kingston USB key(not recognized) and a 128MB USB key later.
root@arago:~# usb 1-1: new high speed USB device using musb_hdrc and address 2
root@arago:~# usb 1-1: new full speed USB device using musb_hdrc and address 6
scsi0 : usb-storage 1-1:1.0
scsi 0:0:0:0: Direct-Access Netac OnlyDisk 4.12 PQ: 0 ANSI: 2
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 257984 512-byte logical blocks: (132 MB/125 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
Do you still have this issue?
Ajay,
Yes,
This issue persists,and might be a hardware issue,I am not sure.
I will check this latter.
might be something wrong with the hardware connection
Is there any update on this issue?
Regards
Vichu
There is no such issue on my new version of PCB.
So it is not a software issue.
Hi william Young
Thank you for confirming.
May I request you to close the thread by clicking on the green button "Verify Answer"
Thank you,
regards