Messages in this thread | | | Date | Sun, 5 Feb 2006 22:49:22 +0100 | From | Pavel Machek <> | Subject | Re: [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/
| |