sony brightness on a geforce series older than 8 (nvclock works fine)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HAL |
Invalid
|
Undecided
|
Unassigned | ||
Mago |
Invalid
|
Undecided
|
Unassigned | ||
gnome-power |
Invalid
|
Undecided
|
Unassigned | ||
acpi-support (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
Jaunty |
Won't Fix
|
Medium
|
Unassigned | ||
hal (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Jaunty |
Won't Fix
|
Medium
|
Unassigned | ||
hotkey-setup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hotkey-setup
seperatred bug from:
Sony + Intel → https:/
Sony + Nvidia 8+ → https:/
Here it is sony + Nvidia 7-
e.g. 7600Go doesn't work
Changed in ubuntu-desktop-testing: | |
status: | New → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
getaceres (getaceres) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #2 |
Todays updates are a milestone in the right direction !!!
NOw when I press Fn + F6 or F5
Gnomem Brightness Control dialog comes with the change !!
But it doesn't change the brightness yet (using hardy with updates)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #3 |
like posted the event is recognized!
But not changed
Changed in hotkey-setup: | |
status: | New → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Michael Doube (michael-doube) wrote : | #4 |
benste, have you tried the suggestion in bug #176888 ?
$ xrandr --output LVDS --set BACKLIGHT_CONTROL native
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #5 |
Yes now I tried it - (thought XRandr is only for intel cards)
benste@vaiofe31m:~$ xrandr --output LVDS --set BACKLIGHT_CONTROL native
X Error of failed request: 186
Major opcode of failed request: 157 (RANDR)
Minor opcode of failed request: 15 ()
Serial number of failed request: 14
Current serial number in output stream: 14
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Michael Doube (michael-doube) wrote : | #6 |
What's the output of:
:~$ tail -f /var/log/acpid
when you hit Fn keys?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #7 |
nothing,
just gnome-power appears with the changed new brighness
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Michael Doube (michael-doube) wrote : | #8 |
Maybe this bug will be informative?
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #9 |
after this native thing the red cross disappears from the brightness slider in the panel, but comes back when movin it.
FN + F5 - results in a gnome-power event, but not a brightness change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #10 |
- hal configuration files Edit (2.2 KiB, application/x-tar)
The problem lies in "hal", since the backlight method is wrongly done.
In fact, for every sony laptop, it say to use "echo {1..8} > /proc/acpi/
Laurent Almeras and I modified some "hal" configuration files to make it work with smartdimmer, but we should nvclock instead.
I attached the differents "hal" modified files to make you see how it works.
PS: sorry for my english and for not making a proper deb, i'm a beginner on launchpad
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #11 |
- hal configuration files Edit (2.2 KiB, application/x-tar)
The problem lies in "hal", since the backlight method is wrongly done.
In fact, for every sony laptop, it say to use "echo {1..8} > /proc/acpi/
Laurent Almeras and I modified some "hal" configuration files to make it work with smartdimmer, but we should nvclock instead.
I attached the differents "hal" modified files to make you see how it works.
PS: sorry for my english and for not making a proper deb, i'm a beginner on launchpad
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #12 |
sounds nice, but as you may been able to read before, I'm an absolutly beginner, (who normally don't speak English too :-)),
and, I've got no knowledge of shellscripts, and many other things, so where should I put these files?
PS: I understood the if then else, but not the indicators and all you wrote :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #13 |
You should do what i wrote in a.sh, then reboot your computer.
you also have to install smartdimmer : " sudo apt-get install smartdimmer "
if there is any problem, could you post the result of :
lshal | grep -i vgn -B 20 -A 20
please,
Thanks
2008/10/13 benste <email address hidden>
> sounds nice, but as you may been able to read before, I'm an absolutly
> beginner, (who normally don't speak English too :-)),
> and, I've got no knowledge of shellscripts, and many other things, so where
> should I put these files?
>
> PS: I understood the if then else, but not the indicators and all you
> wrote :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #14 |
I'm sorry, but it doesn't work for me:
1st
sudo mv /usr/lib/
sudo mv /usr/lib/
resulted both in "file not found"
but it isn't necesarry because it's just a backup or?
2nd: smartdimmer and lshal:
benste@vaiofe31m:~$ sudo apt-get install smartdimmer
[sudo] password for benste:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-
smartdimmer ist schon die neueste Version.
smartdimmer wurde als manuell installiert festgelegt.
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
libgtkhtml3.
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
benste@vaiofe31m:~$ apt-get autoremove
E: Konnte Lockdatei /var/lib/dpkg/lock nicht öffnen - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
benste@vaiofe31m:~$ sudo apt-get autoremove
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
libgtkhtml3.
Die folgenden Pakete werden ENTFERNT:
libgtkhtml3.
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 238kB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]? j
(Lese Datenbank ... 347411 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne libgtkhtml3.16-cil ...
benste@vaiofe31m:~$ sudo apt-get remove smartdimmer
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
toshset laptop-mode-tools
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
acpi-support powermanagement
0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 1180kB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]? n
Abbruch.
benste@vaiofe31m:~$ lshal | grep -i vgn -B 20 -A 20
info.udi = '/org/freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #15 |
Sorry,
1rstly, For the backup, and the cp I think the paths are all mixed up,
since i'm using a 64bits version.
to find the files : find /usr -iname
"hal-system-
files.
2ndly, I also mess up with the name of your sony-laptop model, you need
to
change the name "VGN-FE31Z" into "VGN-FE31M" in
/usr/share/
Then reboot,
PS :
If it still doesn't work, to verify if the things are ok,
sudo smartdimmer -s 5
# to change brightness, verify that smartdimmer works
lshal | grep -i "sony-nvidia"
# hal have now the write method
if both of those things are ok, then that means that the 2 others files
(*set* and *get* ) are wrongly installed
On lun, 2008-10-13 at 18:15 +0000, benste wrote:
> I'm sorry, but it doesn't work for me:
> 1st
>
> sudo mv /usr/lib/
> sudo mv /usr/lib/
>
> resulted both in "file not found"
> but it isn't necesarry because it's just a backup or?
>
>
> 2nd: smartdimmer and lshal:
> benste@vaiofe31m:~$ sudo apt-get install smartdimmer
> [sudo] password for benste:
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> smartdimmer ist schon die neueste Version.
> smartdimmer wurde als manuell installiert festgelegt.
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
> libgtkhtml3.16-cil
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> benste@vaiofe31m:~$ apt-get autoremove
> E: Konnte Lockdatei /var/lib/dpkg/lock nicht öffnen - open (13 Permission denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
> benste@vaiofe31m:~$ sudo apt-get autoremove
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
> libgtkhtml3.16-cil
> Die folgenden Pakete werden ENTFERNT:
> libgtkhtml3.16-cil
> 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 238kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? j
> (Lese Datenbank ... 347411 Dateien und Verzeichnisse sind derzeit installiert.)
> Entferne libgtkhtml3.16-cil ...
> benste@vaiofe31m:~$ sudo apt-get remove smartdimmer
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
> toshset laptop-mode-tools
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> Die folgenden Pakete werden ENTFERNT:
> acpi-support powermanagement
> 0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktu...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #16 |
Sorry,
1rstly, For the backup, and the cp I think the paths are all mixed up,
since i'm using a 64bits version.
to find the files : find /usr -iname
"hal-system-
files.
2ndly, I also mess up with the name of your sony-laptop model, you need
to
change the name "VGN-FE31Z" into "VGN-FE31M" in
/usr/share/
Then reboot,
PS :
If it still doesn't work, to verify if the things are ok,
sudo smartdimmer -s 5
# to change brightness, verify that smartdimmer works
lshal | grep -i "sony-nvidia"
# hal have now the write method
if both of those things are ok, then that means that the 2 others files
(*set* and *get* ) are wrongly installed
2008/10/13 benste <email address hidden>
> I'm sorry, but it doesn't work for me:
> 1st
>
> sudo mv /usr/lib/
> /usr/lib/
> sudo mv /usr/lib/
> /usr/lib/
>
> resulted both in "file not found"
> but it isn't necesarry because it's just a backup or?
>
>
> 2nd: smartdimmer and lshal:
> benste@vaiofe31m:~$ sudo apt-get install smartdimmer
> [sudo] password for benste:
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> smartdimmer ist schon die neueste Version.
> smartdimmer wurde als manuell installiert festgelegt.
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
> libgtkhtml3.16-cil
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> benste@vaiofe31m:~$ apt-get autoremove
> E: Konnte Lockdatei /var/lib/dpkg/lock nicht öffnen - open (13 Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> benste@vaiofe31m:~$ sudo apt-get autoremove
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
> libgtkhtml3.16-cil
> Die folgenden Pakete werden ENTFERNT:
> libgtkhtml3.16-cil
> 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 238kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? j
> (Lese Datenbank ... 347411 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Entferne libgtkhtml3.16-cil ...
> benste@vaiofe31m:~$ sudo apt-get remove smartdimmer
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
> toshset laptop-mode-tools
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> Die folgenden Pakete werden ENTFERNT:
> acpi-support powermanagement
> 0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
> Nach d...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #17 |
I'll try this out tomorrow after school, (I'm in europe and not in US :-))
I'll report you the result asap.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #18 |
sadyl it woun't work,
here my full protocoll:
benste@vaiofe31m:~$ find /usr -iname "hal-system-
/usr/lib/
/usr/lib/
benste@vaiofe31m:~$ sudo mv /usr/lib/
[sudo] password for benste:
benste@vaiofe31m:~$ sudo mv /usr/lib/
benste@vaiofe31m:~$ cd Desktop/
benste@
benste@
benste@
-------
I looked up the dir with nautilus and there are backups, and modified originally versions (I think they're yours)
-------
benste@
benste@vaiofe31m:/$ sudo gedit //usr/share/
-------
Spelling mistake, but it worked
rebooted
afterwards even the keypresses which were recognized before aren't anymore
using the panel applet for brightness slider it shows the red cross - not working --> resulted a apport bug tracking symbol which was away after a short time period.
" sudo smartdimmer -s 5" works fine
benste@vaiofe31m:~$ lshal | grep -i "sony-nvidia"
laptop_
So the files are wrongly installed or what?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #19 |
- scripts hal for backlight (set and get) Edit (10.0 KiB, application/x-tar)
As I said it is very likely that the files on your computer and mine aren't at the same place,
but are you using an Ubuntu distribution, because it doesn't seem so, i just check the differents files in the x86 packages, and they should work.
1- So firstly we need to fix your hal, then reinstall the differents files :
sudo apt-get reinstall hal-info hal smartdimmer
2- we need to verify if different files exists
# for the FN-Keys
ls -l /usr/share/
# my modification on the method which should be used to change backlight (sony-nvidia)
ls -l /usr/share/
# for the scripts to change backlight (set and get them)
ls -l /usr/lib/
ls -l /usr/lib/
3- backup the scripts files and replace them with the ones that i gave you (attached with this post ):
#backup
cd /usr/lib/
sudo mv hal-system-
sudo mv hal-system-
#replace with the new ones
tar xvf a.tar
sudo cp hal-system-
sudo cp hal-system-
#make sure that they can be executed
sudo chmod +x /usr/lib/
4- reboot your computer
I hope it works after this...If you are using a different distribution than Ubuntu or another version than hardy please inform me to check what is different.
PS : I tested nvclock instead of smartdimmer but it doesn't work because cannot use nvclock within an hal script ( it returns errors ).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #20 |
lol that's it:
but are you using an Ubuntu distribution, because it doesn't seem so,
[...]
If you are using a different distribution than Ubuntu or another version than hardy please inform me to check what is different.
Yes I am using another distrobution like you'll maybe do in approx 15 days too :-)
it's Ubuntu 8.10 Interpid Ibex :-)
Should I test your advises there too?
PS: I modified the sony-laptop-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #21 |
- hal-system-lcd-get-brightness-linux.diff Edit (157 bytes, text/x-patch; name=hal-system-lcd-get-brightness-linux.diff; charset=utf-8)
- hal-system-lcd-set-brightness-linux.diff Edit (142 bytes, text/x-patch; name=hal-system-lcd-set-brightness-linux.diff; charset=utf-8)
I make some diff files for the scripts, you should just reinstall hal
and hal-info ( "sudo aptitude reinstall hal hal-info" )
then patch them with the commands :
sudo
patch /usr/lib/
hal-system-
sudo
patch /usr/lib/
hal-system-
They are for the Intrepid version, so they should work
On mer, 2008-10-15 at 11:24 +0000, benste wrote:
> lol that's it:
>
> but are you using an Ubuntu distribution, because it doesn't seem so,
> [...]
> If you are using a different distribution than Ubuntu or another version than hardy please inform me to check what is different.
>
> Yes I am using another distrobution like you'll maybe do in approx 15 days too :-)
> it's Ubuntu 8.10 Interpid Ibex :-)
>
> Should I test your advises there too?
>
> PS: I modified the sony-laptop-
> ~/etc/acpi/events or something like that - where can I get the originall
> ones?
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #22 |
First of all thank you again for your ideas and actiosn,
but sadly again it doesn't work.
I realized after last patch from your site brightness window on key press dissappeared, but after the next update - including lot of acpi data! it was back but now my maximum is about 2/5 of the full size of the window.
I tried your think and rebootet, but it didn't work. I wasn't able to find a mistake in the following procedures:
benste@vaiofe31m:~$ sudo aptitude reinstall hal hal-info
[sudo] password for benste:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformati
Die folgenden Pakete werden ERNEUT INSTALLIERT:
hal hal-info
Die folgenden Pakete werden ENTFERNT:
xserver-
0 Pakete aktualisiert, 0 zusätzlich installiert, 2 erneut installiert, 1 werden entfernt und 0 nicht aktualisiert.
Muss 0B/434kB an Archiven herunterladen. Nach dem Entpacken werden 250kB frei werden.
Wollen Sie fortsetzen? [Y/n/?] j
Ungültige Antwort. Bitte geben Sie einen gültigen Befehl oder »?« für Hilfe ein.
Wollen Sie fortsetzen? [Y/n/?] y
Schreibe erweiterte Statusinformati
(Lese Datenbank ... 347460 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne xserver-
(Lese Datenbank ... 347457 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von hal 0.5.11-4ubuntu3 (durch .../hal_
* Stopping Hardware abstraction layer hald [ OK ]
Entpacke Ersatz für hal ...
Vorbereiten zum Ersetzen von hal-info 20081013-0ubuntu1 (durch .../hal-
Entpacke Ersatz für hal-info ...
Verarbeite Trigger für man-db ...
Richte hal-info ein (20081013-0ubuntu1) ...
Richte hal ein (0.5.11-4ubuntu3) ...
* Reloading system message bus config... [ OK ]
* Starting Hardware abstraction layer hald [ OK ]
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformati
benste@vaiofe31m:~$ cd Desktop/
benste@
patching file /usr/lib/
benste@
patching file /usr/lib/
benste@
For better comunication and not (14h between a post :-)) could we may "meet" on saturday on an IM or maybe IRC?
My time zone (CEST) maybe central european summer time :-) so I'm living in germany, maybe we'll find some times where our freetime matches on saturday.
gonna test your next fix :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #23 |
- sony-smartdimmer.deb Edit (2.6 KiB, application/x-debian-package)
Could someone assign this bug to hal and hal-info, please?
I made a .deb to make the different modifications necessary to have both FN hotkeys and brightness control possible.
It will relies on "smartdimmer" instead of nvclock, since i cannot nvclock though "hal"
The use of hal is better than the use of acpi, for the main reason that acpi : use only up & down, instead hal : use set, and get which allow all the gnome features to work (brightness control applet, gnome-power-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
getaceres (getaceres) wrote : | #24 |
I've installed the .deb file on Intrepid on a Vaio FE31Z but still I can't change the brightness with the Fn keys.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #25 |
My debian file only work for a listed vaio models,
could you please give me the result of
lshal | grep -i vgn
please?
I will add your model asap
PS: I'm searching for a way to better match all geforce 6/7 series, but
i don't know how i can make it. Until this math isn't done only a few
models will be supported
On sam, 2008-10-18 at 23:38 +0000, getaceres wrote:
> I've installed the .deb file on Intrepid on a Vaio FE31Z but still I
> can't change the brightness with the Fn keys.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #26 |
- sony-smartdimmer_0.2.deb Edit (3.2 KiB, application/x-debian-package)
Here is a new deb file.
I change the matching method so that it should work for every vaio using a Geforce 6/7 Go .
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
renato neves (trigun666) wrote : | #27 |
HI
mine doesn't work too. my model is :
Cheers
I can confirm it unfortunately doesn't work for the Vaio VGN FZ31M.
Furthermore, fn+F5 or fn+F6 doesn't even bring up the brightness OSD anymore when it did before (even though it didn't do anything obviously, which is the problem that brings us together here).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #29 |
To renato neves and axx
Sony Vaio VGN FZ31M have a Geforce 8400 series, this bug report only treats the geforce 6/7 series.
You should report on the bug 95444
Some workaround exists there using the cvs version of nvclock
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Shawe Ewahs (shawe-ewahs) wrote : | #30 |
If anyone can say me what files are needed for adjust the brightness with the fn-keys, I think that I know how correct it.
I was watching the files and do this:
In /usr/share/
And I add my model
In /usr/lib/
I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
elif [ "$HAL_PROP_
# smartdimmer -g
# value=$(( `smartdimmer -g | awk '{print $3;}'` -1 ))
/usr/lib/
I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
elif [ "$HAL_PROP_
# smartdimmer -s 21
# smartdimmer -s "$(( $value + 1 ))"
# value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d '%'`))
nvclock -S "$((value + 10))"
What file need to edit also? I don't found the file for increase the blacklight :S
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #31 |
There is no need to a file to increase backlight since you only need to know how to get and set the correct value.
Since you made a script on for sony vaio geforce 8, it seems to me that your last post is solved.
The problem in the script above is the "sudo" use, it seems you need to use the "HOME=/root" environnement path and full path to nvclock since you compile/install it in /usr/local/bin which is not part of the PATH environnement by default.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #32 |
This bug properly belongs to hal, not to nvclock; the issue is hal not having a correct method for setting the backlight brightness on these systems, which requires either nvclock or smartdimmer. Reassigning.
Since nvclock is in universe (and at least the binary is likely to stay there for jaunty), complete resolution of this bug is dependent on resolution of bug #95444.
Changed in nvclock: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #33 |
per duplicate bug #345531, if hal is not going to be fixed in time for jaunty, the sony brightness script should be re-adde to acpi-support.
Changed in acpi-support: | |
assignee: | nobody → vorlon |
importance: | Undecided → Medium |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #34 |
Note: *complete* resolution is dependent on bug #95444, but smartdimmer is already present in main and I expect will be the preferred interface in main for jaunty whether or not we update to the version from the nvclock source, so the hal side of this can be worked on in parallel.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #35 |
yleetiny, thank you *very* much for your work on this bug! I've reviewed the package you prepared, and converted this into a patch against the hal package which is now published in the bzr branch linked from the top of this report. I'm waiting for Martin Pitt (hal guru) to review this before we move forward with it for jaunty, but I do think there's no need now for resurrecting the acpi-support script - we should be able to satisfactorily address this in hal.
The version committed to the bzr branch expects smartdimmer built from the nvclock package, which handles the brightness values differently than the smartdimmer currently in Ubuntu. I'm hoping we can get that smartdimmer packaged in for jaunty still, since that will let us also address backlight handling for GeForce8/9 chips.
Changed in gnome-power: | |
status: | New → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Martin Pitt (pitti) wrote : | #36 |
I merged Steve's branch. The patch needs to be sent upstream, and most likely the fdi file will go to hal-info, but that's not urgent.
Changed in hal (Ubuntu Jaunty): | |
status: | Confirmed → Fix Committed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Martin Pitt (pitti) wrote : | #37 |
We'll pursue the forward route and not revive the acpi-support bits.
Changed in acpi-support (Ubuntu Jaunty): | |
assignee: | vorlon → nobody |
status: | Confirmed → Won't Fix |
Changed in acpi-support (Ubuntu): | |
assignee: | vorlon → nobody |
status: | Confirmed → Won't Fix |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #38 |
This bug was fixed in the package hal - 0.5.12~
---------------
hal (0.5.12~
[ Steve Langasek ]
* debian/control: Recommend: smartdimmer for sony backlight support.
* 88_nvidia_
method, using the smartdimmer tool, and an fdi policy file so that we
use this method on Sony laptops with known nVidia chips. Many thanks
to Lee-tin-yien Yohan <email address hidden> for working on this!
Closes LP: #277589.
[ Martin Pitt ]
* 88_nvidia_
fdi file.
-- Steve Langasek <email address hidden> Mon, 23 Mar 2009 08:40:59 +0100
Changed in hal: | |
status: | Fix Committed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #39 |
I've updated today the hal version mentioned above, and try fn keys first with the latest nvclock b4 that has now been released, and because it didn't work, I tried then with smartdimmer after uninstalling nvclock, doesn't work...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #40 |
Ok, I think I've undersand, the new nvclock b4 package is not providing smartdimmer anymore, and the smartdimmer package has not yet been update (0.1-2build1), is that right ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #41 |
Thus far no version of the nvclock package in Ubuntu has provided smartdimmer. This will be implemented after beta, with the permission of the MIR team; the hal implementation expects the smartdimmer from nvclock, which has different semantics than the one currently in the archive (in addition to different hardware support).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #42 |
What do you mean with after beta ?
Will it be ready for jaunty ?
Is there somewhere where I could check the state from the MIR Team work ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #43 |
If the new release from smartdimmer is not released for jaunty, could it be possible to make hal use the nvclock binary for geforce8+ cards ?
The working nvclock binary is now released and working. So user could install nvclock pkg and have fn keys working... better than nothing...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #44 |
the new smartdimmer is already in jaunty.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #45 |
Hi, as the original reporter :-) I'm back again,
Today I installed Jaunty on my FE 31 m, using the geforce 7600go
As you've read before Ylethies patch solved this issue during 8.10, but in jaunty it doesn't work.
smartdimmer is preinstalled on my system, and works fine using -s -g -d and -i so diming is not the problem.
I tried the FN Keys, but they're working too, even the new notify interface shows up brightness, BUT
pressing the keys AND gnome-power doesn't take influence on the real Brightness value anymore !!
and the notvy daemon is only dimable within the left 20%
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #46 |
benste,
Which version of smartdimmer do you have installed? The patch applied to hal expects smartdimmer 0.8b4-1ubuntu2 or newer.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #47 |
I've the following versions :
hal 0.5.12~
smartdimmer 0.8b4-1ubuntu2
There is still no reaction on fn keys...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #48 |
I've also tried smartdimmer on command line, and it is working properly...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #49 |
On Sun, Mar 29, 2009 at 05:35:55PM -0000, Schmirrwurst wrote:
> I've the following versions :
> hal 0.5.12~
> smartdimmer 0.8b4-1ubuntu2
> There is still no reaction on fn keys...
Please post the output of the following command:
hal-find-
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://
<email address hidden> <email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #50 |
Schmirrwurst, try "xev" or "acpi_listen" in a terminal to look whether keys are working for you.
@ Steven:
benste@
Package: smartdimmer
Priority: optional
Section: utils
Installed-Size: 132
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-
Architecture: i386
Source: nvclock
Version: 0.8b4-1ubuntu2
Depends: libc6 (>= 2.4), libx11-6, libxext6
Filename: pool/main/
Size: 36688
MD5sum: e81b1b34f447575
SHA1: 624dcf6a110d599
SHA256: 7bd0dfedc322515
Description: Change LCD brightness on Geforce cards
Nvidia Geforce 6200Go, Geforce 8, Geforce 9, and other cards contain
hardware LCD brightness control. Smartdimmer allows this to be
controlled through software.
Bugs: mailto:<email address hidden>
Origin: Ubuntu
Task: ubuntu-desktop, print-server, kubuntu-desktop, edubuntu-desktop, xubuntu-desktop, mobile-live, mobile-mid, mobile-
++
benste@
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #51 |
Ok, I've confirmed the problem here. The following setting:
info.addons = {'hald-
is not what we wanted, we wanted
org.freedeskt
and I can see how the patch that was applied is buggy, it short-circuits because linux.sysfs_path is set.
Martin, what's the appropriate way to address this? Duplicate the logic from 10-laptop-
Changed in hal: | |
status: | Fix Released → Triaged |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #52 |
- hal-find-by-property Edit (117.5 KiB, text/plain)
$ acpi_listen
((bright down))
sony/hotkey SNC 00000001 00000010
sony/hotkey SNC 00000001 0000003b
((bright up))
sony/hotkey SNC 00000001 00000011
sony/hotkey SNC 00000001 0000003b
the command hal-find-
udi = '/org/freedeskt
the complete output (without -u) is in attachement
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #53 |
You've got different output to mine, maybe the keys are not recognized by HAL ?I've got the exact same output on my system,
sony/hotkey SNC 00000001 00000010
sony/hotkey SNC 00000001 0000003b
sony/hotkey SNC 00000001 00000011
sony/hotkey SNC 00000001 0000003b
which Ubuntu version do you use?
The popup appears with a clean Jaunty install, if you use 8.10 try to install ylethis package sony...V0.2
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Schmirrwurst (schmirrwurst) wrote : | #54 |
I use jaunty, it is an update version from alpha 4
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #55 |
if your laptop panel doesn't show up at all in lshal output, then that's another wrinkle entirely - you may have a completely separate bug than benste. I'm going to un-dupe bug #345531, please follow up to that bug for your case.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #56 |
Steven, is there anything new? Jaunty release is close and it would be nice to see this fixed.
You just wait for Martin or?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
getaceres (getaceres) wrote : | #57 |
Today I've installed kubuntu 9.04 Beta on my Sony VAIO FE31Z laptop and I've updated to the latest packages to April, 15 2009 and I can't change the brightnes on it, Fn keys are not doing anything.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #58 |
did you read this thread???
pls try
"smartdimmer -s 15"
and
"acpi_listen" clicking an fn key afterwards.
If both works you've got the same bug FN keys are working ! brightness changeing is working BUT HAL doesn't handle it right so that gpm and you FN keys doesn't trigger the smartdimmer ewvent
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jordi2019 (jordi2019) wrote : | #59 |
Hi everyone,
In Ubuntu 8.10 I could see the brightness bar but without any effect but, at least, I could see it. I've just upgraded to 9.04 and now I can change the brightness through the terminal with smartdimmer but, curiously I can't see the brightness bar. So is it working in the right direction?
If I can do anything to fix this bug, I'll be glad!
By the way my graphic card is a 8400M GT
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #60 |
Please hold on, for 8.10 the patch is attached. thx to ylethy
for 9.04 (like me) the bug is known and will be fixed asap thx to Steve
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Martin Pitt (pitti) wrote : | #61 |
The case where the panel does not exist at all in lshal is handled in bug 345531. The original issue was fixed in hal (see comment 38), thus I close this again.
Changed in hal (Ubuntu Jaunty): | |
status: | Triaged → Fix Released |
Changed in hal: | |
status: | New → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #62 |
No, this is *not* fixed.
Changed in hal (Ubuntu Jaunty): | |
status: | Fix Released → Triaged |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #63 |
So if it's fixed, do know when this willl be updated to default jaunty?
cause I want to use my battery live :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jcialdea (j-jimbodude) wrote : | #64 |
I agree - comment 38 does not provide a fix to this issue. See the duplicate #355984 for a more concise description of the issue.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #65 |
- the package Edit (3.5 KiB, application/x-debian-package)
Sorry guys, I thought the bug was already solved.
I made a quick fix. What differs from original distribution version is :
1- I only make 18 levels since for me smartdimmer goes from 15 to 100 with a step of 5.
2- I removed the "sysfspath" of the backlight card (that "sony-laptop" wrongly creates). When HAL find a sysfspath, it will prefer to use the "sysfspath" instead of the "sony-nvidia" method.
I made a quick package to make it easier to test/install/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jcialdea (j-jimbodude) wrote : | #66 |
That package fixes the main issue for me - the hotkeys now control the brightness. Thanks yleetiny.
However - I do not have 18 brightness levels when using the hotkeys - I have 5 - but the 5 levels seem to cover the full brightness range.
Also, the brightness notification pop-up does not show the correct brightness - though it is relatively correct. The bar only goes about 1/4 of the way up when the screen is at its maximum brightness. If the "brighter" hotkey is pressed when the bar is at its maximum point, the bar becomes slightly shorter, though the screen brightness does not change. Another tap on the "brighter" hotkey increases the bar length back to the "maximum" (1/4 filled) position. Repeated presses cycle between these two states - but the screen brightness stays at its maximum value.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #67 |
- sony-smartdimmer_0.4.deb Edit (3.5 KiB, application/x-debian-package; name="sony-smartdimmer_0.4.deb")
Sorry, I didn't test my package, there was wrong path and name for the fdi
file.
Here is a new one.
2009/5/3 jcialdea <email address hidden>
> That package fixes the main issue for me - the hotkeys now control the
> brightness. Thanks yleetiny.
>
> However - I do not have 18 brightness levels when using the hotkeys - I
> have 5 - but the 5 levels seem to cover the full brightness range.
>
> Also, the brightness notification pop-up does not show the correct
> brightness - though it is relatively correct. The bar only goes about
> 1/4 of the way up when the screen is at its maximum brightness. If the
> "brighter" hotkey is pressed when the bar is at its maximum point, the
> bar becomes slightly shorter, though the screen brightness does not
> change. Another tap on the "brighter" hotkey increases the bar length
> back to the "maximum" (1/4 filled) position. Repeated presses cycle
> between these two states - but the screen brightness stays at its
> maximum value.
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #68 |
Hi yleetiny, thanx for your latest fix but V 0.4 didn't work for me
The status bar is now able to be moved, but only until half of the size
And there is no influence on the actual brighness.
You're using smartdimmer and not nvclock aren't you?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #69 |
Strangely 0.3 doesn't work for me at all.
Does I have to reinstall hal first?
(using 7600go on a vaio)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Oswald-p (oswaldpp) wrote : | #70 |
Hi yleetiny,
As for Benste your latest fix (0.4) didn't work for me neither...
Fn + F5/F6 have no effect...
The command "smartdimmer -s 20" works well.
Thanks again for your work.
O-p
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #71 |
smartdimmer -s 15 is the minimum :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #72 |
- Brightness_test.sh Edit (1.2 KiB, application/x-sh; name="Brightness_test.sh")
Sorry guys,
I don't really understand why it is not working, but you have to uninstall
the previous version of the package first, or maybe the paths I use are only
for 64bits.
I'm sorry, but I don't have a lot of time to help you for now.
So, could you extract the package, and try to install manually the files ?
each file have suffixes ".smart" (to prevent conflicts with HAL files).
I joined here the small script I use to debug. It will use HAL through DBUS.
2009/5/4 benste <email address hidden>
> smartdimmer -s 15 is the minimum :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #73 |
yleetiny,
It would help us to get this integrated into Ubuntu 9.04 as an SRU if you would provide a diff against the hal package, rather than a stand-alone .deb; we need to be able to integrate this into the hal package, instead of having a separate nvidia-specific package.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #74 |
I'll give it a try asap maybe this evening.
The 64bit path only is the most appropriate in my opinion.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jcialdea (j-jimbodude) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #75 |
The first deb worked on my system - which is not a 64-bit system. I have not had an opportunity to test the second.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jcialdea (j-jimbodude) wrote : | #76 |
I guess I could be a lot more specific. My system is:
Sony VGN-S480
Centrino 2.0Ghz
nVidia GeForece Go 6200
The deb "sony-smartdimm
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #77 |
- 10-sony-laptop-brightness.fdi Edit (9.3 KiB, application/octet-stream; name="10-sony-laptop-brightness.fdi")
- hal-system-lcd-get-brightness-linux Edit (2.6 KiB, application/octet-stream; name=hal-system-lcd-get-brightness-linux)
- hal-system-lcd-set-brightness-linux Edit (2.6 KiB, application/octet-stream; name=hal-system-lcd-set-brightness-linux)
Yes, you're right .diff files are better.
It's just that I forgot to backup the previous files, so I cannot generate
them asap.
You'll here find there the 3 files that I modified.
their paths are "/usr/lib/
"/usr/share/
Just diff them for me.
2009/5/5 jcialdea <email address hidden>
> I guess I could be a lot more specific. My system is:
> Sony VGN-S480
> Centrino 2.0Ghz
> nVidia GeForece Go 6200
>
> The deb "sony-smartdimm
> noted earlier. I have not tried 0.4 yet.
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Oswald-p (oswaldpp) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #78 |
I noticed that "lshal | grep primary_
"system.
for my NVidia 7400 GO (sony viao VGN-C2Z_B)
but in the 10-sony-
Does this difference (0x1d8 vs 0x01d8) has any importance?
Hopping it will help...
O-p
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
LaurentAlmeras (laurent-almeras) wrote : | #79 |
there's no difference between 0x1d8 and 0x01d8 in hexadecimal. This is like 10 and 010 : leading 0 are not significant (0x is a prefix to notice hexadecimal number).
472 = 4 x 100 + 7 x 10 + 2 = 1 x 16^2 + 13 x 16 + 8 = 0x1d8 = 0x01d8
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #80 |
No workaround yet?
I thought you're aware of the exact failure :-)
Does the case that HAL will be dropped for 9.10 (for https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #81 |
Today the keys change from fully dimmed to not dimed but there are only 2 steps - I need the 21 steps back (or has this been caused by compiz shortcuts?)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #82 |
Hi! I am experiencing the same behaviour/problem as benste has. My laptop is VGN-FE31HR on Jaunty 64bit. I've installed sony-smartdimme
defue@defue-
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
I've trid Brightness_test.sh (#72) and here is the output:
defue@defue-
your current brightness level is : 1
method return sender=:1.40 -> dest=:1.264 reply_serial=2
int32 0
your new brighness level is :0
defue@defue-
Error org.freedesktop
your current brightness level is :
your current value is:
defue@defue-
Error org.freedesktop
your current brightness level is :
Error org.freedesktop
your new brighness level is :1
Any workarounds?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #83 |
- 10-laptop-panel-mgmt-policy.fdi Edit (1.6 KiB, text/html)
* Thanks a lot Alex for your help, I think that I now understand what is wrong.
* On my computer "HAL" workaround is working, here is the infos on my device.
yleetiny@
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
* As you can see, I somehow got the method/functions to set/get brightness. The differences are :
info.interfaces = {'org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
* I searched down what fdi file do it, it's "/usr/share/
* Could somebody try that workaround ?
Changed in hal (Ubuntu): | |
status: | Triaged → In Progress |
Changed in hal (Ubuntu Jaunty): | |
status: | Triaged → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #84 |
- 10-laptop-panel-mgmt-policy.fdi Edit (1.6 KiB, text/html)
I got it working!!!
So, here is my investigation:
1) I have exactly the same /usr/share/
2) I've carefully looked through the 10-laptop-
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.category" string=
<!-- only set if the laptop_
<match key="laptop_
<!-- for the generic sysfs interfaces -->
<match key="linux.
<append key="info.addons" type="strlist"
</match>
<!-- for all the procfs related brightness interfaces -->
<match key="linux.
<append key="info.
<append key="org.
<append key="org.
<append key="org.
<append key="org.
<append key="org.
<append key="org.
<append key="org.
<append key="org.
</match>
</match>
</match>
</device>
</deviceinfo>
* and looked through my output of the following command:
defue@defue-
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
*Obvously it maches the rule from 10-laptop-
<!-- for the generic sysfs interfaces -->
<match key="linux.
<append key="info.addons" type="strlist"
</match>
* and doesn't match the opposite rule
<!-- for all the procfs related brightness interfaces -->
<match key="linux.
<append key="info.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #85 |
- benste_post85_attachement.txt Edit (2.6 KiB, text/plain)
Hi, I'm not sure what's my problem whether it's the same or not, so I attached output of the fdi file, and the hal output.
I guess yleetiny your working on smartdimmer 0.5 as far as you know the bug ?
-------
2nd part:
I installed sonysmartdimmer 0.4 again, and now I can change the value up to half of the brightness changeing bar, but no effect on the actual brightness, but smartdimmer works.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #86 |
thx a lot alex, tried some combinations of values in the above named file and ended up with the folling working configuration:
START - WORKAROUND
/usr/share/
[...]
<!-- for the generic sysfs interfaces -->
<match key="linux.
<append key="info.addons" type="strlist"
</match>
<!-- for all the procfs related brightness interfaces -->
<match key="linux.
[...]
and after restarting hal (sudo /etc/init.d/hal restart) all is working now.
END - WORKAROUND
the only strange thing is that my solution is the opposite configuration of yours cause you said:
(1: exists="true", 2: exists="false")
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #87 |
sry again, i just messed up your text, the config is the same in your uploaded fdi file.
@yleetiny: I don't know what this change affected, but is it possible to modify your package so that the workaround is applied, and the sony-smartdimmer package may be inserted in main release for karmic?
+ Did so. try those workarounds with karmic ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #88 |
@benste,
you did all right. I messed up values in the last line. Ofcource it should be 1: exists="false", 2: exists="true" as it is in the attachment.
@yleetiny
To summarize the bug. Sony-smartdimme
In my and benste's config we had "linux.sysfs_path" defined in lshal (see #84), so we had to change the rules to the opposite. But defenetely in this case it will not work for those who has a config like yours. So we need a more generic solution. I guess the matching rules in 10-laptop-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #89 |
- modified version - which needs testing Edit (9.7 KiB, text/html)
Here is a new version of "/usr/share/
I just removed the "linux.sysfs_path" for all model to do the trick.
Can somebody test it ?
@Alex : Thanks a lot for your highlights
@benste :
I did not try on Karmic. Since I do not wish to mess up my laptop install (work), I don't expect to do it. If somebody just try it, it should be great.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #90 |
@yleetiny: It didn't work for me. "linux.sysfs_path" was still presented in lshal and brightness changing didn't not work.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #91 |
On Sat, Aug 01, 2009 at 09:17:54AM -0000, Alex wrote:
> * and looked through my output of the following command:
>
> defue@defue-
> udi = '/org/freedeskt
> info.addons = {'hald-
> info.capabilities = {'laptop_panel'} (string list)
> info.category = 'laptop_panel' (string)
> info.parent = '/org/freedeskt
> info.product = 'Generic Backlight Device' (string)
> info.subsystem = 'backlight' (string)
> info.udi = '/org/freedeskt
> laptop_
> laptop_
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'backlight' (string)
> *Obvously it maches the rule from 10-laptop-
> <!-- for the generic sysfs interfaces -->
> <match key="linux.
> <append key="info.addons" type="strlist"
> </match>
No, it doesn't? In the above-quoted output for the udi, there is no
'linux.sysfs_path' key.
> On my system this behaviour is due to "linux.sysfs_path" already exists.
> Here is the appropriate lshal output:
> udi = '/org/freedeskt
> info.linux.driver = 'nvidia' (string)
> info.parent = '/org/freedeskt
> info.product = 'G72M [GeForce Go 7400]' (string)
> info.subsystem = 'pci' (string)
> info.udi = '/org/freedeskt
> info.vendor = 'nVidia Corporation' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'pci' (string)
> linux.sysfs_path = '/sys/devices/
> pci.device_class = 3 (0x3) (int)
> pci.device_protocol = 0 (0x0) (int)
> pci.device_subclass = 0 (0x0) (int)
> pci.linux.
> pci.product = 'G72M [GeForce Go 7400]' (string)
> pci.product_id = 472 (0x1d8) (int)
> pci.subsys_
> pci.subsys_vendor = 'Sony Corporation' (string)
> pci.subsys_
> pci.vendor = 'nVidia Corporation' (string)
> pci.vendor_id = 4318 (0x10de) (int)
This is hal output for an unrelated udi. linux.sysfs_path is a generic key
name that appears on *many* udis - the question is whether it's present on
the same udi that also matches
<match key="info.category" string=
The one above does not.
> *As you can see "linux.sysfs_path = '/sys/devices/
> So if you change rules matches to the opposite (see attached file) - IT WORKS!!!
It will also break backlight handling for all other users, so this isn't a
patch that we can include in the archive.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer ...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #92 |
Steve, I tried to change brightness with this solution in a guest session and it worked perfectly.
So what do you mean by "It will also break backlight handling for all other users, so this isn't a
patch that we can include in the archive." ?
+ do you know which date would be deadline for karmic if the package would be stable fast enough ?
https:/
I guess it's Feature Freeze on 27th August isn't it ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #93 |
@Steve,
You are absolutely right on all your points.
I have 2 related to the bug udi:
1) Nvidia card pci
udi = '/org/freedeskt
info.linux.driver = 'nvidia' (string)
info.parent = '/org/freedeskt
info.product = 'G72M [GeForce Go 7400]' (string)
info.subsystem = 'pci' (string)
info.udi = '/org/freedeskt
info.vendor = 'nVidia Corporation' (string)
linux.
linux.subsystem = 'pci' (string)
linux.sysfs_path = '/sys/devices/
pci.device_class = 3 (0x3) (int)
pci.device_
pci.device_
pci.linux.
pci.product = 'G72M [GeForce Go 7400]' (string)
pci.product_id = 472 (0x1d8) (int)
pci.subsys_
pci.subsys_vendor = 'Sony Corporation' (string)
pci.subsys_
pci.vendor = 'nVidia Corporation' (string)
pci.vendor_id = 4318 (0x10de) (int)
2) the backlight
udi = '/org/freedeskt
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
The first one (nvidia pci) is used in 10-sony-
The second one (the backlight) is used in 10-laptop-
In the latter fdi the following matching rules are used:
<match key="info.category" string=
<match key="laptop_
<match key="linux.
According to the rules it should match the second udi (the backlight),and as the udi does not contain "linux.sysfs_path" then necessary attributes should be added. But on my (and most likely benste's) config it does not. May be there is a bug in the process of rules being applied? But if I change the last matching rule to
<match key="linux.
it works!
Why do we need to check if "linux.sysfs_path" exists to apply the config? Can we check for "laptop_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #94 |
I was hoping that I've done the trick. The issue is that the
"10-laptop-
"10-sony-
Thus There is two solutions :
1- force the evaluation of "10-sony-
by changing its order. But it may become non-standard.
2- Second approach is to copy&paste the appropriate part of
"10-laptop-
I will search throught the specifications if solution 1 can be done without
becoming non-standard. The thing to understand here is that the module
"sony-laptop" (which give you keys, etc. on VAIOs) also create a backlight
device with "linux.sys_fspath". This "sys_fspath" only work on old graphic
cards. "10-sony-
it is the wrong one for our models.
2009/8/2 Alex <email address hidden>
> @Steve,
> You are absolutely right on all your points.
> I have 2 related to the bug udi:
>
> 1) Nvidia card pci
> udi = '/org/freedeskt
> info.linux.driver = 'nvidia' (string)
> info.parent = '/org/freedeskt
> info.product = 'G72M [GeForce Go 7400]' (string)
> info.subsystem = 'pci' (string)
> info.udi = '/org/freedeskt
> info.vendor = 'nVidia Corporation' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'pci' (string)
> linux.sysfs_path = '/sys/devices/
> (string)
> pci.device_class = 3 (0x3) (int)
> pci.device_protocol = 0 (0x0) (int)
> pci.device_subclass = 0 (0x0) (int)
> pci.linux.
> (string)
> pci.product = 'G72M [GeForce Go 7400]' (string)
> pci.product_id = 472 (0x1d8) (int)
> pci.subsys_
> pci.subsys_vendor = 'Sony Corporation' (string)
> pci.subsys_
> pci.vendor = 'nVidia Corporation' (string)
> pci.vendor_id = 4318 (0x10de) (int)
>
> 2) the backlight
> udi = '/org/freedeskt
> info.capabilities = {'laptop_panel'} (string list)
> info.category = 'laptop_panel' (string)
> info.interfaces = {'org.freedeskt
> list)
> info.parent = '/org/freedeskt
> info.product = 'Generic Backlight Device' (string)
> info.subsystem = 'backlight' (string)
> info.udi = '/org/freedeskt
> laptop_
> laptop_
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'backlight' (string)
> org.freedesktop
> {'brightness_
> org.freedesktop
> {'hal-system-
> list)
> org.freedesktop
> 'GetBrightness'} (string list)
> org.freedesktop
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #95 |
Maybe solution 1 : Could somebody try to move
"/usr/
into "/usr/share/
"/usr/share/
(obviously after moving it restart HAL or the computer)
2009/8/3 yohan Lee-tin-yien <email address hidden>
> I was hoping that I've done the trick. The issue is that the
> "10-laptop-
> "10-sony-
> Thus There is two solutions :
> 1- force the evaluation of "10-sony-
> by changing its order. But it may become non-standard.
> 2- Second approach is to copy&paste the appropriate part of
> "10-laptop-
> I will search throught the specifications if solution 1 can be done without
> becoming non-standard. The thing to understand here is that the module
> "sony-laptop" (which give you keys, etc. on VAIOs) also create a backlight
> device with "linux.sys_fspath". This "sys_fspath" only work on old graphic
> cards. "10-sony-
> it is the wrong one for our models.
> 2009/8/2 Alex <email address hidden>
>
>> @Steve,
>> You are absolutely right on all your points.
>> I have 2 related to the bug udi:
>>
>> 1) Nvidia card pci
>> udi = '/org/freedeskt
>> info.linux.driver = 'nvidia' (string)
>> info.parent = '/org/freedeskt
>> info.product = 'G72M [GeForce Go 7400]' (string)
>> info.subsystem = 'pci' (string)
>> info.udi = '/org/freedeskt
>> info.vendor = 'nVidia Corporation' (string)
>> linux.hotplug_type = 2 (0x2) (int)
>> linux.subsystem = 'pci' (string)
>> linux.sysfs_path = '/sys/devices/
>> (string)
>> pci.device_class = 3 (0x3) (int)
>> pci.device_protocol = 0 (0x0) (int)
>> pci.device_subclass = 0 (0x0) (int)
>> pci.linux.
>> '/sys/devices/
>> pci.product = 'G72M [GeForce Go 7400]' (string)
>> pci.product_id = 472 (0x1d8) (int)
>> pci.subsys_
>> pci.subsys_vendor = 'Sony Corporation' (string)
>> pci.subsys_
>> pci.vendor = 'nVidia Corporation' (string)
>> pci.vendor_id = 4318 (0x10de) (int)
>>
>> 2) the backlight
>> udi = '/org/freedeskt
>> info.capabilities = {'laptop_panel'} (string list)
>> info.category = 'laptop_panel' (string)
>> info.interfaces = {'org.freedeskt
>> list)
>> info.parent = '/org/freedeskt
>> info.product = 'Generic Backlight Device' (string)
>> info.subsystem = 'backlight' (string)
>> info.udi = '/org/freedeskt
>> laptop_
>> laptop_
>> linux.hotplug_type = 2 (0x2) (int)
>> linux.subsystem = 'backlight' (string)
>>...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #96 |
@yleetiny,
first solution to move "/usr/share/
But the second (to move "10-sony-
Also I've found out that "<remove key="linux.
Thank you yleetiny!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #97 |
- 10-sony-laptop-brightness.fdi Edit (9.6 KiB, text/html)
Can people please test whether the attached file written to /usr/share/
I believe this is what the earlier hal upload was aiming for, and fell just short of.
If it doesn't work, please again post the output of 'hal-find-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #98 |
On Sun, Aug 02, 2009 at 04:49:27PM -0000, Alex wrote:
> According to the rules it should match the second udi (the
> backlight),and as the udi does not contain "linux.sysfs_path" then
> necessary attributes should be added. But on my (and most likely
> benste's) config it does not. May be there is a bug in the process of
> rules being applied? But if I change the last matching rule to
> <match key="linux.
> it works!
> Why do we need to check if "linux.sysfs_path" exists to apply the
> config? Can we check for "laptop_
> make this assingment in 10-sony-
In the case of the 10-laptop-
specifically because hal has a generic method for setting/getting brightness
when linux.sysfs_path is available (hald-addon-
scripts to do other things when it is not available. The nvidia backlights
expose *a* sysfs path, so we should not change this, but the path doesn't
work with the standard in-kernel methods.
This difference should (IMHO) be encapsulated in the sony-specific fdi file.
> I guess the rule should look like this (I am not an expert, but the
> complete beginner):
> <match key="laptop_
Yes, that's consistent with the one I've just uploaded as a proposed
replacement. :)
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://
<email address hidden> <email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #99 |
@Steve,
I have completely reinstalled hal package (previously removed all *.fdi files) and saved 10-sony-
Here is the output:
defue@defue-
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/
And here is the output before copying the file (just after clean hal reinstall):
defue@defue-
udi = '/org/freedeskt
info.addons = {'hald-
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/
wierd...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #100 |
Alex,
Did you restart hal after adding the new fdi file?
What is the output of lshal -u /org/freedeskto
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #101 |
Yes I restarted hal.
here is the out:
defue@defue-
udi = '/org/freedeskt
info.addons = {'hald-
info.callouts.add = {'hal-acl-tool --remove-all', 'hal-storage-
info.
info.
info.
info.
info.capabilities = {'cpufreq_control'} (string list)
info.interfaces = {'org.freedeskt
info.product = 'Computer' (string)
info.subsystem = 'unknown' (string)
info.udi = '/org/freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
power_
power_
power_
power_
power_
power_
system.
system.
system.
system.
system.
system.
system.
system.
system.
system.formfactor = 'laptop' (string)
system.
system.
system.
system.
system.
system.
system.
system.
system.
system.
system.
system.
system.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : | #102 |
- sony-smartdimmer.tar Edit (30.0 KiB, application/x-tar)
@ 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://
So maybe, deleting the "sysfs path" is something that should naturally be done when a device is wrongly created/
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...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cyberkilla (cyberkilla04uk-deactivatedaccount) wrote : | #103 |
Hello,
I have a Sony Vaio VGN-AR41E, which has an NVidia GeForce 8400M GT graphics card.
Smartdimmer works for me, and the Fn keys work now too (as of Karmic Alpha 4).
Will your fix work for me? I do not see my card in the .fdi file.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cyberkilla (cyberkilla04uk-deactivatedaccount) wrote : | #104 |
Sorry, I didn't realise this wasn't for my card.
Still, 8400M GT doesn't work either.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #105 |
This bug was fixed in the package hal - 0.5.13-1ubuntu2
---------------
hal (0.5.13-1ubuntu2) karmic; urgency=low
[ Steve Langasek ]
* debian/
it actually gets applied.
* debian/
/usr/
apply the correct methods as well, in place of
hald-
[ Martin Pitt ]
* debian/control: Add back smartdimmer recommends for above patch.
-- Steve Langasek <email address hidden> Thu, 27 Aug 2009 15:54:42 +0200
Changed in hal (Ubuntu): | |
status: | In Progress → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #106 |
I guess someone tested in Karmic ?
Could so explain me what exactly happened now?
Does "debian/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : | #107 |
Actually, it's not fixed at all. The hal upload includes my previous attempt at fixing this, which feedback says doesn't fix it after all. Sorry, resetting the bug state.
Changed in hal (Ubuntu): | |
status: | Fix Released → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
simran (smash-sumthin) wrote : | #108 |
ahh im glad i found this thread, I installed jaunty on my sony AW series vaio (nvidia 9300m GS) - and the built in gnome brightness control had a cross over it and was ineffective -
so i have been using smartdimmer (preinstalled) to change it manually - but this gets tedious to use terminal after every reboot/watching a movie etc .
I read that you could make an applet for smartdimmer - but im not quite sure how to do this..Although the post is here: http://
I have another older sony laptop with intel gfx (onboard) and the gnome brightness slider works fine on that.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
simran (smash-sumthin) wrote : | #109 |
maybe also another post you may want to look at
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #110 |
Hi simram, I'm sry to say, but I have to inform you that you picked the wrong report, as the topic is already saying this thread is not about Nvidia Grafic Cards in 8 or 9 series it's only about 7 and older
Binary package hint: hotkey-setup
seperatred bug from:
Sony + Intel --> https:/
Sony + Nvidia 8+
Here it is sony + Nvidia 7-
e.g. 7600Go doesn't work
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #111 |
Hi Steven, ylethiy and co, Ive just upgraded to karmic Beta/ RC, and the original bug is still present, although FN key feautures has been significantly improving (e.g. S1 key now has an own event)
But as brightness diming with and without your nvidia driver still doesn't work I've tried your 0.4 package as workaround, but even this doesn't work know.
Could you Ylethy fix your package to fit into karmic,
and you Steven tell us what the next steps would be to get at least for 10.04 a bugfix for something which exists min 3 years now and has medium priority ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Moebius (louiscyphre) wrote : | #112 |
Hi,
I can confirm that the bug is still present on Karmic stable - HAL 0.5.13 (fresh install on FE31M).
I fixed it changing the file "/usr/share/
from
<remove key="info.addons" type="strlist"
to
<remove key="info.addons" type="strlist"
This prevent HAL from using the generic addon to manage the backlight.
Hope it helps.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #113 |
@ Steve , moebius, yleetiny
As you may know yourself the workaround described earlier doesn't work on karmic.
But I guess with moebius post #112 we're on the right way.
I've tested this beahviour on my FE31m after removing sony-smartdimmer and reinstalling HAL,
it looks like for me this patch applied the abbility to decrease brightness level, even if it's annoying that it has arround 20 steps until fully dimmed it's working.
but that's only one part of it, @ moebius, did you already try increasing the brightness level, this doesn't work for me with your patch applied in the fdi.
+ Could so else test this on his Vaio which isn't a FE series ? - should be the same line to fix as this looks grafic card independant
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Moebius (louiscyphre) wrote : | #114 |
@ benste,
the workaround I posted on #112 works for me completely (decreasing and increasing without the 20 steps problem) on a fresh (Kubuntu) Karmic install (without installing or removing any package).
The "hald-addon-
[W] addon-generic-
so I had to remove the addon from the fdi.
In your case, I suggest to keep debugging HAL to find what is going wrong.
You could:
sudo /etc/init.d/hal stop
sudo hald --verbose=yes --daemon=no 2>&1 | tee /tmp/hal.log
Then, please, try to adjust the brightness and attach hal.log.
(As described in https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
thewall83 (vitorenna) wrote : | #115 |
Ok, I think that with Moenius' workaround the bug is solved for Kubuntu Karmic, but it's not for Ubuntu karmic, cause I notice the correct behaviour in my KDE session, instead of the GNOME session which has the problems shown by benste.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #116 |
nice to know I've to add something too, gnome-power-
Is there a way to get moebius workaround as normal ubunut patch?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #117 |
Hi again, I just took a look at the sources and can't locate this file
either in "hal" and "hal-info" which should include the fdi to fix.
Looks like I can't patch it :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #118 |
Hi,
firstly, sorry for not debbugging the issue in Karmic (sony laptop used for
work), so this post is purely informative, but may help the debbuging
process.
To better understand we the bug should be here is some technical infos :
1- sony_laptop (module): handle the Hardware-software FN keys dectection on
sony vaios (ex: 0x09 )
2- HAL (old, soon depreciated) : bind FN keys to the classic FN keys (ex:
0x09==brightnes
2bis- udev-extras (new) : should do the same thing as 2 [BUG HERE ???]
3- GNOME/KDE : link the classic FN keys to a general action. Do this via HAL
(soon depreciated) or udev+Device Kit (new)
4- HAL (old, depreciated?) : link a general action to a specific
command/program (our fix/package just do that : we use smartdimmer or
nvclocks)
That's why, as the issue of the FN keys recognition is different on KDE and
GNOME, I would tend to think that it's linked to HAL depreciation. Indeed, I
strongly think that KDE still use HAL for "FN bindings keys" from the
"sony_laptop" module, whereas GNOME use "udev" (udev-extras, see the
Halsectomy link below).
So maybe, we should install "udev-extras", test it, if it doesn't work : get
the source and modify it to match the HAL file
(30-keymap-
Hoping that this talk will help,
Yohan Lee-tin-yien <email address hidden>
For References see :
https:/
https:/
https:/
https:/
[ HAL file FN keys - intrepid version ]
/usr/share/
PS : That means that nowadays workaround "nvclocks/
probably not work for the next Ubuntu versions.
2009/11/6 benste <email address hidden>
> Hi again, I just took a look at the sources and can't locate this file
> either in "hal" and "hal-info" which should include the fdi to fix.
>
> Looks like I can't patch it :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Steve Langasek (vorlon) wrote : Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #119 |
On Sun, Nov 08, 2009 at 09:54:52AM -0000, yleetiny wrote:
> So maybe, we should install "udev-extras", test it, if it doesn't work : get
> the source and modify it to match the HAL file
> (30-keymap-
udev-extras is no longer a separate package; all of these keymaps are
included in the core udev package now.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://
<email address hidden> <email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
yleetiny (yleetiny) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine) | #120 |
- tarball of concerned files Edit (20.0 KiB, application/x-tar)
It seems that devicekit-power won't support the backlight, so I revert to HAL use even if it's depreciated.
For those who wants backlight support in Karmic, here are the 3 modified files (work in xubuntu 9.10).
Reference :
http://<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex (alex-khv) wrote : | #121 |
- acpi_scripts.tar.gz Edit (550 bytes, application/x-tar)
Have just installed Ubuntu Lucid Lynx (10.04) and unsurprisingly FN brightness keys didn't work. Just to remind that I have Sony FE31HR with Nvidia 7400 on board. Solution #112 leads exactly to benste's problems (#113). Also I tried the following solution (it is one solution in forum posts):
http://
http://
But it doesn't work as well.
So I ended with ACPI mix up solution that is OK for me:
1) put the sony.fdi file into /etc/hal/
2) run acpi_listen and press FN+brightness-down, FN+brighntess-up and see the output. In my case the keys were FN+F5 and FN+F6 and here is my output:
sony/hotkey SNC 00000001 00000010
sony/hotkey SNC 00000001 0000003b
sony/hotkey SNC 00000001 00000011
sony/hotkey SNC 00000001 0000003b
Thus my FN+brightness-
3) Adjust the files sony-brightness-up and sony-brightness
4) Copy sony-brn-up and sony-brn-down to /etc/acpi
5) Reboot
Now FN keys must be working. Notifications are not displayed but it is better than nothing :)
Of course it is not a solution for the bug, but a some workaround anyway.
summary: |
- sony brighness on a geforce series older than 8 (nvclock works fine) + sony brightness on a geforce series older than 8 (nvclock works fine) |
description: | updated |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : | #122 |
fyi I've mailed the gnome-power-manager mailinglist - possibly someone will help us with this very annoying issue.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gursimran singh (simar) wrote : | #123 |
Affects in ubuntu 10.04 in VPC CW series sony laptop where slider appears but brightness does not changes
I'm a new user , not able to understand wats going on ... is it this fixed or not ????
refer
https:/
also
http://
seems to be related to this ...
regards gursimran singh ..
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gursimran singh (simar) wrote : | #124 |
If the bug is same please remove it ... or help me to merge it with this one ...
if this bug is fixed let me know the solution also .
i'm a new user plz ignore my mistakes .....
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gursimran singh (simar) wrote : | #125 |
Worked for VPC CW 16 FG in http://
also fixed bugs 462385 and 588026 ......
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
benste (benste) wrote : Re: [Bug 277589] Re: sony brightness on a geforce series older than 8 (nvclock works fine) | #126 |
Simar , all VPC series defenitly include a newer grafic card - you bug is
not related to this one here!
one of the last Vaios with gf 7600 was sold 2 years ago !!
Changed in hal: | |
status: | Invalid → New |
status: | New → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex Valavanis (valavanisalex) wrote : | #127 |
Jaunty reached end-of-life on 23 October 2010, so this bug will not be fixed in that version of Ubuntu. It has been marked as "In Progress" in newer versions.
Changed in hal (Ubuntu Jaunty): | |
status: | In Progress → Won't Fix |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
dino99 (9d9) wrote : | #128 |
Changed in hal (Ubuntu): | |
status: | In Progress → Invalid |
Brightness controls Fn+<something> don't work on a Sony Vaio FE31Z (Geforce 7600Go)