Hello,<div><br></div><div>I'm running OpenWRT in Virtualbox. I have no problem with BB. However, when testing trunk, I noticed that usb1.x functions simply does not work.</div><div><br></div><div>For BB, in a clean install (+usbutils), I get:</div><div><a href="https://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-combined-ext4.img.gz">https://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-combined-ext4.img.gz</a><br></div><div><br></div><div><div>root@OpenWrt:/# lsusb </div><div><b>Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet</b></div><div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div><b>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</b></div></div><div><b><br></b></div><div><div>root@OpenWrt:/# dmesg | egrep -i '(usb|hci)'</div><div>[    0.063968] ACPI: bus type USB registered</div><div>[    0.064573] usbcore: registered new interface driver usbfs</div><div>[    0.065292] usbcore: registered new interface driver hub</div><div>[    0.065990] usbcore: registered new device driver usb</div><div>[    0.511884] ahci 0000:00:0d.0: version 3.0</div><div>[    0.513388] ahci: SSS flag set, parallel bus scan disabled</div><div>[    0.514182] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode</div><div>[    0.515223] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc </div><div>[    0.515945] ahci 0000:00:0d.0: setting latency timer to 64</div><div>[    0.516085] scsi0 : ahci</div><div>[    0.521108] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver</div><div>[    0.522068] ehci-pci: EHCI PCI platform driver</div><div>[    0.523007] ehci-pci 0000:00:0b.0: setting latency timer to 64</div><div>[    0.523015] ehci-pci 0000:00:0b.0: EHCI Host Controller</div><div>[    0.523673] ehci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 1</div><div>[    0.524738] ehci-pci 0000:00:0b.0: irq 10, io mem 0xf0840000</div><div>[    0.540886] ehci-pci 0000:00:0b.0: USB 2.0 started, EHCI 1.00</div><div><b>[    0.541668] hub 1-0:1.0: USB hub found</b></div><div>[    0.542882] ehci-platform: EHCI generic platform driver</div><div>[    0.543609] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver</div><div>[    0.544824] ohci_hcd 0000:00:06.0: setting latency timer to 64</div><div>[    0.544831] ohci_hcd 0000:00:06.0: OHCI Host Controller</div><div>[    0.545495] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2</div><div>[    0.546662] ohci_hcd 0000:00:06.0: irq 11, io mem 0xf0804000</div><div><b>[    0.600350] hub 2-0:1.0: USB hub found</b></div><div>[    0.602055] uhci_hcd: USB Universal Host Controller Interface driver</div><div>[    0.603133] usbcore: registered new interface driver usb-storage</div><div>[    1.040233] usb 2-1: new full-speed USB device number 2 using ohci_hcd</div></div><div><br></div><div>And for CC, in a clean install (+usbutils), I get:<br></div><div><a href="https://downloads.openwrt.org/snapshots/trunk/x86/openwrt-x86-generic-combined-ext4.img.gz">https://downloads.openwrt.org/snapshots/trunk/x86/openwrt-x86-generic-combined-ext4.img.gz</a><br></div><div><br></div><div><div>root@OpenWrt:/# lsusb </div><div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div></div><div><br></div><div><div>root@OpenWrt:/# dmesg | egrep -i '(usb|hci)'</div><div>[    0.207085] ACPI: bus type USB registered</div><div>[    0.208234] usbcore: registered new interface driver usbfs</div><div>[    0.210038] usbcore: registered new interface driver hub</div><div>[    0.211447] usbcore: registered new device driver usb</div><div>[    0.846969] ahci 0000:00:0d.0: version 3.0</div><div>[    0.850123] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled</div><div>[    0.851991] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode</div><div>[    0.854051] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc </div><div>[    0.855726] scsi0 : ahci</div><div>[    0.865267] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver</div><div>[    0.866641] ehci-pci: EHCI PCI platform driver</div><div>[    0.868536] ehci-pci 0000:00:0b.0: EHCI Host Controller</div><div>[    0.870011] ehci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 1</div><div>[    0.872088] ehci-pci 0000:00:0b.0: irq 10, io mem 0xf0806000</div><div>[    0.890021] ehci-pci 0000:00:0b.0: USB 2.0 started, EHCI 1.00</div><div><b>[    0.891475] hub 1-0:1.0: USB hub found</b></div><div>[    0.910106] ehci-platform: EHCI generic platform driver</div><div>[    0.911554] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver</div><div>[    0.913104] ohci-platform: OHCI generic platform driver</div><div>[    0.914517] uhci_hcd: USB Universal Host Controller Interface driver</div><div>[    0.916619] usbcore: registered new interface driver usb-storage</div></div><div><br></div><div>In CC, there is no "Linux Foundation 1.1 root hub". Only EHCI hub is detected. ohci_hcd was expected to detect a new hub. If I disable usb2.0 in virtualbox config, OpenWRT gets no USB support in CC. Virtual machine configs are equal.</div><div><br></div><div>kmod-usb-ohci is not installed by default in both system. However, both systems seems to have some usb modules (including usb-ohci) built in kernel. So, kmod-usb-ohci contains only control files (CC) or no files (BB). Anyway, installing kmod-usb-ohci does not fix the problem. BTW, shouldn't all "empty" packages for built-in modules be installed by default? (most of <1k kmod-*.ipk)<br></div><div><br></div><div>I have already tested CC installing all kmod packages with no change on the USB problem.</div><div><br></div><div>Checking my Ubuntu (with kernel newer than OpenWRT), I noticed that there is a new ohci-pci in dmesg: </div><div><br></div><div>ohci-pci: OHCI PCI platform driver<br></div><div><br></div><div>Maybe it is USB_OHCI_HCD_PCI that is missing.<br></div><div><br></div><div>Any tips?<br></div><div><br></div><div>Regards,</div>