USB devices in 2.5.xx do not show in /dev
I'm trying an 2.5.66-mm kernel on 1386
I have 3 USB devices connected.
The mouse works - mostly (no wheel support)
But scanner and printer do not work.
The modules scanner and usblp seem to load fine
Apr 6 14:14:37 lisaserver kernel: drivers/usb/core/usb.c: registered new driver usbscanner Apr 6 14:14:37 lisaserver kernel: drivers/usb/image/scanner.c: 0.4.11:USB Scanner Driver Apr 6 14:15:50 lisaserver kernel: drivers/usb/core/usb.c: registered new driver usblp Apr 6 14:15:50 lisaserver kernel: drivers/usb/class/usblp.c: v0.13: USB
Printer Device Class driver
but I do not get the devices under /dev to actually use them
I have a gentoo system that uses
* sys-apps/devfsd
Latest version available: 1.3.25-r3
Latest version installed: 1.3.25-r3to load /dev
any ideas?
thanks
Jens
Signature · 1 line
Jens Ansorg <[email protected]>
Quoted 15 lines · Jens Ansorg
I'm trying an 2.5.66-mm kernel on 1386
I have 3 USB devices connected.
The mouse works - mostly (no wheel support)
But scanner and printer do not work.The modules scanner and usblp seem to load fine
Apr 6 14:14:37 lisaserver kernel: drivers/usb/core/usb.c: registered new driver usbscanner Apr 6 14:14:37 lisaserver kernel: drivers/usb/image/scanner.c: 0.4.11:USB Scanner Driver Apr 6 14:15:50 lisaserver kernel: drivers/usb/core/usb.c: registered new driver usblp Apr 6 14:15:50 lisaserver kernel: drivers/usb/class/usblp.c: v0.13: USB
Quoted 4 lines
Printer Device Class driver
but I do not get the devices under /dev to actually use them
You have to have an actual device for the /dev node to show up. Do you have any USB devices plugged in? What does:
tree /sys/bus/usb/
show?
thanks,
greg k-h
Quoted 5 lines · Greg KH
You have to have an actual device for the /dev node to show up. Do you have any USB devices plugged in? What does:
tree/sys/bus/usb/
show?
yes, I have both, a scanner and a printer plugged into the computer
but there is nothing under /proc/bus/usb, it's empty
(there is no /sys/ on my PC?)
the usbview application also complains that there is no usbfs although it gets registered by the core usb driver
drivers/usb/core/usb.c: registered new driver usbfs
everything works with 2.4.20 - so the hardware is ok
thanks
Jens
Signature · 1 line
Jens Ansorg <[email protected]>
Quoted 10 lines · Jens Ansorg
Quoted 5 lines · Greg KH
You have to have an actual device for the /dev node to show up. Do you have any USB devices plugged in? What does:
tree/sys/bus/usb/
show?yes, I have both, a scanner and a printer plugged into the computer
but there is nothing under
/proc/bus/usb, it's empty
Please see:
http://www.linux-usb.org/FAQ.html#gs3
You probably have to mount usbfs yourself, as some distro's startup scripts seem to not like 2.5 and don't do it for you.
Quoted 1 line
(there is no
/sys/on my PC?)
Make the directory:
mkdir /sys
and then mount sysfs there:
mount -t sysfs none /sys
Edit your /etc/fstab to add it so that it is always mounted at startup.
Quoted 2 lines
the usbview application also complains that there is no usbfs although it gets registered by the core usb driver
Sounds like you don't have a USB host controller driver getting loaded, right? What does lsmod show?
thanks,
greg k-h
Quoted 2 lines · Greg KH
Sounds like you don't have a USB host controller driver getting loaded, right? What does lsmod show?
yea!!!
That's it!!!!
since the USB mouse basically worked I never thought that there is some usb stuf missing ...
and of course the controler module got renamed from 2.4.xx :))
everything works now and my scroll wheel issue got also solved by loading the host controller
Can now use 2.5 as the default system. I need it because the wlan driver seems much more stable than on my 2.4 system
thanks for the hints
Signature · 1 line
Jens Ansorg <[email protected]>