lkml.org 
[lkml]   [2006]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH, RFC] Driver for reading HP laptop LCD brightness
Hi!

> The attached patch provides a sysfs mechanism for reading the LCD
> brightness on HP laptops. Since there's no clean way to determine
> whether a machine is a laptop or not from within the kernel (this
> information is in the DMI tables, but we don't currently export the
> chassis field), it does nothing until userspace has enabled it.

Can you fix the DMI code to export chasis, then?

> Right now, I'm looking for comments on how to integrate it sensibly -
> leaving it under drivers/misc and registering it as a platform device
> /works/, but isn't terribly clean.

Lots of handhelds ave brightness settings, and it is *very* important
there. Perhaps you could use same interface?
Pavel
--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-05 22:55    [W:0.033 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site