Re: [PATCH 4/4] USB: export autosuspend delay in sysfs

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Samstag, 24. Februar 2007 01:08 schrieb Alan Stern:
> > > (although this is deprecated and will vanish in July -- we may want to add
> > > a new attribute file just for USB devices so that people won't lose the
> > > ability to do selective suspends and resumes).  Even if you are just a
> > > normal user, opening a device's usbfs file will resume that device.  And
> > > running any program based on libusb -- such as lsusb -- will wake up all
> > > suspended USB devices.
> > 
> > Oh, that's a fun hack, yeah, that worked...  But try to document that
> > one in a simple way.
> > 
> > I still think that once we write to the autosuspend file, the timer
> > should start over, with power enabled.  If this means turning it back
> > on, we should.  Otherwise, it's very confusing.
> 
> Okay, I'll change it.  Stay tuned...

Coming to think of it, maybe the confusion could be avoided, if
zero were accepted as a permissible value for autosuspend delay.
Is there a reason there has to be a delay?

	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
_______________________________________________
[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.