Comment 141 for bug 95444

Revision history for this message
yleetiny (yleetiny) wrote : Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

To Shawe Ewahs :
Hum, how can I say it?
Your script is a great workaround, it compiles cvs, etc.. etc.. and it is really great.
But I tend to think that we need to go on the next step : DEB packages.

Why?
Simply because it is easier for people to install, it is somehow cleaner. The other reason is that the small tweaks for HAL will never be taken in the main stream since it depends on a program ( "nvclock" or "smartdimmer") whereas it should be simple "echo"s .
So I think in the current situation, the best thing would be a ppa where you can find the differents packages :
 1- nvclock, cvs version for geforce8 users ( with the correct paths, because it is needed for "2**" )
 2**- hal-sony-nvclock, to get brightness support through HAL, it will give you the small OSD when you change brightness, the applet compatibility too, in short it will give GNOME or KDE or whatsoever the capability to dimm your brightness. Which will work for Geforce 6,7 and 8
 3- acpi-sony-nvclock, to give acpi the possibility to dimm the brightness. Those things should go to the main stream.

Why did I say mine is better for the HAL part?
The only issue that there is in your hal configuration is that is not "out of the box" since you need to give your model. I actually made the script you use for HAL(I can recognise my comments) for geforce6 and 7 users using smartdimmer, and the first reaction was : it does'nt work, since their model wasn't listed. So I developped another approach which is to identify that the manufacturer is "Sony" and that your main card is a listed nvidia geforce 6,7 or 8. This approach will avoid two cases : the unlisted vaio model and the fact that if you use 2 graphic cards, it won't try to dimm something not active as your main card.
The thing now, is that I do not have 2 graphics card on my laptop and my package haven't been tested enough to be sure that everything works flawless. That's why I asked people to try my package.

In short, Workarounds are great but being able to find a durable solution is even better.