Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB/hotplug not detecting devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Tue Nov 01, 2005 3:03 pm    Post subject: USB/hotplug not detecting devices Reply with quote

When I plug in a USB device, the kernel doesn't do anything with it, I get no log messages. I must be missing something stupid, but I can't figure it out. I should note I had this working on this system (amd64, nvidia nforce3-250 chipset) before my HD crashed and I had to reinstall gentoo.

kernel has USB support:

Code:
% grep USB /usr/src/linux/.config | grep -v \#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_EGALAX=m
CONFIG_USB_OV511=m
CONFIG_USB_MON=y
CONFIG_USB_LEGOTOWER=m
CONFIG_USB_CYTHERM=m
CONFIG_USB_PHIDGETSERVO=m


kernel has hotplug support:

Code:
% grep HOTPLUG /usr/src/linux/.config | grep -v \#
CONFIG_HOTPLUG=y


Hotplug is set to start on boot:

Code:
% /etc/init.d/hotplug status
 * status:  started


log messages show usb system initializing itself:

Code:
% dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbmon: debugs is not available
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
SLPB HUB0 HUB1 USB0 USB1 USB2 F139 MMAC MMCI UAR1
usbcore: registered new driver spca5xx
/var/tmp/portage/spca5xx-20050701/work/spca5xx-20050701/drivers/usb/spca5xx.c: spca5xx driver 00.57.00 registered
ehci_hcd 0000:00:02.2: nVidia Corporation nForce3 EHCI USB 2.0 Controller
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found


After powering on my USB printer and connecting my digital camera (powershot A40) via USB, I get no additional log messages. Also:

Code:
% cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.12-gentoo-r6 ehci_hcd
S:  Product=nVidia Corporation nForce3 EHCI USB 2.0 Controller
S:  SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms


So, usb-devfs is working, but only the hub is present.

I have tried unmerge/remerge libusb and hotplug, no joy.

I'd be glad for any ideas!

thanks,
LMCBoy
_________________
LMCBoy
Back to top
View user's profile Send private message
die_vms_die
Apprentice
Apprentice


Joined: 16 Nov 2002
Posts: 189
Location: MS

PostPosted: Wed Nov 02, 2005 12:39 am    Post subject: Re: USB/hotplug not detecting devices Reply with quote

kernel has USB support:

Code:
% grep USB /usr/src/linux/.config | grep -v \#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y


Hotplug doesn't load usb_ohci, usb_ehci, or usb_ehci on my machine either.
How would it, if the bus isn't up.

usb_storage and usb_hid should load with hotplug when needed.

BTW you only need ohci or uhci.
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Sun Nov 13, 2005 10:42 pm    Post subject: Re: USB/hotplug not detecting devices Reply with quote

die_vms_die wrote:
Hotplug doesn't load usb_ohci, usb_ehci, or usb_ehci on my machine either.
How would it, if the bus isn't up.


I don't understand. The bus *is* up. It's the only thing up.

Quote:
usb_storage and usb_hid should load with hotplug when needed.

BTW you only need ohci or uhci.


usb_storage and usb_hid are compiled into my kernel, they are not modules.
_________________
LMCBoy
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Sun Nov 13, 2005 11:33 pm    Post subject: Re: USB/hotplug not detecting devices Reply with quote

LMCBoy wrote:
usb_storage and usb_hid are compiled into my kernel, they are not modules.


Update: On a whim, I recompiled the kernel, making usb_storage and usb_hid modules. It made no difference.

If anyone has an idea why my hotplug is completely silent, I'd love to hear it...
_________________
LMCBoy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum