Hi,
In my custom board I am operating the DM365 USB in host mode (ID pin to ground thru 1k5 resistor) and connecting to an ISP1520 hub ic. When the kernel boots I get the following message:
...
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
MUX: initialized GPIO33
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c5074000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
....
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
From the above there already seems to be an issue as the ISP1520 is a hi-speed hub, but it registering it as a full speed device and informing that 'usb 1-1: not running at top speed; connect to a high speed hub'. This would suggest to me that the DM365 usb port is not configuring itself as a hi-speed port. Is there some option that needs to be set in the linux kernel or driver that will remedy this? I am using the EVM setup that comes with the Spectrum Digital EVM. My knowledge of linux is beginner at best.
When I plug a mouse into the hub I get:
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).
root@192.168.102.250:~# lsusb
Bus 001 Device 002: ID 04cc:1520 Philips Semiconductors
Bus 001 Device 001: ID 0000:0000
root@192.168.102.250:~# usb 1-1.1: new low speed USB device using musb_hdrc and
address 3
hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
usb 1-1.1: new low speed USB device using musb_hdrc and address 7
hub 1-1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
---
When I plug a memory stick device in I get:
root@192.168.102.250:~# usb 1-1.2: new full speed USB device using musb_hdrc and
address 24
usb 1-1.2: not running at top speed; connect to a high speed hub
usb 1-1.2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 3905407 512-byte hdwr sectors (2000 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 3905407 512-byte hdwr sectors (2000 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
-- and I am able to mount and read & write to it.
Any suggestions as to where the problem may lie would be appreciated?