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 Mon, Aug 20, 2007 at 05:11:17PM -0700, David Brownell wrote: > On Monday 20 August 2007, Greg KH wrote: > > > > > 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. > > I don't follow. Switching the mount point for usbfs can't possibly > change how it records permissions and ownership. No, the mount point is not switched at all, I think we are getting things confused here. > But switching the mount point, and installing a ratsnest of cross > links and hidden mounts, *does* break some programs and also makes > it a PITA to do things like restart USB from scratch. Again, no mount point is changed at all, usbfs is just not mounted at all anymore. Access to the usbfs files are now through device nodes, not usbfs file handles, that are created by udev in /dev/bus/usb/. Hope that helps explain things, 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