Re: [Kernel-hackathon] TODO: power managment

Top Page
Attachments:
+ (text/plain)

Reply to this message
Author: Andrés Moré
Date:  
To: Mailing list for the VIA dongle driver hackathon
Subject: Re: [Kernel-hackathon] TODO: power managment
Besides USB .suspend/.resume/.reset_resume methods, I've seen at
Documentation/usb/power-management.txt recommends also implementing
usb_autopm_get/put/set/*_interface to enable autosuspend/autoresume.

Do you think we should also try to implement those?
The reference driver you pointed does not seem to use them.

I will work on getting an initial implementation of
.suspend/.resume/.reset_resume.

-- Andres

On Tue, Sep 8, 2009 at 4:03 PM, Christoph Hellwig<hch@???> wrote:
> One thing that we've so far ignored is power managed, that is surviving
> suspend/resums.  That's were our USB anchors will come in handy - take
> a look at drivers/net/wireless/ath/ar9170/usb.c how to poison/unpoison
> them.  We'll also need to re-init the device - the vendor driver uses
> the open routine for that (similar to what we do in probe).  I'm not
> entirely sure how we'd want to structure it but I'm sure someone will
> find a way.
> _______________________________________________
> Kernel-hackathon mailing list
> Kernel-hackathon@???
> https://mx.grulic.org.ar/mailman/listinfo/kernel-hackathon
>




--
Andres