hal does not detect laptop information with kernel 2.6.21
James Utter
james.utter at gmail.com
Mon May 21 02:05:58 PDT 2007
Hi,
I have had a regression with HAL after a updating my kernel from
2.6.20 to 2.6.21. It could be a bug in hal, but more likely it is just
a mistake in my configuration.
HAL is no longer detecting information about my laptop or my ACPI
devices. Items such as 'system.formfactor', 'smbios.system.version',
"power_management.type(=acpi)" are coming up as unknown or are
missing.
This is causing lots of problems, including breaking gnome-power-manager.
I will attach the outputs of lshal and my kernel configs. I apologise
in advance if the mailing list does not handle the attachments well.
Does anyone know how I can fix this problem? My kernel is the standard
kernel with a patch applied for Suspend2.
Here is a notable extract from the output of lshal. Why arent the
details detected by hal on the 2.6.21 kernel? In the attachment you
will notice that there are many acpi devices in the 2.6.20 version,
but not .21
lshal with kernel -- note the detail.
-----------------------------------------
udi = '/org/freedesktop/Hal/devices/computer'
[ ...snip... ]
info.addons = {'hald-addon-acpi', 'hald-addon-cpufreq',
'hald-addon-acpi-buttons-toshiba'} (string list)
system.product = 'PORTEGE 4010 PP401A-1F5DKP' (string)
system.vendor = 'TOSHIBA' (string)
smbios.chassis.type = 'Notebook' (string)
smbios.chassis.manufacturer = 'TOSHIBA' (string)
smbios.system.uuid = '315A3800-42BC-11D7-8012-C61123091129' (string)
smbios.system.serial = '23091129P' (string)
smbios.system.version = 'PP401A-1F5DKP' (string)
smbios.system.product = 'PORTEGE 4010' (string)
smbios.system.manufacturer = 'TOSHIBA' (string)
smbios.bios.release_date = '07/11/2002' (string)
smbios.bios.version = 'Version 1.30' (string)
smbios.bios.vendor = 'TOSHIBA' (string)
power_management.can_suspend_to_disk = true (bool)
power_management.can_suspend_to_ram = true (bool)
power_management.can_hibernate = true (bool)
power_management.can_suspend = true (bool)
system.formfactor = 'laptop' (string)
power_management.acpi.linux.version = '20060707' (string)
power_management.type = 'acpi' (string)
system.kernel.machine = 'i686' (string)
system.kernel.version = '2.6.20' (string)
system.kernel.name = 'Linux' (string)
info.udi = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Computer' (string)
linux.sysfs_path_device = '(none)' (string)
info.bus = 'unknown' (string)
lshal with kernel 2.6.21 -- all that detail is now missing.
-------------------------------------------------
udi = '/org/freedesktop/Hal/devices/computer'
[ ... snip ... ]
info.addons = {'hald-addon-cpufreq'} (string list)
info.interfaces =
{'org.freedesktop.Hal.Device.SystemPowerManagement'} (string list)
system.formfactor = 'unknown' (string)
power_management.can_suspend_to_disk = true (bool)
power_management.can_suspend_to_ram = true (bool)
power_management.can_hibernate = true (bool)
power_management.can_suspend = true (bool)
system.kernel.machine = 'i686' (string)
system.kernel.version = '2.6.21' (string)
system.kernel.name = 'Linux' (string)
info.udi = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Computer' (string)
linux.sysfs_path_device = '(none)' (string)
info.bus = 'unknown' (string)
Thanks in advance,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lshal_2.6.20
Type: application/octet-stream
Size: 71078 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070521/4c2fc4c9/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-2.6.21
Type: application/octet-stream
Size: 62124 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070521/4c2fc4c9/attachment-0005.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lshal_2.6.20
Type: application/octet-stream
Size: 71078 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070521/4c2fc4c9/attachment-0006.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lshal_2.6.21
Type: application/octet-stream
Size: 71262 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070521/4c2fc4c9/attachment-0007.obj
More information about the hal
mailing list