OpenWrt Forum Archive

Topic: No usb found ...

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
i try to plugg a mouse (razer) and awebcam on my wl500gx whose on an OpenWrt.
I install, for the usb :
root@OpenWrt:~# ipkg list_installed | grep usb
kmod-usb-core - 2.4.30-brcm-2 - Kernel Support for USB
kmod-usb-ohci - 2.4.30-brcm-2 - Kernel driver for OHCI USB controllers
kmod-usb-storage - 2.4.30-brcm-2 - Kernel modules for USB storage support
kmod-usb2 - 2.4.30-brcm-2 - Kernel driver for USB2 controllers
libusb - 0.1.10a-1 - a Library for accessing Linux USB devices


The dmesg found something about the usb :
root@OpenWrt:~# dmesg | grep usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
usb.c: registered new driver usb-storage
usb.c: new USB bus registered, assigned bus number 2

But when i plugg something... they're nothing... why ?

Regards

Seb

You need kmod-usb-uhci instead of kmod-usb-ohci.

EDIT: The usb bus that usb-ohci found, as seen in your dmesg, is the one on the broadcom chip ("pci"-id 14e4:4715), which isn't used on this device.

(Last edited by wtzm on 6 Feb 2006, 17:59)

Ok thanks wink

But now i have an other problom (sorry :os )
When i plugg my mouse i have that :
Jan  1 00:01:05 (none) kern.info kernel: hub.c: new USB device 01:02.0-1, assigned address 3
Jan  1 00:01:05 (none) kern.warn kernel: usb.c: USB device 3 (vend/prod 0x1532/0x101) is not claimed by any active driver.


An nothing create under /dev/ ... why ?

We do not provide kernel module packages for USB HID currently.
What do you want to do with a mouse on your router ?

I found these post http://forum.openwrt.org/viewtopic.php?pid=19770 . If i understand right i think it's the kernel whose not reconize my mouse.
First question, what's the modules whose are usefull for a razer copperhead ?
Second, how can i do it ? I read something about the the buildroot, but i always don't know how change the kernel...


Regards

Hello Nico,
french guy ?

Nico wrote:

We do not provide kernel module packages for USB HID currently.

When you that you don't provide kernel module packages for usb hid, you mean package like pwc or that in the kernel there is no option to add usb hid ?

I'm not sur that usb hid is the better thing to use because of what i found in /usr/src/linux-2.6.15-gentoo-r1/Documentation/input/input.txt

3.1.2 usbmouse
~~~~~~~~~~~~~~
  For embedded systems, for mice with broken HID descriptors and just any
other use when the big usbhid wouldn't be a good choice, there is the
usbmouse driver. It handles USB mice only. It uses a simpler HIDBP
protocol. This also means the mice must support this simpler protocol. Not
all do. If you don't have any strong reason to use this module, use usbhid
instead.


Nico wrote:

What do you want to do with a mouse on your router ?

In fact it's very important for us. We made a bot (http://ibot.itin.fr). We embedded an asus wl500gx into it. We connect a webcam and a mouse. The mouse is a razer copperhead. The mouse is very important. In the begginning whe start with the asus firmware. Because of a problem with the asus's toolchain i switch to OpenWrt. Is there a trick into openwrt for supporting mouse ?

Zork wrote:

french guy ?

Yep

Zork wrote:
Nico wrote:

We do not provide kernel module packages for USB HID currently.

When you that you don't provide kernel module packages for usb hid, you mean package like pwc or that in the kernel there is no option to add usb hid ?

USB HID (Human Interface Devices) support is not enabled by default in our kernels.
You will have to enable it in the kernel config file.

The discussion might have continued from here.