How to get info into HAL?
bsmith
bsmith at linuxtoys.org
Mon Jul 10 15:54:54 PDT 2006
Hi
I'm writing a battery driver for an ARM system and
I'd like HAL to keep the battery info. HAL sees the /sys
entry but it needs the current_charge info.
- How do you get a property into HAL?
- Is is part of the configuration in one of the udi files?
- Does it need to be hard coded into a helper app?
- If the later, how does HAL tie to the helper app?
- Is there a programer's manual that describes all this?
thanks
Bob Smith
udi = '/org/freedesktop/Hal/devices/platform_battery_0'
info.udi = '/org/freedesktop/Hal/devices/platform_battery_0' (string)
linux.subsystem = 'platform' (string)
linux.hotplug_type = 1 (0x1) (int)
info.product = 'Platform Device (battery.0)' (string)
platform.id = 'battery.0' (string)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.bus = 'platform' (string)
linux.sysfs_path_device = '/sys/devices/platform/battery.0' (string)
linux.sysfs_path = '/sys/devices/platform/battery.0' (string)
More information about the hal
mailing list