On Wed, Feb 13, 2008 at 08:00:14PM +0100, Till Maas wrote: > Afaik it is already possible to distinguish systems by their video card and > used driver within the hal whitelist. But it case there are several video > cards installed, it is not possible to apply differents quirks to different > video cards. But this is also a limitation of some quirks, e.g. > > <match key="/org/freedesktop/Hal/devices/pci_10de_322:info.linux.driver" > string="nvidia"> > > is recognized on my desktop that uses an nvidia video card with the binary > driver. In general, it should be possible to match agains anything that is > stored in hal, I used lshal to find out what I can use to match agains my > video card.
Right, I do not see where in the HAL source code that is determined. I can see the quirks in hal-info/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi and follow the invocation chain back to hal/tools/hal-system-power-suspend but I cannot see where that tool is invoked from or (more critically) how the HAL_PROP_POWER_MANAGEMENT_QUIRK family of environment variables are created from the descriptions in the hal-info quirks files. Am I missing something obvious in the hal source code? > Regards, > Till > > > > > > _______________________________________________ > Pm-utils mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/pm-utils -- Victor Lowther Ubuntu Certified Professional _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
