HAL

Comment 102 for bug 277589

Revision history for this message
yleetiny (yleetiny) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine)

@ Steve,

It should a good thing to leave the "sysfs path", but the thing is that nearly everything vaio specific rely on the "sony-laptop" module. The issue here is that the backlight device is created with a sysfs path for every viao (see "http://www.linux.it/~malattia/wiki/index.php/Sony-laptop"), even when it doesn't work. For our models, we know that the backlight interface is broken, so we try to correct it within HAL (deleting sysfs path, giving a new access_method which works).
So maybe, deleting the "sysfs path" is something that should naturally be done when a device is wrongly created/configured...
The other reason why I deleted it was because I do not know If other scripts/fdi files will wrongly interact with it.
The best solution should be to modify "sony-laptop" module to correctly detect the card and do what smartdimmer does, but I don't have the necessary skills to do that.

Hum, I also modified the num levels since there is in fact only 18 ( 15 - 100 by step of 5 ) and the corresponding scripts.

Here are the files from which I build the package, containing all the modifications ( with the "prepobing & deleting sysfs path" solution). I hope it will help...