[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060728122112.GB4158@elf.ucw.cz>
Date: Fri, 28 Jul 2006 14:21:12 +0200
From: Pavel Machek <pavel@...e.cz>
To: "Brown, Len" <len.brown@...el.com>
Cc: Shem Multinymous <multinymous@...il.com>,
Matthew Garrett <mjg59@...f.ucam.org>, vojtech@...e.cz,
kernel list <linux-kernel@...r.kernel.org>,
linux-thinkpad@...ux-thinkpad.org, linux-acpi@...r.kernel.org
Subject: Re: Generic battery interface
Hi!
> > textual
>
> good for shell scripts, not clear it is better for C programs
> that have to open a bunch of files by name.
>
> > sysfs was great for develping tp_smapi
>
> Wonderful, but isn't the key here how simple it is for HAL
> or X to understand and use the kernel API rather than the
> developers of the kernel driver that implements the API?
>
> If X were a shell script, I'd say a file per value would
> clearly be the way to go, but it isn't.
Well, lets say "if we go the /dev/XXX way, maintainer will probably
have to create small utility to make battery info available from the
shell".
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