Re: [PATCH, RFC] Driver for reading HP laptop LCD brightness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux