2.6.31-rc0-git: lsusb stopped working?
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usb does not seem to exists.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 4 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.
Newer (as in the past 2 years) versions of lsusb should not need /proc/bus/usb/
What version of usbutils are you using?
thanks,
greg k-h
Quoted 10 lines · Greg KH
Quoted 4 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Newer (as in the past 2 years) versions of lsusb should not need
/proc/bus/usb/What version of usbutils are you using?
Oh, and if you really need it back, it's under CONFIG_EMBEDDED now.
Hope this helps,
greg k-h
Quoted 10 lines · Greg KH
Quoted 4 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Newer (as in the past 2 years) versions of lsusb should not need
/proc/bus/usb/What version of usbutils are you using?
root@amd:/home/pavel# lsusb --version lsusb (usbutils) 0.73 root@amd:/home/pavel#
I may have done something stupid with not runing udev and linking /proc/bus/usb to /dev, instead...
But it is not only usbutils that is broken, I first noticed breakage on android fastboot.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 10 lines · Pavel Machek
Quoted 9 lines · Greg KH
Quoted 4 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Newer (as in the past 2 years) versions of lsusb should not need
/proc/bus/usb/
Quoted 8 lines
Quoted 1 line
What version of usbutils are you using?
root@amd:/home/pavel# lsusb --version lsusb (usbutils) 0.73 root@amd:/home/pavel#I may have done something stupid with not runing udev and linking
/proc/bus/usbto /dev, instead...
the opensuse FACTORY tree now has a more modern version of usbutils in it, which works just fine without usbfs mounted.
Quoted 2 lines
But it is not only usbutils that is broken, I first noticed breakage on android fastboot.
Android needs it? That's crazy, given that they don't have any usb host controllers in their devices. Very wierd...
Android is also an embedded device, so you should be able to select the option already on their builds, right?
Anyway, this change is going to be reverted, it is already queued up to go to Linus early next week. Just need to test some other pending patches as well.
thanks,
greg k-h
Hi!
Quoted 14 lines
Quoted 14 lines
Quoted 9 lines
Quoted 4 lines
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Newer (as in the past 2 years) versions of lsusb should not need
/proc/bus/usb/What version of usbutils are you using?
root@amd:/home/pavel# lsusb --version lsusb (usbutils) 0.73 root@amd:/home/pavel#
Quoted 5 lines
Quoted 2 lines
I may have done something stupid with not runing udev and linking
/proc/bus/usbto /dev, instead...the opensuse FACTORY tree now has a more modern version of usbutils in it, which works just fine without usbfs mounted.
Well, this is heavily hacked debian :-)
Quoted 5 lines
Quoted 2 lines
But it is not only usbutils that is broken, I first noticed breakage on android fastboot.
Android needs it? That's crazy, given that they don't have any usb host controllers in their devices. Very wierd...
fastboot runs on PC and uploads kernels to Android device(s).
Quoted 3 lines
Anyway, this change is going to be reverted, it is already queued up to go to Linus early next week. Just need to test some other pending patches as well.
Thanks!
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 15 lines · Pavel Machek
Hi!
Quoted 14 lines
Quoted 14 lines
Quoted 9 lines
Quoted 4 lines
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Newer (as in the past 2 years) versions of lsusb should not need
/proc/bus/usb/What version of usbutils are you using?
root@amd:/home/pavel# lsusb --version lsusb (usbutils) 0.73 root@amd:/home/pavel#
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
I may have done something stupid with not runing udev and linking
/proc/bus/usbto /dev, instead...the opensuse FACTORY tree now has a more modern version of usbutils in it, which works just fine without usbfs mounted.
Well, this is heavily hacked debian :-)
Take it up with the Debian maintainers then, there are newer usbutils packages availble somewhere...
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
But it is not only usbutils that is broken, I first noticed breakage on android fastboot.
Android needs it? That's crazy, given that they don't have any usb host controllers in their devices. Very wierd...
fastboot runs on PC and uploads kernels to Android device(s).
Oh, that program. That sounds like a Debian configuration issue.
good luck,
greg k-h
Quoted 3 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.
Correct. usbfs has been removed in 2.6.31.
It's strange that lsusb no longer works for you. I've verified that on Debian stable (Lenny) it does still work after I unmount /proc/bus/usb. I guess Debian must have a newer version of usbutils, or one built with libusb support.
The fact that your USB devices work means they do have libusb support.
$ dpkg -l usbutils ii usbutils 0.73-10 Linux USB utilities
Note that /proc/bus/usb/devices has been moved to debugfs and there's also work being done (see linux-usb archive) on a script that can list equivalent info by walking /sys.
For all the above: AFAIK and IIUC :-)
Cheers,
FJP
Quoted 6 lines · Frans Pop
Quoted 3 lines · Pavel Machek
On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
/proc/bus/usbdoes not seem to exists.Correct. usbfs has been removed in 2.6.31.
To be pedantic, no, the filesystem has not been "removed". Only the user-mountable filesystem option has been moved under CONFIG_EMBEDDED, as there should not be any userspace code that still uses that interface into usbfs.
The recommended solution is to use the device nodes for usbfs, which have been around for a few years now, and usually show up under /dev/bus/usb/ and have the proper ACL and permissions that the filesystem nodes can't have for a variety of reasons.
If for some reason you can not use the /dev/bus/usb/ device nodes, you can enable the config option by turning on CONFIG_EMBEDDED.
Hope this helps,
greg k-h
Quoted 2 lines · Greg KH
If for some reason you can not use the
/dev/bus/usb/device nodes, you can enable the config option by turning onCONFIG_EMBEDDED.
Wasn't CONFIG_EMBEDDED defined as an option to enable _removing_ useful stuff normal people do not want to remove? I for one would never imagine going there to put back legacy stuff.
OG.
Quoted 7 lines · Olivier Galibert
Quoted 2 lines · Greg KH
If for some reason you can not use the
/dev/bus/usb/device nodes, you can enable the config option by turning onCONFIG_EMBEDDED.Wasn't
CONFIG_EMBEDDEDdefined as an option to enable _removing_ useful stuff normal people do not want to remove? I for one would never imagine going there to put back legacy stuff.
Yes, it surprised me, too.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 7 lines · Olivier Galibert
Quoted 2 lines · Greg KH
If for some reason you can not use the
/dev/bus/usb/device nodes, you can enable the config option by turning onCONFIG_EMBEDDED.Wasn't
CONFIG_EMBEDDEDdefined as an option to enable _removing_ useful stuff normal people do not want to remove? I for one would never imagine going there to put back legacy stuff.
It works the same way, we really want this option to be disabled, as it is not needed on "modern" systems. But if you want it back, like on some embedded systems that have only local root users, then CONFIG_EMBEDDED will allow you to do that.
thanks,
greg k-h