Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No /proc/bus/usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
xmaes
n00b
n00b


Joined: 13 Aug 2008
Posts: 69
Location: Madrid

PostPosted: Sun May 30, 2010 4:13 pm    Post subject: No /proc/bus/usb Reply with quote

Hello,

I have a problem with virtualbox, i cant access usb devices as a normal user (only as root).
My user is part of the usb and virtualbox group.

I was reading this post

https://forums.gentoo.org/viewtopic-t-799244-highlight-usbfs+virtualbox.html

and this guide

http://www.gentoo.org/doc/en/usb-guide.xml

and i am stucked at this part

Quote:
Warning: lsusb reads the information for the USB devices from /proc/bus/usb. If you have not enabled that in your kernel, chances are that lsusb may not work at all. Please ensure you have /proc filesystem support enabled in your kernel and that usbfs is mounted at /proc/bus/usb (which should happen automatically).


lsusb is working
Quote:
desktop xavier # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 050d:3201 Belkin Components F1DF102U/F1DG102U Flip KVM
Bus 001 Device 005: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 001 Device 006: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 001 Device 003: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 001 Device 002: ID 0424:2524 Standard Microsystems Corp. USB MultiSwitch Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


but i dont have a /proc/bus/usb

Quote:
desktop xavier # ls -l /proc/bus/
total 0
dr-xr-xr-x 2 root root 0 May 30 16:01 input
dr-xr-xr-x 7 root root 0 May 30 16:01 pci
desktop xavier #


and my fstab
Quote:
/dev/sr0 /media/cdrom auto noauto,ro,users 0 0
/dev/md0 /boot ext2 noauto,noatime 1 2
/dev/mapper/vg-swap none swap sw,pri=1 0 0
/dev/mapper/vg-gentoo / ext3 noatime,user_xattr 0 0
/dev/mapper/vg-home /home/data xfs noatime 0 0
/dev/md3 /home/xavier/agilent ext3 noatime,user_xattr 0 0
#tmpfs /var/tmp/portage tmpfs size=75555500M,mode=0777 0 0
#/dev/sdg1 /mnt/backup ext3 noatime,user_xattr 0 0

#/dev/mapper/vg-home /var/ftp xfs noatime 0 0
#/dev/sdg1 /mnt/win vfat noatime,uid=1000,gid=100 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0


and my .config and "emerge --info" (just in case)

http://pastebin.com/jeXTQtz5

http://pastebin.com/9TqfAiBB


Is my problem with virtualbox related to /proc/bus/usb not beeing mounted ?
If so what should i do to correct the problem ( add a line in fstab) ?

Thank you,

Xavier
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun May 30, 2010 5:29 pm    Post subject: Reply with quote

Get unstuck then - that part of the guide is most likely
outdated. See usbutils changelog.

/proc/bus/usb/ is controlled by CONFIG_USB_DEVICEFS - marked as deprecated;
according to kernel note, udev handles it by itself.
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 354
Location: Roma, Italy

PostPosted: Wed Feb 17, 2016 5:52 pm    Post subject: Reply with quote

VoidMage wrote:
Get unstuck then - that part of the guide is most likely
outdated. See usbutils changelog.

/proc/bus/usb/ is controlled by CONFIG_USB_DEVICEFS - marked as deprecated;
according to kernel note, udev handles it by itself.


same problem here, I really don't understand how to solve... I just updated my system and now nothing works.
Maybe i'm too old for this.
Udev handles itself. How?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum