Re: 2.6.0-test 4 and USB

From: Greg KH
Date: Wed Sep 03 2003 - 15:34:12 EST


On Wed, Sep 03, 2003 at 03:54:11PM -0400, Bill Davidsen wrote:
> On Wed, 3 Sep 2003, Blake B. wrote:
>
> > watermodem wrote:
> > > I forgot to note on the USB and CUPs problem that I see the USB tree
> > > under "/sys/bus/usb" where-as under /proc/bus/usb I see nothing.
> > > This may break a lot of existing code... Is is suppose to be this way?
> > >
> > >
> > >
> >
> > Read /linux-kernel-source/Documentation/usb/proc_usb_info.txt
>
> I must be missing something, the mount command from that file doesn't
> seem to solve the original poster's problem, the /proc/bus/usb is still
> empty...
>
> ================================================================
>
> >From root@xxxxxxxxxxxxxxxxxxx Wed Sep 3 15:47:22 2003
> Subject: USB proc stuff
> From: root <root@xxxxxxxxxxxxxxxxxxx>
> Date: Wed, 3 Sep 2003 13:19:15 -0400
> To: davidsen@xxxxxxx
>
> oddball:root> mount -t usbfs none /proc/bus/usb
> oddball:root> df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda3 2522076 2338380 55580 98% /
> /dev/hda1 23302 20030 2069 91% /boot
> /dev/hda5 1510032 265388 1167936 19% /home
> /dev/hdb3 1474320 897712 501716 65% /usr/src
> none 46776 0 46776 0% /dev/shm
> oddball:root> mount -t usbfs none /proc/bus/usb
> mount: none already mounted or /proc/bus/usb busy
> mount: according to mtab, none is already mounted on /proc/bus/usb

What does 'cat /proc/mounts' show?

> oddball:root> lc /proc/bus/usb
> oddball:root> l -aR /proc/bus/usb
> /proc/bus/usb:
> total 0
> drwxr-xr-x 2 root 0 Sep 3 13:17 .
> dr-xr-xr-x 6 root 0 Sep 3 13:17 ..

Do you have any USB host controller drivers loaded? That is necessary
for anything to actually show up in here :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/