LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-01-2004, 07:26 PM   #1
jg167
Member
 
Registered: Jun 2004
Posts: 40

Rep: Reputation: 15
/proc/bus/usb is empty under 2.6.7 (but only one 1 sys)


When I switched from 2.4.25 to a 2.6.7 kernel I remember some /proc issues but nothing usge (/sys is now there as well of course). I have two boxes, a Dell PC and a EPIA mini-itx board. Both running the same 2.6.7 kernel (I didn't sync thier /lib/modules dir though... hmmm). One the Dell /proc/bus/usb and all its children shows up fine (as well as /sys/bus/usb) but on the mini-itx /proc/bus/usb is empty!!! My usblib programs (whtih things line find usb_find_busses().. etc) don't work of course. What do I need to do (that I clearly DID do at one time, but its come undone on mini-itx board sys somehow) to get full /proc/bus/usb support back? On the mini-itx /sys/bus/usb seems to ahve the correct stuff in it and usb IS working on the box.

i suppose its posible this has never worked on the mini-itx, I really don't remember for sure, but I think it has.

configs
Dell 4600 p4
2.6.7
RH9+upgrades
pcmcia-cs 3.6.7

EPIA mini-itx (MII-100000)
2.6.7
RH9 min+upgrades
pcmcia-cs 3.6.7
 
Old 08-01-2004, 07:30 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
In the /etc/fstab file, add the line:
Code:
usbfs                /proc/bus/usb        usbfs      noauto                0 0
Then, as root, run:
Code:
mount /proc/bus/usb
This will work provided that you have all the appropriate kernel modules loaded.

Robert J. Lee
 
Old 08-01-2004, 07:43 PM   #3
jg167
Member
 
Registered: Jun 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Wow, fast reply and it WORKED! now thats service. thanks.

but but. on my Dell I have no such /etc/fstab line, just the usual /proc line.
The Dell runs at init 5 while the min-itx stays at 3, but I don't expect that
is the issue.

Last edited by jg167; 08-01-2004 at 11:57 PM.
 
Old 08-02-2004, 04:29 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
You probably have the /proc/bus/usb filesystem mounted as part of the start-up scripts then. Alternatively, it may have been mounted manually with a "mount" command as the system was running.

Putting it in /etc/fstab is more common, and guarentees that it will be re-mounted when the system reboots.

Robert J. Lee
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
where is /proc/bus/usb/devices???? mrchaos Linux - Software 4 12-04-2005 11:26 PM
/proc/bus/usb problem arunka Linux - Hardware 0 11-07-2005 07:54 AM
/proc/bus/usb#...empty, after upgrade to 2.6.10 wombat53 Slackware 5 07-23-2005 05:54 PM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 12:28 PM
apcupsd /sys/bus/usb/drivers/hiddev missing Toscana Linux - Hardware 3 07-16-2004 08:56 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration