hal report wrong "system.hardware.product"

Bug #212128 reported by Oleksij Rempel
2
Affects Status Importance Assigned to Milestone
HAL
Fix Released
Medium
hal (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

lshal report wrong system info or do not able to get it.
So pm-utils can't use quirk from hal-info to make suspend work correctly.

lshal | egrep "(system.hardware.(product|vendor|version)|system.firmware.version|power_management.quirk)"
  system.firmware.version = '1401' (string)
  system.hardware.product = 'System Product Name' (string)
  system.hardware.vendor = 'stem manufacturer' (string)
  system.hardware.version = 'System Version' (string)

Link to meta-bug for ASUS P5LD2-VM: Bug #202804

Revision history for this message
Oleksij Rempel (olerem) wrote :
Revision history for this message
Oleksij Rempel (olerem) wrote :

Seems like it has broken dmi info. I think hal should prowide "Base Board Information" too.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: stem manufacturer
        Product Name: System Product Name
        Version: System Version
        Serial Number: System Serial Number
        UUID: DELETED-INFO-XXXXXXXXXXXXXXX
        Wake-up Type: PCI PME#
        SKU Number: <BAD INDEX>
        Family: <BAD INDEX>

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: P5LD2-VM
        Version: Rev 1.xx
        Serial Number: MB-1234567890
        Asset Tag: To Be Filled By O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To Be Filled By O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Revision history for this message
In , Oleksij Rempel (olerem) wrote :

DMI on my system provide "System Information.Product Name: System Product Name"
this is nor really usefoul information for tools like pm-utils. So they can't use quirks to suspend this board.

DMI also provide "Base Board Information.Product Name: P5LD2-VM" but hal can't use it.

lshal | egrep "(system.hardware.(product|vendor|version)|system.firmware.version|power_management.quirk)"
  system.firmware.version = '1401' (string)
  system.hardware.product = 'System Product Name' (string)
  system.hardware.vendor = 'stem manufacturer' (string)
  system.hardware.version = 'System Version' (string)

Revision history for this message
In , Oleksij Rempel (olerem) wrote :

Created an attachment (id=15724)
dmidecode

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: stem manufacturer
        Product Name: System Product Name
        Version: System Version
        Serial Number: System Serial Number
        UUID: DELETED-INFO-XXXXXXXXXXXXXXX
        Wake-up Type: PCI PME#
        SKU Number: <BAD INDEX>
        Family: <BAD INDEX>

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: P5LD2-VM
        Version: Rev 1.xx
        Serial Number: MB-1234567890
        Asset Tag: To Be Filled By O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To Be Filled By O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Revision history for this message
In , Oleksij Rempel (olerem) wrote :

Created an attachment (id=15725)
lshal

Oleksij Rempel (olerem)
description: updated
Changed in hal:
status: Unknown → Confirmed
Revision history for this message
In , Danny Kukawka (danny-kukawka) wrote :

Please attach the output of 'grep . /sys/class/dmi/id*'

Revision history for this message
In , Oleksij Rempel (olerem) wrote :

Created an attachment (id=15735)
sysfs_dmi_id

Revision history for this message
In , perja (perja) wrote :

I have the same issue with my Asus P5B-V motherboard. Attaching the same files.

Revision history for this message
In , perja (perja) wrote :

Created an attachment (id=16104)
dmidecode output for Asus P5B-V

Revision history for this message
In , perja (perja) wrote :

Created an attachment (id=16105)
lshal output for Asus P5B-V

Revision history for this message
In , perja (perja) wrote :

Created an attachment (id=16106)
Output of 'grep . /sys/class/dmi/id/*' for Asus P5B-V

Revision history for this message
In , Danny Kukawka (danny-kukawka) wrote :

Created an attachment (id=16548)
patch to add the board inforamtion

Revision history for this message
In , Danny Kukawka (danny-kukawka) wrote :

commited to git for next HAL version

Changed in hal:
status: Confirmed → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

fixed upstream.

Changed in hal:
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Upstream bug fix is in Jaunty (probably also intrepid).

Changed in hal:
status: Fix Committed → Fix Released
Changed in hal:
importance: Unknown → Medium
Changed in hal:
importance: Medium → Unknown
Changed in hal:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.