On 19 Aug 2002 16:42:20 +0100
Moray Allan <moray_at_sermisy.org> wrote:
> On Mon, 2002-08-19 at 14:42, Erik Karlin wrote:
> > I started implemented reading/writing the backlight values directly,
> > as you can see from the #ifdef READ_BACKLIGHT stuff. Since I don't
> > have the kernel includes yet, I could not even compile that stuff to
> > test it. If/when I get the includes sorted out, I can make those
> > changes in gpe-config-sleep and gpe-conf/sleep if you like.
> Erm, why do you think that reading directly from the hardware in the
> configuration program is neater than calling the (setuid) bl? Even
> apart from concerns with privileges, it would seem nicer to me if
> people didn't have to arrange to have kernel headers around to compile
> it. Also, it's easier for us if we leave the responsibility to work
> out how to read the brightness on future hardware with the
> distribution, rather than having to implement it ourselves.
You need the kernel headers anyway!
If you use the skiff toolchain then look in
/skiff/local/arm-linux/include/linux and you'll recognise them as kernel
headers. In the best of all worlds this would be a symlink to the latest
kernel's headers (BTW this is also true for asm/).
> Moray
CU
nils faerber
-- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen D1 : +49-170-2729106 --Received on Mon Aug 19 2002 - 16:39:52 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:01 EDT