linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB devices in 2.5.xx do not show in /dev
@ 2003-04-06 12:36 Jens Ansorg
  2003-04-06 20:16 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Ansorg @ 2003-04-06 12:36 UTC (permalink / raw)
  To: linux-kernel

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-r3

to load /dev


any ideas?

thanks
Jens



-- 
Jens Ansorg <jens@ja-web.de>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: USB devices in 2.5.xx do not show in /dev
  2003-04-06 12:36 USB devices in 2.5.xx do not show in /dev Jens Ansorg
@ 2003-04-06 20:16 ` Greg KH
  2003-04-07  6:21   ` Jens Ansorg
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2003-04-06 20:16 UTC (permalink / raw)
  To: Jens Ansorg; +Cc: linux-kernel

On Sun, Apr 06, 2003 at 02:36:23PM +0200, Jens Ansorg wrote:
> 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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: USB devices in 2.5.xx do not show in /dev
  2003-04-06 20:16 ` Greg KH
@ 2003-04-07  6:21   ` Jens Ansorg
  2003-04-07  6:51     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Ansorg @ 2003-04-07  6:21 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

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

(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

-- 
Jens Ansorg <jens@ja-web.de>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: USB devices in 2.5.xx do not show in /dev
  2003-04-07  6:21   ` Jens Ansorg
@ 2003-04-07  6:51     ` Greg KH
  2003-04-07 18:57       ` Jens Ansorg
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2003-04-07  6:51 UTC (permalink / raw)
  To: Jens Ansorg; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: USB devices in 2.5.xx do not show in /dev
  2003-04-07  6:51     ` Greg KH
@ 2003-04-07 18:57       ` Jens Ansorg
  0 siblings, 0 replies; 5+ messages in thread
From: Jens Ansorg @ 2003-04-07 18:57 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux kernel mailing list

On Mon, 2003-04-07 at 08:51, Greg KH wrote:

> 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



-- 
Jens Ansorg <jens@ja-web.de>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-07 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06 12:36 USB devices in 2.5.xx do not show in /dev Jens Ansorg
2003-04-06 20:16 ` Greg KH
2003-04-07  6:21   ` Jens Ansorg
2003-04-07  6:51     ` Greg KH
2003-04-07 18:57       ` Jens Ansorg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).