Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-24-10, 10:23 AM   #73
guillaumezin
Registered User
 
Join Date: Dec 2009
Posts: 26
Default Re: Linux backlight driver

Hello,

I updated the driver (see first post of the topic) a way that will be easier for me to maintain. I added some laptop models but it needs further testing. Feedback is welcome.

Guillaume
guillaumezin is offline   Reply With Quote
Old 10-26-10, 05:53 PM   #74
theone123
Registered User
 
Join Date: Oct 2010
Posts: 15
Default Re: Linux backlight driver

Thank you very much!! Thats perfect.

But you've added wrong values for min. and max. brightness for VAIO VPCCW1S1E. The values are: min= 7000 and max= 2500000. And another problem on these VAIO model are the scripts you've added. The script doesn't changed the brightness correctly. I had to use oBacklight to get everything working. But now it's perfect. Thanks.

I only wanted to tell you that, because maybe you could fix this in your release!
theone123 is offline   Reply With Quote
Old 11-01-10, 09:01 AM   #75
guillaumezin
Registered User
 
Join Date: Dec 2009
Posts: 26
Default Re: Linux backlight driver

Quote:
Originally Posted by theone123 View Post
But you've added wrong values for min. and max. brightness for VAIO VPCCW1S1E. The values are: min= 7000 and max= 2500000. And another problem on these VAIO model are the scripts you've added. The script doesn't changed the brightness correctly. I had to use oBacklight to get everything working. But now it's perfect. Thanks.

I only wanted to tell you that, because maybe you could fix this in your release!
Thank you, this is corrected in the 0.54 version. And I added a link to the oBacklight script.

Guillaume
guillaumezin is offline   Reply With Quote
Old 11-02-10, 09:58 PM   #76
alex_mayorga
Registered User
 
Join Date: Nov 2010
Posts: 2
Post Re: Linux backlight driver

Can you kindly update for this one?

Thanks in advance.

Code:
alex-mayorga@VPCCW1FFXL:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT216 [GeForce GT 230M] [10de:0a2a] (rev a2)
01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be2] (rev a1)
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller [11ab:4380] (rev 10)
03:00.0 Network controller [0280]: Intel Corporation WiFi Link 5100 [8086:4232]
04:00.0 SD Host controller [0805]: Ricoh Co Ltd Device [1180:e822]
04:00.1 System peripheral [0880]: Ricoh Co Ltd Device [1180:e230]
04:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd Device [1180:e832]
04:00.4 SD Host controller [0805]: Ricoh Co Ltd Device [1180:e822]
alex-mayorga@VPCCW1FFXL:~$ cat /sys/class/dmi/id/sys_vendor 
Sony Corporation
alex-mayorga@VPCCW1FFXL:~$ cat /sys/class/dmi/id/product_name 
VPCCW1FFX
alex_mayorga is offline   Reply With Quote
Old 11-03-10, 10:22 AM   #77
theone123
Registered User
 
Join Date: Oct 2010
Posts: 15
Default Re: Linux backlight driver

Would it also be possible to provide an version that is compatible with Ubuntu 10.04. Because i can't compile this version under Ubuntu 10.04. But if you have changed the values i posted before, it isn't even necessary any more. Just wanted to compile it by myself to change the wrong values.
theone123 is offline   Reply With Quote
Old 11-08-10, 12:13 PM   #78
vagopestoso
Registered User
 
Join Date: Sep 2010
Posts: 2
Default Re: Linux backlight driver

I can't build it on ubuntu 10.04 either.
This is what I get:
Code:
sudo dkms ldtarball --archive=nvidiabl-0.54-source-only.dkms.tar.gz

Loading tarball for module: nvidiabl / version: 0.54

Loading /usr/src/nvidiabl-0.54...
Creating /var/lib/dkms/nvidiabl/0.54/source symlink...

DKMS: ldtarball Completed.
$ sudo dkms add build install -m nvidiabl -v 0.54

Error! DKMS tree already contains: nvidiabl-0.54
You cannot add the same module/version combo more than once.
$ sudo dkms build install -m nvidiabl -v 0.54

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-24-generic -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/var/lib/dkms/nvidiabl/0.54/build modules.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.32-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidiabl/0.54/build/ for more information.
0
0
ERROR: binary package for nvidiabl: 0.54 not found
$ cat /var/lib/dkms/nvidiabl/0.54/build/make.log 
DKMS make.log for nvidiabl-0.54 for kernel 2.6.32-24-generic (x86_64)
lun nov  8 19:06:33 CET 2010
make: se ingresa al directorio `/usr/src/linux-headers-2.6.32-24-generic'
  CC [M]  /var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.o
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c:35:3: warning: #warning USE_BACKLIGHT_SUSPEND
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c: In function ‘nvidiabl_init’:
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c:219: error: too many arguments to function ‘backlight_device_register’
make[1]: *** [/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.o] Error 1
make: *** [_module_/var/lib/dkms/nvidiabl/0.54/build] Error 2
make: se sale del directorio `/usr/src/linux-headers-2.6.32-24-generic'
vagopestoso is offline   Reply With Quote
Old 11-08-10, 01:15 PM   #79
theone123
Registered User
 
Join Date: Oct 2010
Posts: 15
Default Re: Linux backlight driver

Yeah thats right. You can't compile it on Ubuntu 10.04. It would be great if there would exist a version for it.
theone123 is offline   Reply With Quote
Old 11-14-10, 09:10 AM   #80
guillaumezin
Registered User
 
Join Date: Dec 2009
Posts: 26
Default Re: Linux backlight driver

Quote:
Originally Posted by theone123 View Post
Yeah thats right. You can't compile it on Ubuntu 10.04. It would be great if there would exist a version for it.
Hello,

The 0.55 version should compile on Ubuntu 10.04 too, but I tested it only on Ubuntu 10.10. Feedback is welcome.

Quote:
Originally Posted by alex_mayorga View Post
Can you kindly update for this one?
The complete VPCCW1 family should be supported now.

Guillaume
guillaumezin is offline   Reply With Quote

Old 11-16-10, 11:05 AM   #81
theone123
Registered User
 
Join Date: Oct 2010
Posts: 15
Default Re: Linux backlight driver

Ok i didn't try to compile it on Ubuntu 10.04, but i installed the precompiled package. This works very great so far. So I believe you should also be able to compile it. Can't see any bug. Very well done. Thank you.
theone123 is offline   Reply With Quote
Old 12-03-10, 08:29 AM   #82
TaylorT
Registered User
 
Join Date: Oct 2009
Posts: 8
Default Re: Linux backlight driver

Quote:
Originally Posted by guillaumezin
The 0.55 version should compile on Ubuntu 10.04 too
Version 0.55 worked fine for me with 10.04.

Quote:
Originally Posted by guillaumezin
The complete VPCCW1 family should be supported now.
It doesn't work with all Sony VPCCW1* laptops, however. I had to make the following changes to get it working for my Sony VPCCW17FX (NVidia g210m):

nvidiabl-laptops.h:
Code:
// This has to be BEFORE the general VPCCW1 line
NVIDIABL_DECLARE_LAPTOP_MODEL("Sony Corporation", "VPCCW17FX", 0x0a74, 0, 1024, 127000),
NVIDIABL_DECLARE_LAPTOP_MODEL("Sony Corporation", "VPCCW1", 0x0a2a, 0, 7000, 2500000),
nvidiabl-models.c:
Code:
/* NVIDIA Quadro FX 470 */
{ PCI_VDEVICE(NVIDIA, 0x087f), (kernel_ulong_t)&nv5x_driver_data },
/* NVIDIA GeForce 210M */
{ PCI_VDEVICE(NVIDIA, 0x0a74), (kernel_ulong_t)&nv5x_driver_data },
/* NVIDIA GeForce 230M */
{ PCI_VDEVICE(NVIDIA, 0x0a2a), (kernel_ulong_t)&nv5x_driver_data },
Now if i could only get it to not conflict with the sony-laptop module it would be perfect

--Taylor

Last edited by TaylorT; 12-03-10 at 08:31 AM. Reason: corrected filename
TaylorT is offline   Reply With Quote
Old 12-07-10, 06:20 PM   #83
Lauwenmark78
Registered User
 
Join Date: Mar 2005
Posts: 33
Default Re: Linux backlight driver

Annexed a small patch adding support for the Sony VAIO VPCS13V9E model. The min/max values are empirical, but seem ok to me.
Attached Files
File Type: txt vpcs13v9e.patch.txt (1.8 KB, 176 views)
__________________
CPU: AMD Athlon 3500+, MB: Asus A8N-SLI Deluxe (BIOS rev.1014), GFX:: Point-of-View 6600GT 128MB, Mem: 2x512MB DDR400 Kingston CL2.5, HDDs: 2x80GB Maxtor DiamondMax SATA + 1x160GB Hitachi/IBM SATA, OS:Windows Xp Pro Sp2 fr/ForceWare 78.05, Debian Linux AMD64 Sid/NVIDIA-7676
Lauwenmark78 is offline   Reply With Quote
Old 12-11-10, 03:06 PM   #84
guillaumezin
Registered User
 
Join Date: Dec 2009
Posts: 26
Default Re: Linux backlight driver

0.56 version incorporates Sony VAIO VPCS13V9E and Sony VPCCW17FX (NVidia g210m).

Thank you for your patches !

Guillaume
guillaumezin is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.