Re: USB devices in 2.5.xx do not show in /dev

Greg KH (greg@kroah.com)
Sun, 6 Apr 2003 23:51:01 -0700


On Mon, Apr 07, 2003 at 08:21:26AM +0200, Jens Ansorg wrote:
> On Sun, 2003-04-06 at 22:16, Greg KH wrote:
> > 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.

> (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.

> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/