Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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..
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?
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/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.