[PATCH] keymap and suspend qwirk for Dell XPS M1330

Jesse Keating jkeating at redhat.com
Mon Sep 17 13:56:39 PDT 2007


On Mon, 17 Sep 2007 22:42:28 +0200
Danny Kukawka <danny.kukawka at web.de> wrote:

> I have here also a Dell XPS M1330 ...
> 
> > Slightly updated version attached, using the same product string
> > match in both qwirk file.  
> 
> but I need vbe_post and vbemode_restore to resume from init=/bin/bash.

I haven't tried doing any suspend directly from console.  If that's
needed, fine, so long as it doesn't disrupt restoring to X (:

> 
> > Even with this file installed, I'm still getting unknown keycodes.
> > Is something else supposed to deal with these listings?  
> 
> and I also can't confirm the volumeup/down and mute keys, the produce
> no unknown scancodes (booted with init=/bin/bash and kernel 2.6.22.5).

Well my volume keys don't say that anymore because I've assigned them
to something in the gnome keyboard shortcuts app.  But things like the
battery button and sleep button still give unknown.

> 
> Could you may attach the output of lshal for the root device: 
> /org/freedesktop/Hal/devices/computer ?

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', 'S
hutdown', 'Reboot', 'SetPowerSave'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string lis
t)
  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.type = 'acpi'  (string)
  smbios.bios.release_date = '07/26/2007'  (string)
  smbios.bios.vendor = 'Dell Inc.'  (string)
  smbios.bios.version = 'A05'  (string)
  smbios.chassis.manufacturer = 'Dell Inc.'  (string)
  smbios.chassis.type = 'Portable'  (string)
  smbios.system.manufacturer = 'Dell Inc.'  (string)
  smbios.system.product = 'XPS M1330'  (string)
  smbios.system.serial = '6TG3KD1'  (string)
  smbios.system.uuid = '44454C4C-5400-1047-8033-B6C04F4B4431'  (string)
  system.chassis.manufacturer = 'Dell Inc.'  (string)
  system.chassis.type = 'Portable'  (string)
  system.firmware.release_date = '07/26/2007'  (string)
  system.firmware.vendor = 'Dell Inc.'  (string)
  system.firmware.version = 'A05'  (string)
  system.formfactor = 'laptop'  (string)
  system.hardware.primary_video.product = 10754  (0x2a02)  (int)
  system.hardware.primary_video.vendor = 32902  (0x8086)  (int)
  system.hardware.product = 'XPS M1330'  (string)
  system.hardware.serial = '6TG3KD1'  (string)
  system.hardware.uuid = '44454C4C-5400-1047-8033-B6C04F4B4431'  (string)
  system.hardware.vendor = 'Dell Inc.'  (string)
  system.kernel.machine = 'x86_64'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.23-0.184.rc6.git4.fc8'  (string)


-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070917/a1d80fa9/attachment-0001.pgp 


More information about the hal mailing list