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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Woodhouse <dwmw2@...>
Cc: Andrey Borzenkov <arvidjaar@...>, <linux-acpi@...>, <linux-kernel@...>, <davidz@...>, <rhughes@...>
Date: Saturday, October 27, 2007 - 3:50 pm

On Sat, Oct 27, 2007 at 03:32:04PM -0400, David Woodhouse wrote:

I didn't say it's hard. But we don't have any interrupts for the
battery events, thus we have to implement polling.


Oh. Userspace tried to do something weird then, I think. Generally
it's just sane to unregister absent hardware.

-- 
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
-
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..., Anton Vorontsov, (Sat Oct 27, 3:50 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)