USB driver problem

Hugh
Hey,

I have been having trouble setting up a USB modem to work correctly on
Angstrom. I've managed to get it working other then on startup. Every time
the ARM is rebooted the modem has to be removed and reinserted into the usb
port for the OS to recognise that it exists. If i remove the modem before
rebooting, insert while the device is off the modem is correctly recognised
on startup.

When the modem is working the following is /proc/modules:

sd_mod 27516 0      - Live 0xbf071000
usb_storage 28955 0 - Live 0xbf062000
scsi_mod 72988 2 sd_mod,usb_storage, Live 0xbf041000

rfcomm 31763 0 - Live 0xbf032000
hidp 10586 0 - Live 0xbf029000
l2cap 28335 4 rfcomm,hidp, Live 0xbf01c000
crc16 1027 1 l2cap, Live 0xbf016000
bluetooth 50262 3 rfcomm,hidp,l2cap, Live 0xbf000000


When the modem is not working /proc/modules:

rfcomm 31763 0 - Live 0xbf032000
hidp 10586 0 - Live 0xbf029000
l2cap 28335 4 rfcomm,hidp, Live 0xbf01c000
crc16 1027 1 l2cap, Live 0xbf016000
bluetooth 50262 3 rfcomm,hidp,l2cap, Live 0xbf000000


On startup the following occurs before udev when it doesn't work and after
udev when it works.

usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Empty flash at 0x008fa654 ends at 0x008fa800