Thinkpad T61 646066U Power Management Quirks

David Goodlad david at goodlad.ca
Fri Mar 14 11:18:43 PDT 2008


On Fri, Mar 14, 2008 at 08:08:51AM +0100, Danny Kukawka wrote:
> Which quirks do you need if you don't use the nvidia (binary) driver on the 
> machine? Could you send the output of:
> 
> 	lshal -lu /org/freedesktop/Hal/devices/computer

Ok, the quirks required for consistently-working suspend using the xorg
nv driver (the open-source-ish driver, not the nvidia proprietary
driver) are s3_bios and vbemode_restore. Using the proprietary driver
(for those searching for answers in the future, I know you won't support
it in hal-info), the quirks required are s3_mode and save_pci.

Here is the output you requested:

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 = true  (bool)
  power_management.quirk.s3_bios = true  (bool)
  power_management.quirk.vbemode_restore = true  (bool)
  power_management.type = 'acpi'  (string)
  smbios.bios.release_date = '01/21/2008'  (string)
  smbios.bios.vendor = 'LENOVO'  (string)
  smbios.bios.version = '7LETB0WW (2.10 )'  (string)
  smbios.chassis.manufacturer = 'LENOVO'  (string)
  smbios.chassis.type = 'Notebook'  (string)
  smbios.system.manufacturer = 'LENOVO'  (string)
  smbios.system.product = '646066U'  (string)
  smbios.system.serial = 'L3B3260'  (string)
  smbios.system.uuid = 'AA545281-49CC-11CB-94E5-EF6BF7F01F61'  (string)
  smbios.system.version = 'ThinkPad T61'  (string)
  system.chassis.manufacturer = 'LENOVO'  (string)
  system.chassis.type = 'Notebook'  (string)
  system.firmware.release_date = '01/21/2008'  (string)
  system.firmware.vendor = 'LENOVO'  (string)
  system.firmware.version = '7LETB0WW (2.10 )'  (string)
  system.formfactor = 'laptop'  (string)
  system.hardware.primary_video.product = 1065  (0x429)  (int)
  system.hardware.primary_video.vendor = 4318  (0x10de)  (int)
  system.hardware.product = '646066U'  (string)
  system.hardware.serial = 'L3B3260'  (string)
  system.hardware.uuid = 'AA545281-49CC-11CB-94E5-EF6BF7F01F61'  (string)
  system.hardware.vendor = 'LENOVO'  (string)
  system.hardware.version = 'ThinkPad T61'  (string)
  system.kernel.machine = 'i686'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.24-12-generic'  (string)

You can see in there that I have the quirks that work for the nv driver
enabled. I'm not running gnome any more on my ubuntu machine (xmonad
instead) but tested the quirks by running 

  /usr/bin/gnome-power-cmd.sh suspend

as root.

I have not yet tested hibernate, but will be doing so very soon.

Dave

-- 
David Goodlad

email:        david at goodlad.ca
blog:  http://david.goodlad.ca


More information about the hal mailing list