[PATCH 1/2] hal: add Dell laptop panel device only if dcdbas is loaded

Danny Kukawka danny.kukawka at web.de
Tue Nov 13 14:36:24 PST 2007


On Dienstag, 13. November 2007, Bastien Nocera wrote:
> On Tue, 2007-11-13 at 20:34 +0100, Danny Kukawka wrote:
> > Hi,
> >
> > this patch changes HAL to provide the Dell laptop panel device (for
> > brightness support) only if the needed dcdbas device is available (which
> > means the module is loaded).
>
> Will that automatically create the panel device when the driver is
> loaded, if it's not loaded before HAL starts?

Thats the point atm, currently this would not work because of dcdbas module. 

I already contacted the Dell developers to fix the driver. There is the uevent 
for the device missing. I await they fix it soon. Then it would work out of 
the box.

Since there is already a fix for the driver to support DMI autoload the module 
on all Dell systems it should work out of the box on newer kernels anyway.

At least the change for the KillSwitch devices would prevent NetworkManager 
from poll the interface also if the driver isn't loaded.

Danny


More information about the hal mailing list