Am Dienstag, 23. Januar 2007 21:56 schrieb David Brownell:
> On Tuesday 23 January 2007 10:29 am, Alan Stern wrote:
> > On Tue, 23 Jan 2007, David Brownell wrote:
> > 
> > > On Tuesday 23 January 2007 3:45 am, Oliver Neukum wrote:
> > > \
> > > > @@ -185,6 +218,8 @@
> > > >  usb_descriptor_attr(bMaxPacketSize0, "%d\n")
> > > >  
> > > >  static struct attribute *dev_attrs[] = {
> > > > + /* power management attributes */
> > > > + &dev_attr_autosuspend.attr,
> > > 
> > > Belongs in /sys/devices/.../power/... then, right?
> > 
> > That was my thought as well.  However I don't know how you would do it, 
> > since the PM core owns the "power" attribute group.  There doesn't appear 
> > to be any way to add sysfs files to a group after it has been created.
> 
> Doesn't need to be part of a group ...

But power belongs to the core. On the other hand I see really no reason the
autosuspend code is specific to USB. Would you like to raise the issue with
the PM people?

        Regards
                Oliver

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to