Video PM methods
Richard Hughes
hughsient at gmail.com
Tue Apr 25 13:09:20 PDT 2006
On Tue, 2006-04-25 at 16:04 -0400, David Zeuthen wrote:
> On Tue, 2006-04-25 at 00:32 +0100, Richard Hughes wrote:
> > As discussed last week, we should move the display matching to HAL so we
> > can match video devices using fdi files.
> >
> > I've attached two method scripts (for suspend and resume) and an fdi
> > file. It only matches on Intel 855GM (change this to whatever), but if
> > you drop the files into your hal install this stuff just works.
> >
> > I can suspend and resume the video on my laptop using a simple DBUS
> > method:
> >
> > dbus-send --system --print-reply --dest=org.freedesktop.Hal \
> > /org/freedesktop/Hal/devices/pci_8086_3582
> > org.freedesktop.Hal.Device.VideoAdapterPM.SuspendVideo
> >
> > I've attached the files for comments.
>
> You need to patch the dbus policy configuration file too.
Ahh yes, forgot about that.
> And check in the script that only uid 0 can invoke methods on this interface.
Sure thing.
> I'd also like to see this cover all that pm-tools is now covering, e.g. ATI,
> NVidia, Intel and probably VIA too.
pm-tools only deals with intel, nvidia, and ati, unless I'm missing
something -- or do you mean the other DPMS on/off methods?
Richard.
More information about the hal
mailing list