Further information:<br><br>It was indeed the USB_OHCI_HCD_PCI option.<div><span style="font-size:13.1999998092651px">ohci-pci was split from ohci_hcd with:</span><br><div><a href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1117afb85890adf4073c7ff18ebcb4d0495e6af">http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1117afb85890adf4073c7ff18ebcb4d0495e6af</a><br></div><div><br></div><div><span style="font-size:13.1999998092651px">In BB, the usb controller was detected by ohci_hcd. At some point after the BB kernel version, the USB controller started to be detected only by ohci-pci and not ohci_hcd.</span><br></div><div><div><br></div><div>In BB:<span style="line-height:1.5;font-size:13.1999998092651px">root@OpenWrt:/# dmesg | grep ohci</span></div><div><span style="line-height:1.5;font-size:13.1999998092651px">[    0.543001] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver</span></div><div><div>[    0.544195] ohci_hcd 0000:00:06.0: setting latency timer to 64</div><div>[    0.544203] ohci_hcd 0000:00:06.0: OHCI Host Controller</div><div>[    0.544910] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2</div><div>[    0.545964] ohci_hcd 0000:00:06.0: irq 11, io mem 0xf0804000</div><div>[    1.040235] usb 2-1: new full-speed USB device number 2 using ohci_hcd</div><div><br></div><div>In CC (without <span style="font-size:13.1999998092651px;line-height:19.7999992370605px">USB_OHCI_HCD_PCI)</span><span style="line-height:1.5;font-size:13.1999998092651px">:</span></div><div><div>root@OpenWrt:/# dmesg |grep ohci</div><div>[    0.884995] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver</div><div>[    0.890242] ohci-platform: OHCI generic platform driver</div><div style="font-size:13.1999998092651px;line-height:1.5"><br></div></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">In CC (with </span><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">USB_OHCI_HCD_PCI)</span><span style="font-size:13.1999998092651px;line-height:1.5">:</span><span style="line-height:1.5;font-size:13.1999998092651px"><br></span></div><div>[    0.884343] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<div>[    0.885535] ohci-pci: OHCI PCI platform driver</div><div>[    0.892110] ohci-pci 0000:00:06.0: OHCI PCI host controller</div><div>[    0.893716] ohci-pci 0000:00:06.0: new USB bus registered, assigned bus number 2</div><div>[    0.895858] ohci-pci 0000:00:06.0: irq 11, io mem 0xf0804000</div><div>[    0.965726] ohci-platform: OHCI generic platform driver</div><div>[    1.400359] usb 2-1: new full-speed USB device number 2 using ohci-pci</div><div><br></div><div><span style="font-size:13.1999998092651px;line-height:1.5">I fixed my problem creating a new kmod-ohci-pci that includes </span><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">ohci-pci.ko. Probably, it should also be added to be built-in on every target that is pci-based and already include CONFIG_USB_OHCI_HCD build-in, like target/linux/x86/generic/config-default and others (which one?)</span><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">. However, it loads nicely as a module.</span><br></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">I can submit the patch for the new kmod but I'm not sure about kernel dependencies like LINUX_3_x as </span><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">ohci-pci.ko seems to be present only after 3.10.</span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">Looking the kernel commit log, it seems that ohci-pci wasn't the only one driver that was split from ohci. It was an effort for multi-plataform kernels on ARM. I guess every other one might need a kmod-ohci-xxx as well. So, the problem might affect every OHCI controller that where split.</span></div><div><span style="line-height:19.7999992370605px"><a href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/usb/host/ohci-hcd.c">http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/usb/host/ohci-hcd.c</a></span><br></div><div><span style="line-height:19.7999992370605px"><br></span></div><div><span style="line-height:19.7999992370605px">In summary, no OHCI controller for CC on any target (except by some drivers that still lives inside ohci-hcd like octeon and other exotic platforms).</span></div><div><span style="line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px">BTW, CONFIG_</span><span style="font-size:13.1999998092651px">USB_OHCI_ATH79, used for kmod-usb-ohci</span><span style="font-size:13.1999998092651px"> </span><span style="font-size:13.1999998092651px">is deprecated at 3.14.x.</span><br></div></div></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">"</span>This option is deprecated now and the driver was removed, use</div><div>      USB_OHCI_HCD_PLATFORM instead."</div><div><br></div><div>Regards,</div><div><br></div><div class="gmail_quote">Em Thu Jan 22 2015 at 02:19:48, Luiz Angelo Daros de Luca <<a href="mailto:luizluca@gmail.com" target="_blank">luizluca@gmail.com</a>> escreveu:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" target="_blank">https://downloads.openwrt.org/<u></u>barrier_breaker/14.07/x86/<u></u>generic/openwrt-x86-generic-<u></u>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" target="_blank">https://downloads.openwrt.org/<u></u>snapshots/trunk/x86/openwrt-<u></u>x86-generic-combined-ext4.img.<u></u>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></blockquote></div></div></div>