ACPI/PMU procfs HAL test program. Version 003.

Paul Ionescu i_p_a_u_l at yahoo.com
Wed Jan 26 23:14:23 PST 2005


Hi,

On Wed, 26 Jan 2005 23:28:58 +0000, Richard Hughes wrote:

>> buffer); +               /* add string [system.battery.techonolgy] */ +
>>              if ( procfs_getvalue(listbuffer, "battery technology",
>> buffer) ) +                       hal_device_property_set_string(d,
>> "system.battery.technology", buffer);
> 
> Don't you want?:
> if ( procfs_getvalue(listbuffer, "battery type", buffer) )
> 	hal_device_property_set_string(d, "system.battery.technology", buffer);
> 

But of course. My mistake :)

Thx,
Paul

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list