Subject: Re: PNP power management API for drivers
To: Joerg Sonnenberger <email@example.com>
From: Matt Thomas <firstname.lastname@example.org>
Date: 10/05/2007 14:24:01
> email@example.com said:
>> bool pnp_device_register(dev_t, bool (*suspend)(dev_t),
>> bool (*resume)(dev_t));
is dev_t supposed to be device_t?
How do you control which D1,D2,D3 state to suspend to?
register should indicate which states are supported?
How do you deal with, say, an audio device which is inactive
so it wants to automatically powers itself down? does it need
to go through the system pnp calls or can it do a private suspend
behind the system's back.
I think a reprobe is also needed. (think a laptop docking station)