Some OpenWrt images come with basic USB support already included. If yours does not, this page will explain how to install USB support. Below is a list of OPKG packages for very basic USB support under OpenWrt. Background information about the different host controller interfaces (OHCI, UHCO, EHCI) is given in a Wikipedia article. Please refer to you platform documentation to find out what you need, for the recent devices it's likely EHCI.
| ||74274||yes||Kernel support for USB.|
| ||14935||specific||Kernel support for USB OHCI controllers.|
| ||14897||specific||Kernel support for USB UHCI controllers.|
| ||24752||specific||Kernel support for USB2 (EHCI) controllers.|
| ||3502||no||Kernel module to drive LEDs based on USB device presence/activity.|
| ||187087||no|| USB devices listing utilities:
| ||2156||no||Kernel module for the USB LED on the Netgear WNDR3700 board only.|
After installing the correct kernel packages, your system is able to use USB. Depending on the devices you want to connect via USB (e.g. storage devices) additional drivers may be needed. See usb.overview for a general overview about what is supported.
An USB 1.1 chips either has an UHC or an OHC interface. You need not be afraid of installing the wrong one, just check:
For USB 1.1, try installing the UHCI drivers first and test them:
opkg update opkg install kmod-usb-uhci insmod usbcore insmod uhci
If you see the message
uhci: No such device then your hardware is not an UHCI device. Remove the package and try installing the alternative OHCI.
opkg update opkg install kmod-usb-ohci insmod usb-ohci
If you see the message
usb-ohci: No such device then your hardware is not an OHCI device. Remove the package or try installing UHCI.
NOTE: Running Kernel 2.6.xx, you may need the kmod-usb2 module, even if you have only an USB 1.1 controller (this is the case for the Asus WL-500g router using Backfire brcm47xx)
NOTE: On NLSU2 running Chaos Calmer RC3 you will also need to install the following packages:
Usually you can install both, uhci or ohci and usb2.
opkg update opkg install kmod-usb2 insmod ehci-hcd
If you see messages like
unresolved symbol usb_calc_bus_time try loading
usbcore and then try
opkg update insmod usbcore insmod ehci-hcd
opkg install kmod-usb3 insmod kmod-usb3
| is this still needed? The