LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-08-2013, 09:04 PM   #1
alvin_cai
LQ Newbie
 
Registered: Jan 2013
Posts: 12

Rep: Reputation: Disabled
Help!Do not see dir /proc/bus/usb


I install the Fedora 18 in vmware
When I plug in one u-disk or usb-modem,I use lsusb:
Bus 001 Device 002: ID 12d1:1d50 Huawei Technologies Co., Ltd. ET302s TD-SCDMA/TD-HSDPA Mobile Broadband
Bus 001 Device 003: ID 1f75:0902
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

it means that the usb device can see.I want to see device info file /proc/bus/usb/devices,but I can not find the dir /proc/bus/usb,and I also can not mkdir /proc/bus/usb,it says No such file or directory.
So I try to add these
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
in /etc/fstab,and run 'mount -a',this happens
mount: mount point /proc/bus/usb does not exist
ok,then I run
mount -t usbdevfs none /proc/bus/ (I also try mount -t usbfs none /proc/bus/)
it unexpectedly says
mount: unknown filesystem type 'usbfs'
So I have no words....
Which boss can tell me how can I do ,what the question I had...
 
Old 07-08-2013, 09:36 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

why do you think /proc/bus/usb should exist? Why do you want it to exist? dmesg will tell you what device to use.

Evo2.
 
Old 07-08-2013, 10:12 PM   #3
alvin_cai
LQ Newbie
 
Registered: Jan 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

why do you think /proc/bus/usb should exist? Why do you want it to exist? dmesg will tell you what device to use.

Evo2.
Hi ,
because I want to see the file /proc/bus/usb/devices
I have a 3G dongle ,but I can not find the driver,it will show in devices file as usual.
So I want to use Fedora 18 to debug,but now,I can not find this file..
 
Old 07-08-2013, 10:37 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by alvin_cai View Post
Hi ,
because I want to see the file /proc/bus/usb/devices
I have a 3G dongle ,but I can not find the driver,it will show in devices file as usual.
As usual? So this has worked on Fedora 18 before? What instructions did you follow?

I missed it earlier but I see that this F18 install is inside vmware. So now I wonder why you are trying to access such a device from a virtual machine. Normally the virtual machine will not have access to physical network devices and instead use some sort of virtual network device bridged to the host machine (there are different configurations depending on the vm implementation the desire of the user). Can you explain in more detail what you are trying to do and why?

Evo2.
 
Old 07-11-2013, 12:42 AM   #5
alvin_cai
LQ Newbie
 
Registered: Jan 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi

Quote:
Originally Posted by evo2 View Post
Hi,


As usual? So this has worked on Fedora 18 before? What instructions did you follow?

I missed it earlier but I see that this F18 install is inside vmware. So now I wonder why you are trying to access such a device from a virtual machine. Normally the virtual machine will not have access to physical network devices and instead use some sort of virtual network device bridged to the host machine (there are different configurations depending on the vm implementation the desire of the user). Can you explain in more detail what you are trying to do and why?

Evo2.
No, I see the devices file in kernel 2.6.**.It seems that kernel 3.* has move away from /proc to /sys,usbfs has been deprecated in resent kernels .However , I find the info under dir /sys/kernel/debug/usb/

Thank you for help me .
 
1 members found this post helpful.
  


Reply



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 On
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 10:26 PM
/proc/bus/usb problem arunka Linux - Hardware 0 11-07-2005 06:54 AM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
No USB at all (/proc/bus/usb/devices missing) shrodi Linux - Hardware 1 05-26-2005 04:07 AM
/proc/bus/usb busy Commish66 Linux - General 2 09-18-2003 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration