Re: [PATCH] Dell laptop backlight driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matt Domsch <Matt_Domsch@...>
Cc: <linux-kernel@...>
Date: Sunday, October 28, 2007 - 2:06 pm

Matt Domsch wrote:

I had to do a kernelspace driver for controlling the backlight. This
was part of a college project assignment. In order for it to be valid
for an operating system course, it had to be in kernelspace (not
Unix programming) :).

As i mentioned that can be done in userspace and it IS sensible to do
so. I know that the code which was already written for Dell implied
a userspace approach, but i simply had no choice.

I also don't expect this driver to become mainstream, but since i have
written it, other people might want to have a look at it.

Finally i really don't think there's any sensible way of implementing
Linux LCD Backlight Abstraction relying on a userspace application.
That would mean the kernel calling userspace code to change the
brightness, then this latter code would again call the kernel to trigger
a SMI and so on. That's just not a good design. I think a userspace
solution implies choosing NOT to implement the LCD Abstraction. Causing
Dell laptops to be treated differently from other machines (as they are
not compliant with Linux's own interface).

jacopo

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Dell laptop backlight driver, , (Sun Oct 28, 12:12 pm)
Re: [PATCH] Dell laptop backlight driver, Matt Domsch, (Sun Oct 28, 12:19 pm)
Re: [PATCH] Dell laptop backlight driver, Pavel Machek, (Tue Oct 30, 10:52 am)
Re: [PATCH] Dell laptop backlight driver, lists@antonello.org, (Sun Oct 28, 2:06 pm)
Re: [PATCH] Dell laptop backlight driver, Matt Domsch, (Sun Oct 28, 3:20 pm)
Re: [PATCH] Dell laptop backlight driver, Matthew Garrett, (Mon Oct 29, 11:40 am)
Re: [PATCH] Dell laptop backlight driver, lists@antonello.org, (Sun Oct 28, 7:12 pm)