[PATCH] Dell D630 suspend patch

Pawel Salek pawsa at theochem.kth.se
Tue Mar 18 07:57:24 PDT 2008


On 03/18/2008 02:38:29 PM, Danny Kukawka wrote:
> On Donnerstag, 18. Oktober 2007, Danny Kukawka wrote:
> > On Mittwoch, 17. Oktober 2007, Richard Hughes wrote:
> > > On Wed, 2007-10-17 at 21:12 +0200, Pawel Salek wrote:
> > > > Pawel Salek <pawsa at theochem.kth.se>
> > >
> > > Applied, thanks.
> >
> > I have reverted the patch since there is already a rule for the  
> Dell D630
> > in the file:
> >
> > <match key="system.hardware.product"  
> contains_outof="D600;D610;D630">
> >  <merge key="power_management.quirk.vbe_post"  
> type="bool">true</merge>
> >  <merge key="power_management.quirk.vbestate_restore"
> > type="bool">true</merge> <merge key="power_management.quirk.no_fb"
> > type="bool">true</merge> </match>
> >
> > Please check first if this work already!
> 
> @Pawel and Sergio: Could you both please check which of the quirks  
> really
> work? Please check under X and from Console (tty).

no_fb disables tty console for me. The only one that I have ever needed  
was vbe_post.

> There is also a report
> that these quirks work:
> 
>    power_management.quirk.vbe_post = yes
>    power_management.quirk.vbemode_restore = yes

vbemode_restore has no negative impact that I can see.

> I tend currently to change the quirks for the D630 to these quirks.  
> Could you
> please also send the output of:
> 
>    lshal -lu /org/freedesktop/Hal/devices/computer

Please find it attached.

Pawel
-------------- next part --------------
udi = '/org/freedesktop/Hal/devices/computer'
  info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list)
  info.bus = 'unknown'  (string)
  info.callouts.add = {'hal-acl-tool --remove-all', 'hal-storage-cleanup-all-mountpoints'} (string list)
  info.callouts.session_active = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_add = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_inactive = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_remove = {'hal-acl-tool --reconfigure'} (string list)
  info.capabilities = {'cpufreq_control'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list)
  info.product = 'Computer'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string list)
  power_management.acpi.linux.version = '20070126'  (string)
  power_management.can_hibernate = true  (bool)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = false  (bool)
  power_management.can_suspend_to_disk = true  (bool)
  power_management.can_suspend_to_ram = true  (bool)
  power_management.is_powersave_set = false  (bool)
  power_management.quirk.vbe_post = true  (bool)
  power_management.quirk.vbestate_restore = true  (bool)
  power_management.type = 'acpi'  (string)
  smbios.bios.release_date = '07/23/2007'  (string)
  smbios.bios.vendor = 'Dell Inc.'  (string)
  smbios.bios.version = 'A03'  (string)
  smbios.chassis.manufacturer = 'Dell Inc.'  (string)
  smbios.chassis.type = 'Portable'  (string)
  smbios.system.manufacturer = 'Dell Inc.'  (string)
  smbios.system.product = 'Latitude D630'  (string)
  smbios.system.serial = 'J4Q163J'  (string)
  smbios.system.uuid = '44454C4C-3400-1051-8031-CAC04F36334A'  (string)
  system.chassis.manufacturer = 'Dell Inc.'  (string)
  system.chassis.type = 'Portable'  (string)
  system.firmware.release_date = '07/23/2007'  (string)
  system.firmware.vendor = 'Dell Inc.'  (string)
  system.firmware.version = 'A03'  (string)
  system.formfactor = 'laptop'  (string)
  system.hardware.primary_video.product = 10754  (0x2a02)  (int)
  system.hardware.primary_video.vendor = 32902  (0x8086)  (int)
  system.hardware.product = 'Latitude D630'  (string)
  system.hardware.serial = 'J4Q163J'  (string)
  system.hardware.uuid = '44454C4C-3400-1051-8031-CAC04F36334A'  (string)
  system.hardware.vendor = 'Dell Inc.'  (string)
  system.kernel.machine = 'x86_64'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.24.3-34.fc8'  (string)




More information about the hal mailing list