Comment 146 for bug 95444

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

I agree that submitting patches are the best way to solve a bug, and I was my goal when I try to dig into the issue.
But in our case, I don't really think that is a bug of nvclock nor HAL, but more likely an experimental support.

I made the idea of packages since the issue is long well known but do not have an easy solution. Indeed, the solutions proposed cannot be made into patches of the main packages. The long term solution is in fact a patch of sony-laptop module, but it is unlikely that this module will be updated soon since there is a lack of data and it is now shipped within the default kernel.

== Nvclock ==
It is a developpement version, so it cannot go into the proposed packages. But we can make an experimental package of nvclock cvs since it introduce an experimental support of geforce 8

== hal-info, nvclock==
I cannot propose a patch since it will add a depedency on hal-info to nvclock. When I analysed the traditionnal way to dim backlight, I saw that they are just echo to a device (linked to a proper module). That is why I propose an extra package.
There should not need to make different packages for geforce6,7 or 8 users, if nvclock-cvs-experimental is correctly packaged.

@Shawe Ewahs
To detect the card, I use pci-ids, but I also need to check that the manufacturer is sony. Why?
If geforce6 and 7 for laptop are called Geforce Go series and I can found their pci-ids, for Geforce8, I do not know what exact model are laptop graphics card with dimming functionabilities. So I listed all the Geforce8 cards + sony = sony laptop that have a geforce8 series card. I attached the fdi file which is in : "/usr/share/hal/fdi/information/10freedesktop".
I think that I can remove the "sony" manufacturer match if I know all the geforce8 models for laptop.
NB : I am also a begginer in packaging files. My package is just a package which will copy some files and execute some scripts. I read some documents to make them but they are in French, but you should be able to find some documents over the internet.

== acpi ==
This one, can be considered as a real bug which can be solved by a patch, but I don't know if today is a correct configuration file for all sony-vaio users.