Click to See Complete Forum and Search --> : Can't Find My USB Hubs


Dark Ninja
11-05-2004, 02:19 PM
I have an interesting problem. I am using udev on a Gentoo system and I'm trying to get it to recognize my digital camera. However, I'm having an interesting problem -- I'm not even sure my USB hubs are being recognized. (I have 6 USB ports -- 2 on my motherboard, 4 as hubs).

When I boot into Gentoo and type "dmesg" I get this as the last line of dmesg:

drivers/usb/input/hid-input.c: event field not found

This message occurs twice which I'm assuming occurs becuase I have two USB hubs. So, now, when I plug anything into these hubs, I don't get any response.

I already have UHCI drivers compiled into my kernel, so I don't *think* this is the problem -- but I'm not sure. Also, these hubs ARE recognized *somewhere* because my mouse and my keyboard are recognized -- both of which are plugged into these hubs.

(And, yes, I have hotplug compiled into my kernel and it starts on boot.)


This is *very* confusing and Google doesn't seem to know anything. Can anybody help? Thanks.

hard candy
11-05-2004, 03:28 PM
What chipset is on your motherboard? Intel and Via use UHCi, some others use EHCI. Try modprobe usb-ehci and see if that works (if you need it for your chipset). Also, "lsusb" will show some vendor ID stuff.

And are the hubs using external power cords? If not, you may try that. Mine has to use externel power.

Dark Ninja
11-05-2004, 05:52 PM
lsusb output


Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 003: ID 03f0:020c Hewlett-Packard Multimedia Keyboard
Bus 001 Device 002: ID 03f0:010c Hewlett-Packard Multimedia Keyboard Hub
Bus 001 Device 001: ID 0000:0000


The hubs are actually built into the keyboard (the mouse is plugged in there as well) and the other hub is built on the front of my computer.

As for using UHCI vs. EHCI -- well, here's parts of the output of lspci -v


0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc.: Unknown device 8030
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 1840 [size=32]

0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc.: Unknown device 8030
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]



So...I'm not really sure what the problem is.

Again, it all seems to stem around that error of -
drivers/usb/input/hid-input.c: event field not found
drivers/usb/input/hid-input.c: event field not found


Any other ideas?

fatTrav
11-05-2004, 07:24 PM
what usb options does your kernel have? I have compiled into my kernel the following on my Gentoo with udev, kernel 2.6.7 (from kernel.org) system. the hid-input error makes me think something could be wrong with the hid input module, either it's not being loaded for some reason.

what kernel are you using? nevermind that, i saw your sig. maybe the kernel you are using has screwy usb drivers. i've had bad times with anything but a vanilla kernel straight from ftp.kernel.org did you have any usb issues before you switched to udev or with an older kernel?


CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y

Dark Ninja
11-07-2004, 04:55 PM
Well, I've had all those set at some point. Still receiving that error when I boot.

This is kind of maddening 'cause there seems to be no reason for the issue. :(

fatTrav
11-07-2004, 05:59 PM
i must repeat my question of earlier: did you have any usb issues before you switched to udev or with an older kernel? this could be a kernel issue, i've found problems in the kernel before with certain things enabled (smp and adaptec scsi refuses to play nice)....

Dark Ninja
11-08-2004, 05:38 AM
Well, I didn't do as much checking as I am doing now, but I know I could never get my camera recognized before I switched to UDEV. So, that's why I didn't think it was udev causing the problem. (In fact, I was hoping it would supply the solution.)

That help at all?

fatTrav
11-08-2004, 10:26 AM
Yeah, it helps a bit. Maybe you don't have the right usb modules being loaded. Maybe the usb device is screwey. I have several usb devices that work perfect but when I attach my usb thumbdrive, dmesg has output that the pen drive is there but it refuses a device number. Go figure.

Check your kernel config to make sure you have everything needed. I can't think of anything else to do, this sounds like a kernel problem. Did you apply any patches to the kernel (non-gentoo emerge patches that were automagically applied)?

DimGR
11-09-2004, 11:46 PM
i do not know if that helps but 2.6.9 kernel uses uba1 instead of sda1.

I have my camera mounted as uba1

sda1 would not work