Messages in this thread | | | Date | Tue, 30 Oct 2007 14:52:48 +0000 | From | Pavel Machek <> | Subject | Re: [PATCH] Dell laptop backlight driver |
| |
Hi!
> > this driver implements backlight control on Dell laptops > > which use SMI for changing brightness levels. > > > > The driver is INCOMPLETE since it is unable to probe some required > > parameters > > in order to perform backlight control. Such parameters are found in a Dell > > proprietary DMI table which should be parsed. For now external tools may be > > used to find these parameters by hand. So if you intend to try this out, > > FIRST write your laptop model parameters correctly inside the source code > > as explained in Documentation/dell-laptop.txt. > > > > Parts of this driver may also be used to provide additional functionalities > > similarly to the drivers/misc/*-laptop.c drivers. > > Why is this better done in the kernel rather than in userspace with > libsmbios as you've noted?
Well, keeping the same interface as other notebooks has some advantages... and means that kernel does its job - hw abstraction. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |