* re: 2.6.0-test 4 and USB
@ 2003-09-03 6:18 watermodem
2003-09-03 14:27 ` Blake B.
0 siblings, 1 reply; 7+ messages in thread
From: watermodem @ 2003-09-03 6:18 UTC (permalink / raw)
To: linux-kernel
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-03 6:18 2.6.0-test 4 and USB watermodem
@ 2003-09-03 14:27 ` Blake B.
2003-09-03 19:54 ` Bill Davidsen
0 siblings, 1 reply; 7+ messages in thread
From: Blake B. @ 2003-09-03 14:27 UTC (permalink / raw)
To: linux-kernel
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
-b-
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-03 14:27 ` Blake B.
@ 2003-09-03 19:54 ` Bill Davidsen
2003-09-03 20:27 ` Blake B.
2003-09-03 20:30 ` Greg KH
0 siblings, 2 replies; 7+ messages in thread
From: Bill Davidsen @ 2003-09-03 19:54 UTC (permalink / raw)
To: Blake B.; +Cc: linux-kernel
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@oddball.prodigy.com Wed Sep 3 15:47:22 2003
Subject: USB proc stuff
From: root <root@oddball.prodigy.com>
Date: Wed, 3 Sep 2003 13:19:15 -0400
To: davidsen@tmr.com
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
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 ..
oddball:root> lc /sys/b
block bus
oddball:root> lc /sys/bus/usb/
devices/ drivers/
oddball:root>
================================================================
I did the mount, checked that it worked, and the data still seems
missing. Before you ask, lc is an alias for "ls -CF" and a leftover
reflex from a previous o/s.
I did drag and drop on the mount command from the file you quote, o/s is
2.4.0-test4 with only Nick's v7 scheduler patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-03 19:54 ` Bill Davidsen
@ 2003-09-03 20:27 ` Blake B.
2003-09-04 0:01 ` Sean Neakums
2003-09-03 20:30 ` Greg KH
1 sibling, 1 reply; 7+ messages in thread
From: Blake B. @ 2003-09-03 20:27 UTC (permalink / raw)
To: Bill Davidsen; +Cc: linux-kernel
Hmm... once I mounted the usbfs, and had the proper modules loaded
(uhci-usb, etc...) /proc/bus/usb was populated.
My guess is the appropriate modules are not being loaded for whatever
hardware you/they have.
-b-
Bill Davidsen wrote:
>>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@oddball.prodigy.com Wed Sep 3 15:47:22 2003
> Subject: USB proc stuff
> From: root <root@oddball.prodigy.com>
> Date: Wed, 3 Sep 2003 13:19:15 -0400
> To: davidsen@tmr.com
>
> 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
> 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 ..
> oddball:root> lc /sys/b
> block bus
> oddball:root> lc /sys/bus/usb/
> devices/ drivers/
> oddball:root>
> ================================================================
>
> I did the mount, checked that it worked, and the data still seems
> missing. Before you ask, lc is an alias for "ls -CF" and a leftover
> reflex from a previous o/s.
>
> I did drag and drop on the mount command from the file you quote, o/s is
> 2.4.0-test4 with only Nick's v7 scheduler patch.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-03 20:27 ` Blake B.
@ 2003-09-04 0:01 ` Sean Neakums
2003-09-04 17:55 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Sean Neakums @ 2003-09-04 0:01 UTC (permalink / raw)
To: linux-kernel
"Blake B." <shadoi@nanovoid.com> writes:
> Hmm... once I mounted the usbfs, and had the proper modules loaded
> (uhci-usb, etc...) /proc/bus/usb was populated.
"usbdevfs", which is provided by the usbcore module (maybe usb-core)
--
Information wants to be left alone.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-04 0:01 ` Sean Neakums
@ 2003-09-04 17:55 ` Greg KH
0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2003-09-04 17:55 UTC (permalink / raw)
To: linux-kernel
On Thu, Sep 04, 2003 at 01:01:59AM +0100, Sean Neakums wrote:
> "Blake B." <shadoi@nanovoid.com> writes:
>
> > Hmm... once I mounted the usbfs, and had the proper modules loaded
> > (uhci-usb, etc...) /proc/bus/usb was populated.
>
> "usbdevfs", which is provided by the usbcore module (maybe usb-core)
"usbfs" == "usbdevfs"
The "usbdevfs" name will be going away in 2.7 so I encourage you to use
"usbfs" starting now (it also works in 2.4.)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test 4 and USB
2003-09-03 19:54 ` Bill Davidsen
2003-09-03 20:27 ` Blake B.
@ 2003-09-03 20:30 ` Greg KH
1 sibling, 0 replies; 7+ messages in thread
From: Greg KH @ 2003-09-03 20:30 UTC (permalink / raw)
To: Bill Davidsen; +Cc: Blake B., linux-kernel
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@oddball.prodigy.com Wed Sep 3 15:47:22 2003
> Subject: USB proc stuff
> From: root <root@oddball.prodigy.com>
> Date: Wed, 3 Sep 2003 13:19:15 -0400
> To: davidsen@tmr.com
>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-09-04 18:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-03 6:18 2.6.0-test 4 and USB watermodem
2003-09-03 14:27 ` Blake B.
2003-09-03 19:54 ` Bill Davidsen
2003-09-03 20:27 ` Blake B.
2003-09-04 0:01 ` Sean Neakums
2003-09-04 17:55 ` Greg KH
2003-09-03 20:30 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox