Mackbook pro nvidia based video backlight
Robert Noland
rnoland at FreeBSD.org
Wed Jan 28 08:10:21 PST 2009
On Wed, 2009-01-28 at 14:29 +0000, Rui Paulo wrote:
> On 28 Jan 2009, at 13:43, Ed Schouten wrote:
>
> > * Daniel Lannstrom <op at trekdanne.se> wrote:
> >>> I'm asking which method will be the best to interface the driver
> >>> with
> >>> userland applications?
> >>
> >> You might want to make it a character device driver. And write a
> >> small
> >> userland control program. Sysctl isn't really made for this kind of
> >> functionality.
> >
> > No. sysctl is good for doing stuff like this. An even better approach
> > would be to integrate it to the X11 driver, but I guess it will be
> > cold
> > day in hell when this happens.
>
> Not really. The xorg intel driver is already able to deal with this.
> I don't know about NVIDIA.
The intel ddx driver doesn't really deal with it. On linux the drm has
code that interfaces with acpi to deal with backlight management. For
us, afaik we handle it in acpi_video. I've not tried to port that part
of the drm code.
I'm not certain where the best place for this function to live is
really, but for Nvidia's proprietary driver, the only option is a
seperate kernel driver.
robert.
> --
> Rui Paulo
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090128/237d8bfd/attachment.pgp
More information about the freebsd-hackers
mailing list