View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 11-05-2005, 08:54 PM   #1
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
where is /proc/bus/usb/devices????

a critical problem has come to my attention. For some reason, there is no /proc/bus/usb/devices. in fact,
[CODE]bash# lsusb
does exactly what it looks like: returns NOTHING.

bash-3.00# cd /proc/bus/usb
bash-3.00# ls
nothing there!!! The funny thing is that most of my USB devices run just fine. All this time, my usb pendrive recognizes under /dev/sda1 and my joypad and joystick recognize under /dev/js0. So where is /proc/bus/usb/devices???

here's my lsmod output:
Module                  Size  Used by
ipaq                   30608  0
ppp_async               9216  0
crc_ccitt               1920  1 ppp_async
ppp_generic            24596  1 ppp_async
slhc                    6656  1 ppp_generic
usbserial              27496  1 ipaq
fglrx                 254376  14
wlan_wep                5376  1
snd_pcm_oss            48544  0
snd_mixer_oss          17792  3 snd_pcm_oss
nfsd                   89800  8
exportfs                4736  1 nfsd
ohci_hcd               18952  0
intel_agp              20252  1
usb_storage            67008  0
eth1394                17800  0
uhci_hcd               29712  0
ehci_hcd               28808  0
usbcore               104824  7 ipaq,usbserial,ohci_hcd,usb_storage,uhci_hcd,ehci_hcd
hw_random               4500  0
shpchp                 78940  0
pci_hotplug             9988  1 shpchp
ath_pci                53152  0
ath_rate_amrr           7044  1 ath_pci
wlan                  107484  4 wlan_wep,ath_pci,ath_rate_amrr
ath_hal               146640  2 ath_pci
snd_emu10k1           113796  4
snd_rawmidi            20128  1 snd_emu10k1
snd_seq_device          7436  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         82940  1 snd_emu10k1
snd_pcm                81800  5 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer              20996  2 snd_emu10k1,snd_pcm
snd_page_alloc          7940  2 snd_emu10k1,snd_pcm
snd_util_mem            3584  1 snd_emu10k1
snd_hwdep               7456  1 snd_emu10k1
snd                    48004  11 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
ohci1394               31108  0
ieee1394               93752  2 eth1394,ohci1394
eepro100               27152  0
mii                     4224  1 eepro100
evdev                   7680  0
lp                      9156  0
parport_pc             25156  1
parport                32456  2 lp,parport_pc
ide_scsi               13700  0
agpgart                28840  2 fglrx,intel_agp
apm                    18412  2
it is obvious that the usb hub is recognized b/c I have the usbcore module running, and I think uhci_hcd is my usb-2.0 module. Can somebody tell me why I do not have a /proc/bus/usb/devices file?? it seems I should since I have usb compiled into my kernel....
Old 11-06-2005, 02:02 PM   #2
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
Your usb pendrive is recognized but is treated as a SCSI device

Try (when connected) :
cat /proc/scsi/usb-storage/*
Old 11-06-2005, 02:14 PM   #3
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Your kernel might not have the usb device filesystem enabled. The help for that option states that it creates the /proc/bus/usb/devices
Old 11-06-2005, 06:41 PM   #4
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30

Yeah, I was absolutely positive about the same thing at first. But it turns out that I compiled my kernel with usbdevfs support (I checked make xconfig just to be sure). Also, at one point since my last kernel upgrade, I was able to cat /proc/bus/usb/drivers... so I must have had the support at one time or another... could I have deleted this file unknowingly?? and if so, is there anything I can do to get it back short of recompiling my kernel?
Old 12-04-2005, 10:26 PM   #5
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
well this was an easy fix:

Apparently I had thought that the usb filesystem was mounted by: mount usbdevfs none /proc/bus/usb
Instead the filesystem that is mounted is usbfs. Changing that fixed everything!

Stupid Zach... stupid...


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
cannot open /proc/bus/usb/devices, No such file or directory aspartat Linux - Software 2 11-02-2005 12:57 PM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
question on /proc/bus/usb/devices file ryan_a_hH Linux - Hardware 2 01-21-2005 01:49 PM
USB scanner not in /proc/bus/usb/devices psweetma Linux - Hardware 4 02-25-2004 04:47 PM
/proc/bus/usb/devices missing shellcode Linux - General 11 02-24-2004 10:15 PM

All times are GMT -5. The time now is 12:41 PM.

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