login
Header Space

 
 

Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute even if battery is absent

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrey Borzenkov <arvidjaar@...>
Cc: <linux-acpi@...>, <linux-kernel@...>, <cbou@...>, <dwmw2@...>
Date: Saturday, October 27, 2007 - 1:16 pm

Andrey Borzenkov wrote:
Hm, do you need separate set of properties for that? You could register either 
of existing two, and read function will not allow read of anything but "present".
IMHO, this is what other modules do (/drivers/power)
One remaining trick here, you need to call unregister/register for power_supply 
if you change attributes -- so please check if your patched driver survives 
insertion of the battery.

Regards,
Alex.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] 2.6.24-rc1: ensure "present" sysfs attribute even if..., Andrey Borzenkov, (Sat Oct 27, 12:54 pm)
Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute eve..., Alexey Starikovskiy, (Sat Oct 27, 1:16 pm)
Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute eve..., Alexey Starikovskiy, (Sat Oct 27, 2:18 pm)
speck-geostationary