ACPI/PMU procfs HAL test program. Version 002.
Paul Ionescu
i_p_a_u_l at yahoo.com
Mon Jan 24 02:03:39 PST 2005
Hi,
On Mon, 24 Jan 2005 07:43:07 +0000, Richard Hughes wrote:
>
> I forgot to enable battery monitoring. Could you please re-download and
> post the output again please...
Here it is:
./procfs-hal
need to use procfs_pmu_device so correct d gets used
[7]set_string linux.powersystem, acpi
[7]set_string linux.acpi.version, 20040816
* new_device *
[11]capability system.ac_adapter
[11]set_int system.ac_adapter.number, 0
[11]set_string info.bus, unknown
[11]set_string info.udi, /org/freedesktop/Hal/devices/ac_adapter_0
[11]capability linux.acpi
[11]set_string linux.acpi.procfs_path, /proc/acpi/ac_adapter/AC
[11]set_string info.product, AC Adaptor
[11]set_bool system.acadaptor.present, TRUE
* callout_device *
* new_device *
[12]capability system.processor
[12]set_int system.processor.number, 0
[12]set_string info.bus, unknown
[12]set_string info.udi, /org/freedesktop/Hal/devices/processor_0
[12]capability linux.acpi
[12]set_string linux.acpi.procfs_path, /proc/acpi/processor/CPU
[12]set_string info.product, Processor
[12]set_bool system.processor.can_throttle, TRUE
* callout_device *
* new_device *
[13]capability system.battery
[13]set_int system.battery.number, 0
[13]set_string info.bus, unknown
[13]set_string info.udi, /org/freedesktop/Hal/devices/battery_0
[13]capability linux.acpi
[13]set_string linux.acpi.procfs_path, /proc/acpi/battery/BAT1
[13]set_string info.product, Battery
[13]set_bool system.battery.present, FALSE
* callout_device *
* new_device *
[14]capability system.battery
[14]set_int system.battery.number, 1
[14]set_string info.bus, unknown
[14]set_string info.udi, /org/freedesktop/Hal/devices/battery_1
[14]capability linux.acpi
[14]set_string linux.acpi.procfs_path, /proc/acpi/battery/BAT0
[14]set_string info.product, Battery
[14]set_bool system.battery.present, TRUE
[14]set_bool system.battery.is_rechargable, TRUE
[14]set_string system.battery.serial, 1681
[14]set_string system.battery.model, IBM-08K8193
* callout_device *
* new_device *
[15]capability system.button
[15]set_int system.button.number, 0
[15]set_string system.button.type, lid
[15]set_string info.bus, unknown
[15]set_string info.udi, /org/freedesktop/Hal/devices/lid_0
[15]capability linux.acpi
[15]set_string linux.acpi.procfs_path, /proc/acpi/button/lid/LID
[15]set_string info.product, Lid Button
* callout_device *
* new_device *
[16]capability system.button
[16]set_int system.button.number, 0
[16]set_string system.button.type, sleep
[16]set_string info.bus, unknown
[16]set_string info.udi, /org/freedesktop/Hal/devices/sleep_0
[16]capability linux.acpi
[16]set_string linux.acpi.procfs_path, /proc/acpi/button/sleep/SLPB
* callout_device *
* new_device *
[17]capability system.button
[17]set_int system.button.number, 0
[17]set_string system.button.type, power
[17]set_string info.bus, unknown
[17]set_string info.udi, /org/freedesktop/Hal/devices/power_0
[17]capability linux.acpi
[17]set_string linux.acpi.procfs_path, /proc/acpi/button/power/PWRF
* callout_device *
[7]set_string linux.acpi.ibm.version, 0.10
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list