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 06:10:00PM -0700, David Brownell wrote:
> 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?".

Ah, yeah, sorry, yes, I have the same WTF feeling about Ubuntu in this
regards as well :)

> > > 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.  :)

Along with all the other distros, Ubuntu is the odd one here :(

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.