Re: [PATCH] USB: Only enable autosuspend by default on certain device classes
David Brownell <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday 20 August 2007, Greg KH wrote: > 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. Right. My original complaint was "WTF is Ubuntu Feisty doing, changing the mount point for usbfs and breaking things?". > > 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, On Ubuntu, it most certainly is changed. Hence my comment about the broken behavior. SuSE would seem to be doing something different. :) - Dave > 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