ofw syscons brightness patch
Justin Hibbits
jrh29 at alumni.cwru.edu
Thu Sep 22 20:52:46 UTC 2011
On Sep 21, 2011, at 11:25 PM, Peter Grehan wrote:
> Hi Justin,
>
>> Attached is a patch that adds brightness control to ofw syscons
>> (dev.sc.0.brightness sysctl). Pretty simple. Comments and tests
>> requested. Hopefully the listserv doesn't eat the patch.
>
> Is it possible to have the value in the sysctl be 0-100, or 0-10 ?
> It might be a bit confusing for the user to have to know that the
> range is 0x34-0xff, and have the sysctl code clamp to these.
>
> Are the MIN_BRIGHTNESS/MAX_BRIGHTNESS values the same for all models ?
>
> later,
>
> Peter.
Patch take 2 - Range is 0-12. Not sure how to present this to the
user. Anything above 12 is capped at 12.
- Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofw_sc_brightness.diff
Type: application/octet-stream
Size: 3534 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20110922/659a335f/ofw_sc_brightness.obj
-------------- next part --------------
More information about the freebsd-ppc
mailing list