Re: [PATCH] USB: add usbfs stubs for suspend, resume, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Mon, 3 Dec 2007, Oliver Neukum wrote:

> Am Montag, 3. Dezember 2007 21:43:11 schrieb Alan Stern:
> > THis patch (as1022) adds stub methods for suspend/resume/reset_resume
> > and pre-rreset/post-reset to the usbfs_driver.  There isn't much they
> > can do, since there's no way to inform a user task about any of these
> In this case, shouldn't resume/reset_resume/post_reset report
> errors?

Well, no.  That would be just as bad as not having the stubs in the 
first place.

Not only is it impossible to tell user-level drivers about suspend, 
etc. events, it's also not possible to tell them that they have been 
unbound!  So I wanted to be conservative and keep the kernel's current 
behavior: The suspend/resume/reset happens and the user-level driver is 
blissfully igorant of it.

Alan Stern

SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
To unsubscribe, use the last form field at:

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux