Mackbook pro nvidia based video backlight
Ed Schouten
ed at 80386.nl
Thu Jan 29 06:36:07 PST 2009
* Alexander Leidinger <Alexander at Leidinger.net> wrote:
> So you want that either
> - a daemon running as root is written which listens to user
> requests to set the backlight via sysctl
> or
> - a SUID root program is written that sets the backlight
> via sysctl
> instead of
> - a character device with appropriate filesystem permissions
> which allows to not go the SUID root or daemon running as
> root way
> ?
Yes. The primary reason is that it is more consistent with the rest of
the operating system. powerd also uses sysctl's instead of a character
device, for example.
The ideal solution would be to integrate it into vidcontrol, calling
some kind of ioctl on the TTY/consolectl, but syscons is too brainless
to know anything about hardware specific features.
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090129/24a9e37d/attachment.pgp
More information about the freebsd-hackers
mailing list