Hi,
I have following USB configuration:
USB0 - OTG
USB1 - host only connected to 4-port hub
With this kernel https://github.com/koenkooi/linux/tree/beaglebone-3.2 I can attach an USB mass storage device and it will be detected (lsusb) and it will be also detected by the USB mass storage driver
usb 1-1.3: new high-speed USB device number 6 using musb-hdrc
usb 1-1.3: default language 0x0409
usb 1-1.3: udev 6, busnum 1, minor = 5
usb 1-1.3: New USB device found, idVendor=1b8f, idProduct=0305
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: EXPRESS DUO
usb 1-1.3: Manufacturer: STT
usb 1-1.3: SerialNumber: 09021000000211517700000031
usb 1-1.3: usb_probe_device
usb 1-1.3: configuration #1 chosen from 1 choice
usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
usb-storage 1-1.3:1.0: usb_probe_interface
usb-storage 1-1.3:1.0: usb_probe_interface - got id
scsi3 : usb-storage 1-1.3:1.0
drivers/usb/core/inode.c: creating file '006'
scsi 3:0:0:0: Direct-Access STT EXPRESS DUO 1.00 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 30687232 512-byte logical blocks: (15.7 GB/14.6 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 3:0:0:0: [sdb] No Caching mode page present
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] No Caching mode page present
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 3:0:0:0: [sdb] No Caching mode page present
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI removable disk
When using the PSP kernel http://arago-project.org/git/projects/?p=linux-am33x.git;a=shortlog;h=refs/heads/v3.2-staging the same device will be detected (shows up in lsusb), but no mass storage device will be created:
usb 1-1.4.1: new high-speed USB device number 10 using musb-hdrc
usb 1-1.4.1: default language 0x0409
usb 1-1.4.1: udev 10, busnum 1, minor = 9
usb 1-1.4.1: New USB device found, idVendor=1b8f, idProduct=0305
usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4.1: Product: EXPRESS DUO
usb 1-1.4.1: Manufacturer: STT
usb 1-1.4.1: SerialNumber: 09021000000211517700000031
usb 1-1.4.1: usb_probe_device
usb 1-1.4.1: configuration #1 chosen from 1 choice
usb 1-1.4.1: adding 1-1.4.1:1.0 (config #1, interface 0)
usb-storage 1-1.4.1:1.0: usb_probe_interface
usb-storage 1-1.4.1:1.0: usb_probe_interface - got id
scsi5 : usb-storage 1-1.4.1:1.0
drivers/usb/core/inode.c: creating file '010'
hub 1-1.4:1.0: state 7 ports 4 chg 0000 evt 0002
Other devices like USB-to-serla converter or 3G modem are working without issues. USB mass storage device connected to USB0 (OTG) is working too, so all drivers are there.
Any idea?
Yegor