/proc/bus/usb gone missing
Bug #541580 reported by
gdesilva
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
I have been using Plextor USB device successfully which requires usbfs mount on /proc/bus/usb to do a firmware reload. After the kernel upgrade to 2.6.31-20 I found that usbfs mount fails as there is no /proc/bus/usb available. I reverted back to 2.6.31-19 and the problem disappears - ie. /proc/bus/usb is available for usbfs mount.
Any suggestions on how to fix this?
Thanks
1) I'm also facing the Exact same issue after Kernel upgrade.
2) I would also like to add that Samsung Phone 5600 keeps on restarting when detected as Mass Storage, but it works fine with XP (this is happening with the earlier Kernel versions also)
Please help
Thanks
description: | updated |
affects: | ubuntu → linux (Ubuntu) |
tags: | added: kernel-series-unknown |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
It appears that the same problem has occurred with earlier versions of the 64bit OS. I am told that in later versions of kernel /proc/bus/usb will not be available. However, a workaround of sorts for this has been already found https:/ /bugs.launchpad .net/ubuntu/ +s...ux/ +bug/507824
The solution is as follows;
It is not a long term solution, but I found another solution, for getting /proc/bus/usb back again and no need for usbfs.
First I put my user to sudoers for /bin/mount and /bin/umount
Then I changed my scanner script to do the magic.
Before running my scanner the script will do:
sudo mount --bind /dev/bus /proc/bus
while on exit of the script it fires the command:
sudo umount -l /proc/bus
mount --bind /dev/bus /proc/bus or
mount --bind /dev/bus/usb /proc/bus/usb
will make /proc/bus/usb accessible /proc/bus/usb for some hardware (although this will cause the other directories under /proc/bus to be hidden). So you should umount again, after use.
It is a reasonable workaroud and worked fine for me. Just should make sure to unmount after using the device otherwise /proc/bus/pci and /proc/bus/input etc gets hidden!