[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060728231756.GA4230@elf.ucw.cz>
Date: Sat, 29 Jul 2006 01:17:56 +0200
From: Pavel Machek <pavel@...e.cz>
To: Shem Multinymous <multinymous@...il.com>
Cc: Vojtech Pavlik <vojtech@...e.cz>,
"Brown, Len" <len.brown@...el.com>,
Matthew Garrett <mjg59@...f.ucam.org>,
kernel list <linux-kernel@...r.kernel.org>,
linux-thinkpad@...ux-thinkpad.org, linux-acpi@...r.kernel.org,
Henrique de Moraes Holschuh <hmh@...ian.org>
Subject: Re: Generic battery interface
Hi!
> >> And then we have to maintain both a kernel side and a userspace side.
> >> And what do I, poor author of tp_smapi, do if I want to add a
> >> non-standard attribute? Tell people to patch and overwrite their
> >> disto's batstate binary too?
> >
> >How often do you plan to do that?
>
> With tp_smapi, I did it about 10 times over half a year. And there's
> probably more to come.
I still like /sys approach a bit more, but a word of warning: "it is
hard to change kernel<->user interface" is actually a feature.
It sucks when you are the one doing the work, but maybe it will mean
reusing interfaces where possible.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists