[Pkg-utopia-maintainers] Bug#480548: hal-info: pm quirks for Gateway MT6920

Karl Chen quarl+keyword+debbugs.533ecf at nospam.quarl.org
Sat May 10 19:53:14 UTC 2008


Package: hal-info
Version: 20080317+git20080318-1
Severity: minor
Tags: patch


On a Gateway MT6920 laptop (with integrated i965 video),
'pm-suspend' successfully suspends the machine, but video
stays blank after resume.  'pm-suspend --quirk-vbe-post'
works.

I created /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-gateway.fdi
with this content, which works for me:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 
<deviceinfo version="0.2">
  <device>
    <match key="system.hardware.vendor" string="Gateway">
      <match key="system.hardware.product" prefix="MT6920">
        <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
      </match>
    </match>
  </device>
</deviceinfo>



Potentially relevant output from lshal:

  system.hardware.primary_video.product = 10754  (0x2a02)  (int)
  system.hardware.primary_video.vendor = 32902  (0x8086)  (int)
  system.hardware.product = 'MT6920'  (string)
  system.hardware.vendor = 'Gateway'  (string)
  system.hardware.version = '3408932R'  (string)

udi = '/org/freedesktop/Hal/devices/pci_8086_2a03'
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Mobile GM965/GL960 Integrated Graphics Controller'  (string)
  info.subsystem = 'pci'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_2a03'  (string)
  info.vendor = 'Intel Corporation'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'pci'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1'  (string)
  pci.device_class = 3  (0x3)  (int)
  pci.device_protocol = 0  (0x0)  (int)
  pci.device_subclass = 128  (0x80)  (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1'  (string)
  pci.product = 'Mobile GM965/GL960 Integrated Graphics Controller'  (string)
  pci.product_id = 10755  (0x2a03)  (int)
  pci.subsys_product_id = 872  (0x368)  (int)
  pci.subsys_vendor = 'Gateway 2000'  (string)
  pci.subsys_vendor_id = 4219  (0x107b)  (int)
  pci.vendor = 'Intel Corporation'  (string)
  pci.vendor_id = 32902  (0x8086)  (int)

udi = '/org/freedesktop/Hal/devices/pci_8086_2a02'
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Mobile GM965/GL960 Integrated Graphics Controller'  (string)
  info.subsystem = 'pci'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_2a02'  (string)
  info.vendor = 'Intel Corporation'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'pci'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0'  (string)
  pci.device_class = 3  (0x3)  (int)
  pci.device_protocol = 0  (0x0)  (int)
  pci.device_subclass = 0  (0x0)  (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0'  (string)
  pci.product = 'Mobile GM965/GL960 Integrated Graphics Controller'  (string)
  pci.product_id = 10754  (0x2a02)  (int)
  pci.subsys_product_id = 872  (0x368)  (int)
  pci.subsys_vendor = 'Gateway 2000'  (string)
  pci.subsys_vendor_id = 4219  (0x107b)  (int)
  pci.vendor = 'Intel Corporation'  (string)
  pci.vendor_id = 32902  (0x8086)  (int)





More information about the Pkg-utopia-maintainers mailing list