Thread: how to add a quirk option to pm-suspend?
i've discoveredfixes issues i've been having resuming suspend (namely video display never came on).code:sudo pm-suspend --quirk-save-pci
awesome, except can't figure out how ubuntu 9.10 use option.looks promising, causes display show graphic gibberish , laptop doesn't go suspend @ all.code:sudo pm-suspend --quirk-save-pci--store-quirks-as-fdi
i've got toshiba satellite m110, took peak at
/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-toshiba.fdi
none of system.hardware.product seem match system... , don't know go there.
kicks tried commenting out of sleep.sh except, didn't alter suspend behavior.code:pm-suspend --quirk-save-pci
so, how ubuntu use specific quirk option when going suspend?
so, got working modifying /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-toshiba.fdi so:
all false values required because while suspend worked --save-pci option did not work , default options 99-video-quirk-default.fdi adding. specifying these parameters false prevented 99-video-quirk-default.fdi adding them.code:<?xml version="1.0" encoding="iso-8859-1"?> <!-- -*- sgml -*- --> <deviceinfo version="0.2"> <device> <match key="system.hardware.vendor" string="toshiba"> <!-- satellite laptops --> <match key="system.hardware.product" prefix="satellite"> <!-- added me, m110 --> <match key="system.hardware.product" string="satellite m110"> <merge key="power_management.quirk.save_pci" type="bool">true</merge> <merge key="power_management.quirk.vbe_post" type="bool">false</merge> <merge key="power_management.quirk.dpms_on" type="bool">false</merge> <merge key="power_management.quirk.vbestate_restore" type="bool">false</merge> <merge key="power_management.quirk.vbemode_restore" type="bool">false</merge> <merge key="power_management.quirk.dpms_suspend" type="bool">false</merge> <merge key="power_management.quirk.vga_mode_3" type="bool">false</merge> </match> <!-- end addition me --> ....
if doing other m110 can find system.hardware.product following
if want see sure quirks getting passed pm-suspend can find them in /var/log/pm-suspend.log.code:lshal | grep system.hardware.product
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] how to add a quirk option to pm-suspend?
Ubuntu
Comments
Post a Comment