On Wed, 2009-01-28 at 14:29 +0000, Rui Paulo wrote:
> On 28 Jan 2009, at 13:43, Ed Schouten wrote:
> 
> > * Daniel Lannstrom <o...@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to