Re: [PATCH] USB: Only enable autosuspend by default on certain device classes
Greg KH <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 18, 2007 at 01:17:31AM -0700, David Brownell wrote: > On Friday 03 August 2007, Greg KH wrote: > > > option is for ?** /proc/bus/usb ** files ... note that despite the > > > strangeness in that text (usbfs still hasn't been "replaced", so > > > that should say "will eventually be replaced" not "is replaced"), > > > it's clear that /proc/bus/usb/ and /dev/bus/usb/ are two different > > > things. ?And thus: ?that Ubuntu's /dev/bus/usb/ setup is flakey. > > > > Hm, if you look at SuSE and Fedora, they too are putting usbfs in > > /dev/bus/usb/ now, not mounting the filesystem, but using the device > > nodes for access due to ACLs for local users. > > > > libusb works just fine with this, and I think that all other programs > > that directly access the old /proc/bus/usb mount are fixed up, with the > > exception of usbview (but I do have patches floating around for that to > > solve it.) > > Nobody's submitted any patches to make "lsusb" work with > this new /dev/bus/usb/ option though. And there are various > other programs floating around too. Hm, there's got to be a patch in the suse tree that fixed this up, I'll try to find it. > Was there actually a need to change /proc/bus/usb and thus > start breaking things? Yes, /proc/bus/usb can not handle a per-device-node permission setting, like a "normal" /dev can. thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel