Comment 171 for bug 95444

Revision history for this message
Thunderbird (thunderbird-linuxhardware) wrote : Re: [Bug 95444] Re: No Screen Backlight Control; Notebooks (Vaio, Macbook, HP/Compaq, Samsung, Zepto et al.) with Nvidia Geforce8/Geforce9/Quadro series graphics

You could rely on nvclock/smartdimmer for detecting the capability but
I would also like a list of supported cards. It just doesn't mean that
when a laptop uses lets say a geforce8 that it uses nvclock's
smartdimmer will work, nor does it mean that all laptops from sony
work. For that reason I want to have a list. Perhaps there is some
pattern in it or so. In the end I might find a better way based on
e.g. the video bios.

Further why re you dividing the value by 5? All users should update to
the smartdimmer version shipped with nvclock 0.8b4. It only supports
values between 0 and 100%. The old geforce6/7 smartdimmer used values
between 0 and 20 or whatever and those directly mapped to gpu
registers. On modern cards the value can be between 0 and a few
thousand.

Roderick

Quoting Shawe Ewahs <email address hidden>:

> Bem, I'm watching your changes and I want to know want thing: "nvidia8"
> detection on your files, works also with "nvidia9" and "quadro" series?
> It's also important for try to generalise the solution.
>
> Or we need to add also similar to this?
>
> if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "nvidia8" ]; then
> value=$((`smartdimmer -g | awk '{print $3;}'`))
> value=$((($value /5)-1))
> exit ${value}
> fi
>
> if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "nvidia9" ]; then
> value=$((`smartdimmer -g | awk '{print $3;}'`))
> value=$((($value /5)-1))
> exit ${value}
> fi
>
> if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "quadro" ]; then
> value=$((`smartdimmer -g | awk '{print $3;}'`))
> value=$((($value /5)-1))
> exit ${value}
> fi
>
> I don't know if it is correct, but also similar to this must be added
> for a generalised solution.
>
>
> And for .fdi file, I think that we need change:
>
> <match
> key="/org/freedesktop/Hal/devices/computer:system.hardware.product"
> string="MODEL_NAME">
>
> for anything similar to:
>
> <match key=”pci.vendor_id” int=”0×8086″> <!– Intel Corporation –>
> <match key=”pci.product_id” int=”0×3582″> <!– 82852/855GM
> Integrated Graphics Device –>
> <match key=”pci.subsys_vendor_id” int=”0×1179″> <!– Toshiba
> America Info Systems –>
> <match key=”pci.subsys_product_id” int=”0×2″> <!– Unknown
> (0×0002) –>
>
> I found it on: http://blogs.gnome.org/hughsie/2006/06/
>
> In Device Manager, it must have any key that help to us to detect this
> information, no?
>
> --
> No Screen Backlight Control; Notebooks (Vaio, Macbook, HP/Compaq,
> Samsung, Zepto et al.) with Nvidia Geforce8/Geforce9/Quadro series
> graphics
> https://bugs.launchpad.net/bugs/95444
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Hardware Abstraction Layer (HAL): Invalid
> Status in “hal” source package in Ubuntu: New
> Status in “hotkey-setup” source package in Ubuntu: In Progress
> Status in “linux” source package in Ubuntu: In Progress
> Status in “nvidia-graphics-drivers-177” source package in Ubuntu: In Progress
>
> Bug description:
> Using Ubuntu on laptops with Nvidia Geforce8/Geforce9/Quadro vga card:
>
> On various laptops from Sony, HP, Samsung and others there is no way
> to control backlight brightness. In case of Sony e.g. on Vaios with
> 8-series adapters, e.g.
> nVidia Corporation GeForce 8400M GS
> nVidia Corporation GeForce 8600M GT (rev a1)
>
> The registers have been found (kudos to mikes!) and incorporated into
> nvclock, which you can check out by anonymous cvs and install:
>
> ]$ sudo apt-get install cvs
> ]$ cvs
> -d:pserver:<email address hidden>:/cvsroot/nvclock
> login
> ]$ cvs -z3
> -d:pserver:<email address hidden>:/cvsroot/nvclock co
> -P nvclock
> ]$ cd nvclock
> ]$ ./autogen.sh
> ]$ ./configure
> ]$ make
> ]$ sudo make install
>
> To test, make sure you are using nVidia's proprietary driver, then:
> ]$ sudo nvclock -S 100
> ]$ sudo nvclock -S 15
> ]$ sudo nvclock -S +10
>
> So far mikes' registers have been found to work on:
>
> Apple laptops
> {
> Macbook 5,1 Aluminum 13.3" (Geforce 9400M)
> }
>
> HP/Compaq laptops
> {
> 8510W (Quadro FX 570M, MXM)
> 8710P (Quadro NVS 320M, MXM)
> }
>
> Samsung laptops:
> {
> Q210 (Geforce 9200M)
> Q310 (Geforce 9200M)
> R510 (Geforce 9200M)
> }
>
> Sony laptops:
> {
> 8400M GS:
> VGN SZ650N, SZ61MN/B, SZ730E, SZ750N, SZ71MN/B, SZ71E
>
> 8400M GT:
> VGN FZ38M, FZ31M, FZ11Z, NR31, AR41E, FZ11S, FZ290, FZ250AE, FZ21E,
> FZ21M, FZ21S, FZ470E, FZ340E, FZ190N, FZ18M, FZ31E, FZ18E, FZ260E
> NR21Z, NR38S, NR21S
>
> 8600M GS:
> VGN FZ31Z, FZ21Z, FZ31S
>
> 8600M GT:
> VGN AR51SU, AR71S
> }
>
> Zepto laptops
> {
> Geforce 9600GT based laptops using MXM cards
> }
>
> Add your model to the list by clicking on the "Update description /
> tags" link, NOT by asking in a bug comment for someone else to do it.
>
> To get hotkeys to work, follow the instructions in this comment:
> https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/95444/comments/75
> or install the package at :
> https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/95444/comments/111
>
> Dual-adapter models (SZ6 among others) can get backlight control
> with the Intel adapter using xbacklight, and can get hotkey
> functionality as per bug #173652.
>