GithubHelp home page GithubHelp logo

guillaumezin / nvidiabl Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 82.0 18.93 MB

/!\ Please note that I don't maintain this repository anymore, please have a look at forked projects. /!\

C 40.81% Shell 3.75% Makefile 5.21% C++ 50.23%

nvidiabl's People

Contributors

akanouras avatar alip avatar davidegrayson avatar fragonca avatar guillaumezin avatar mspacek avatar rhollencamp avatar richardmansfield avatar rrockru avatar rwstauner avatar tiran avatar wbond avatar xaser66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvidiabl's Issues

Too much dark on Sony VPCCW2C5E

Hello,
thanks for your work.

I installed 0.69 deb package and it works: brightness change when I unplug AC or use fn keys, but it seems to be configured to use only a little part of brightness range.

When gnome bar is at maximum, the screen seems to be at 10% if brightness. If I run nvidia-settings, the screen brightness goes to 100%, but each brightness change (fn keys, AC unplug, applets) brings screen to 10% again.

I'm using ubuntu 11.04 with gnome.

Thanks a lot.

Crash when loading module under Linux 2.6.39

uname -a
Linux sony-stark 2.6.39-2.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sat Jun 25 16:07:43 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux

nvidiabl: loading driver version 0.69
nvidiabl: Sony Corporation - VPCS1 model detected in DMI tables
nvidiabl: Supported Nvidia graphics adapter 10de:0a75:104d:9069 detected
------------[ cut here ]------------
WARNING: at /home/damentz/src/zen/main/linux-liquorix-2.6-2.6.39/debian/build/source_amd64_none/drivers/video/backlight/backlight.c:314 backlight_device_register+0x1c5/0x200()
Hardware name: VPCS13V9E
nvidia_backlight: invalid backlight type
Modules linked in: nvidiabl(+) fuse ecryptfs binfmt_misc vboxnetadp vboxnetflt vboxdrv ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables kvm_intel bridge stp kvm sha256_generic cryptd aes_x86_64 aes_generic cbc parport_pc af_packet dm_crypt ppdev rfcomm dm_mod bnep btusb bluetooth snd_usb_audio snd_usbmidi_lib usbhid qcserial usb_wwan uvcvideo videodev media v4l2_compat_ioctl32 usbserial ipv6 snd_hda_codec_hdmi ehci_hcd arc4 firewire_ohci firewire_core ecb snd_hda_codec_realtek snd_hda_intel snd_hda_codec coretemp snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss rtc_cmos rtc_core rtc_lib snd_seq_midi snd_rawmidi joydev snd_seq_midi_event serio_raw snd_seq snd_timer snd_seq_device sdhci_pci sdhci mmc_core snd soundcore snd_page_alloc sony_laptop intel_ips iwlagn mac80211 cfg80211 atl1c crc_itu_t rfkill sr_mod wmi psmouse cdrom evdev battery processor ac sg lp parport ext4 mbcache jbd2 crc16 nouveau ttm drm_kms_helper drm sd_mod i2c_algo_bit i2c_core ahci libahci libata scsi_mod intel_agp thermal intel_gtt video button [last unloaded: nvidiabl]
Pid: 4548, comm: modprobe Tainted: G        W   2.6.39-2.dmz.1-liquorix-amd64 #1
Call Trace:
 [<ffffffff810471fb>] ? warn_slowpath_common+0x7b/0xc0
 [<ffffffff810472f5>] ? warn_slowpath_fmt+0x45/0x50
 [<ffffffff812b1e2e>] ? device_private_init+0x4e/0x70
 [<ffffffff81277c35>] ? backlight_device_register+0x1c5/0x200
 [<ffffffffa040f3ce>] ? nvidiabl_init+0x3ce/0x3e6 [nvidiabl]
 [<ffffffffa040f000>] ? 0xffffffffa040efff
 [<ffffffff810002ea>] ? do_one_initcall+0x3a/0x180
 [<ffffffff8108316a>] ? sys_init_module+0xba/0x200
 [<ffffffff813c8252>] ? system_call_fastpath+0x16/0x1b
---[ end trace 37beb0396cd7d8b6 ]---
nvidiabl: backup register value 0x4001df67
nvidiabl: autodetecting maximum
nvidiabl: using value 0x1df67 as maximum
nvidiabl: autodetecting off
nvidiabl: using value 0x0 as off
nvidiabl: autodetecting minimum
nvidiabl: minimum is 5% of maximum
nvidiabl: using value 0x63 as minimum
scorp@sony-stark:~$ uname -a
Linux sony-stark 2.6.39-2.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sat Jun 25 16:07:43 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Sony Vaio VPCF13C5E support

Hi, this drivers works for the VPCF model ( http://www.sonystyle.com/webapp/wcs/stores/servlet/CategoryDisplay?storeId=10151&catalogId=10551&langId=-1&categoryId=8198552921644691998 )

/sys/class/dmi/id/sys_vendor: Sony Corporation
/sys/class/dmi/id/product_name: VPCF13C5E

lspci -nn:
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d132](rev 11)
00:03.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express Root Port 1 [8086:d138](rev 11)
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155](rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156](rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157](rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158](rev 11)
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150](rev 11)
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151](rev 11)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44](rev 05)
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46](rev 05)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c](rev 05)
00:1c.6 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 [8086:3b4e](rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b03](rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f](rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df0](rev a1)
01:00.1 Audio device [0403]: nVidia Corporation Device [10de:0bea](rev a1)
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9287 Wireless Network Adapter [168c:002e](rev 01)
03:00.0 SD Host controller [0805]: Ricoh Co Ltd Device [1180:e822]
03:00.1 System peripheral [0880]: Ricoh Co Ltd Device [1180:e230]
03:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd Device [1180:e832]
03:00.4 SD Host controller [0805]: Ricoh Co Ltd Device [1180:e822]
04:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Device [11ab:4380](rev 10)
05:00.0 USB Controller [0c03]: NEC Corporation Device [1033:0194](rev 03)
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers [8086:2c52](rev 04)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2c81](rev 04)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2c90](rev 04)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2c91](rev 04)
3f:03.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller [8086:2c98](rev 04)
3f:03.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder [8086:2c99](rev 04)
3f:03.4 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Test Registers [8086:2c9c](rev 04)
3f:04.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers [8086:2ca0](rev 04)
3f:04.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers [8086:2ca1](rev 04)
3f:04.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers [8086:2ca2](rev 04)
3f:04.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers [8086:2ca3](rev 04)
3f:05.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers [8086:2ca8](rev 04)
3f:05.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers [8086:2ca9](rev 04)
3f:05.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers [8086:2caa](rev 04)
3f:05.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers [8086:2cab](rev 04)

autoload on hp dv3500

I wanted to send you an email, but could not find a contact address, so here are the required outputs:

[0|23:03|paulax|hp_dv3500]$ 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.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.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a](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.3 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939](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 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [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 G98 [GeForce 9300M GS] [10de:06e9](rev a1)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168](rev 02)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]

[0|23:04|paulax|hp_dv3500]$ cat /sys/class/dmi/id/sys_vendor
Hewlett-Packard

[0|23:04|paulax|hp_dv3500]$ cat /sys/class/dmi/id/product_name
HP Pavilion dv3500 Notebook PC

Support for Fujitsu Amilo Pi 3560 laptop

Please consider adding support for the following laptop:

$ 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:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a](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 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [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 240M] [10de:0a34](rev a2)
01:00.1 Audio device [0403]: NVIDIA Corporation High Definition Audio Controller [10de:0be2](rev a1)
06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller [10ec:8172](rev 10)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168](rev 03)
$ cat /sys/class/dmi/id/sys_vendor
FUJITSU
$ cat /sys/class/dmi/id/product_name
AMILO Pi 3560

$ tail -20 /var/log/syslog
Aug 17 20:41:00 ira kernel: [103526.135429] nvidiabl: loading driver version 0.76
Aug 17 20:41:00 ira kernel: [103526.135444] nvidiabl: Supported Nvidia graphics adapter 10de:0a34:1734:118d detected
Aug 17 20:41:00 ira kernel: [103526.135511] nvidiabl: backup register value 0x40020f58
Aug 17 20:41:00 ira kernel: [103526.135513] nvidiabl: autodetecting maximum
Aug 17 20:41:00 ira kernel: [103526.135514] nvidiabl: using value 0x20f58 as maximum
Aug 17 20:41:00 ira kernel: [103526.135516] nvidiabl: autodetecting off
Aug 17 20:41:00 ira kernel: [103526.135517] nvidiabl: using value 0x0 as off
Aug 17 20:41:00 ira kernel: [103526.135519] nvidiabl: autodetecting minimum
Aug 17 20:41:00 ira kernel: [103526.135521] nvidiabl: minimum is 5% of maximum
Aug 17 20:41:00 ira kernel: [103526.135522] nvidiabl: using value 0x63 as minimum

Running Ubuntu 12.04, it worked fine with just a "modprobe nvidiabl"

Thank you for your work!

Nvidia 313 - nvidiabl not work

Hi , I have an M17x R3 (with 3d). I use arch linux. Ur driver doesnt seem to work with nvidia 313.18 . I am able to toggle between the top 3 brightness level, the behaviour with and without nvidiabl.
my dmesg|grep -i nvidiabl
[ 75.901960] nvidiabl: loading driver version 0.81
[ 75.901967] nvidiabl: Supported Nvidia graphics adapter 10de:0dd1:1028:0490 detected
[ 75.902036] nvidiabl: smartdimmer register at address 0xcc61c084 mapped at address 0xffffc900115fe084
[ 75.902037] nvidiabl: backlight type is raw
[ 75.902071] nvidiabl: backup register value 0x40000546
[ 75.902072] nvidiabl: using value 0x400 as maximum
[ 75.902073] nvidiabl: using value 0x0 as off
[ 75.902073] nvidiabl: using value 0x32 as minimum

Kernel Warning backlight.c backlight_device_register during modprobe

Oct 03 20:47:04 SonicVaio kernel: nvidiabl: loading driver version 0.79
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: Sony Corporation - VPCF1 model detected in DMI tables
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: Supported Nvidia graphics adapter 10de:0df0:104d:907a detected
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: smartdimmer register at address 0xe261c084 mapped at address 0xffffc9000007e084
Oct 03 20:47:04 SonicVaio kernel: ------------[ cut here ]------------
Oct 03 20:47:04 SonicVaio kernel: WARNING: at drivers/video/backlight/backlight.c:315 backlight_device_register+0x1cd/0x210()
Oct 03 20:47:04 SonicVaio kernel: Hardware name: VPCF137HG
Oct 03 20:47:04 SonicVaio kernel: nvidia_backlight: invalid backlight type
Oct 03 20:47:04 SonicVaio kernel: Modules linked in:
Oct 03 20:47:04 SonicVaio kernel: nvidiabl(O+) fuse aes_x86_64 cryptd aes_generic snd_hda_codec_hdmi uvcvideo snd_hda_codec_realtek snd_hda_intel videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media nvidia(PO) snd_hda_codec snd_hwdep btusb bluetooth snd_pcm snd_page_alloc snd_timer joydev arc4 iwlwifi i
Oct 03 20:47:04 SonicVaio kernel: Pid: 1838, comm: modprobe Tainted: P O 3.5.5-1-ck #1
Oct 03 20:47:04 SonicVaio kernel: Call Trace:
Oct 03 20:47:04 SonicVaio kernel: [] warn_slowpath_common+0x7f/0xc0
Oct 03 20:47:04 SonicVaio kernel: [] warn_slowpath_fmt+0x46/0x50
Oct 03 20:47:04 SonicVaio kernel: [] ? dev_set_drvdata+0x39/0x50
Oct 03 20:47:04 SonicVaio kernel: [] backlight_device_register+0x1cd/0x210
Oct 03 20:47:04 SonicVaio kernel: [] nvidiabl_init+0x1dc/0x436 [nvidiabl]
Oct 03 20:47:04 SonicVaio kernel: [] ? 0xffffffffa00d8fff
Oct 03 20:47:04 SonicVaio kernel: [] do_one_initcall+0x12a/0x180
Oct 03 20:47:04 SonicVaio kernel: [] sys_init_module+0x101e/0x1e30
Oct 03 20:47:04 SonicVaio kernel: [] ? sys_getegid16+0x50/0x50
Oct 03 20:47:04 SonicVaio kernel: [] system_call_fastpath+0x1a/0x1f
Oct 03 20:47:04 SonicVaio kernel: ---[ end trace 8585fc874ab91005 ]---
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: backup register value 0x40020f58
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: autodetecting maximum
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: using value 0x20f58 as maximum
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: autodetecting off
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: using value 0x0 as off
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: autodetecting minimum
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: minimum is 5% of maximum
Oct 03 20:47:04 SonicVaio kernel: nvidiabl: using value 0x1a5e as minimum

Kernel 3.5.5 . Model - VPCF137HG . Running on Archlinux . Even though the Call Trace is dumped , the backlight works correctly.

Vaio AW290J with 9600m GT but need help to check it works

Hello!

First of all, thank You very much for Your kind work, I am desperatly looking for a solution that may allow me to could use my noetbook without brun my eyes, and Your driver seems the first option that may have a hope that could work for me.

Well, as far I could check I found the AW11 in the laptops file, and by other way, appears that my AW290J is the similar machine but AW11 have 9300m and the AW-290J use the 9600m (that appears is also used in MacBook)

Well, I am not a programer, but following your instructions and the guide of this link:

http://ubuntuforums.org/showthread.php?t=1687348

I suppose succesfully could add the AW290J name to the laptops file, and rebuild the nvidiabl-dkms_0.69_all.deb
with the line include, by copy the AW11 line and only change the AW290J in the name field.

Then I install the modified deb, and it install proper and checking with the command:

dkms status

the output was:

nvidia-current, 275.19, 2.6.38-8-generic, i686: installed
nvidia-current, 275.19, 2.6.38-10-generic, i686: installed
nvidiabl, 0.69, 2.6.38-8-generic, i686: installed
nvidiabl, 0.69, 2.6.38-10-generic, i686: installed

and then just after boot, checking with:

dmesg | grep nvidiabl

the output was:

[ 22.182517] nvidiabl: loading driver version 0.69
[ 22.182521] nvidiabl: Sony Corporation - VGN-AW290J model detected in DMI tables
[ 22.182529] nvidiabl: Supported Nvidia graphics adapter 10de:0649:104d:9040 detected
[ 22.182570] nvidiabl: backup register value 0x401
[ 22.182571] nvidiabl: autodetecting maximum
[ 22.182573] nvidiabl: using value 0x401 as maximum
[ 22.182574] nvidiabl: autodetecting off
[ 22.182575] nvidiabl: using value 0x0 as off
[ 22.182576] nvidiabl: autodetecting minimum
[ 22.182578] nvidiabl: minimum is 5% of maximum
[ 22.182579] nvidiabl: using value 0x64 as minimum

but then after checking with the commands:

sudo modprobe -r nvidiabl
sudo modprobe nvidiabl max=100
sudo modprobe -r nvidiabl
sudo modprobe nvidiabl max=100

No changes in backlight level was made or noted...

after this the command:

dmesg | grep nvidiabl

gives the output:

dmesg | grep nvidiabl

[ 22.182517] nvidiabl: loading driver version 0.69
[ 22.182521] nvidiabl: Sony Corporation - VGN-AW290J model detected in DMI tables
[ 22.182529] nvidiabl: Supported Nvidia graphics adapter 10de:0649:104d:9040 detected
[ 22.182570] nvidiabl: backup register value 0x401
[ 22.182571] nvidiabl: autodetecting maximum
[ 22.182573] nvidiabl: using value 0x401 as maximum
[ 22.182574] nvidiabl: autodetecting off
[ 22.182575] nvidiabl: using value 0x0 as off
[ 22.182576] nvidiabl: autodetecting minimum
[ 22.182578] nvidiabl: minimum is 5% of maximum
[ 22.182579] nvidiabl: using value 0x64 as minimum
[ 896.496095] nvidiabl: restore register value 0x401
[ 905.829177] nvidiabl: loading driver version 0.69
[ 905.829184] nvidiabl: Sony Corporation - VGN-AW290J model detected in DMI tables
[ 905.829195] nvidiabl: Supported Nvidia graphics adapter 10de:0649:104d:9040 detected
[ 905.830022] nvidiabl: backup register value 0x401
[ 905.830025] nvidiabl: using value 0x400 as maximum
[ 905.830028] nvidiabl: autodetecting off
[ 905.830030] nvidiabl: using value 0x0 as off
[ 905.830032] nvidiabl: autodetecting minimum
[ 905.830034] nvidiabl: minimum is 5% of maximum
[ 905.830036] nvidiabl: using value 0x64 as minimum

So, the driver seems to be loaded but still dont make the changes on the backlight level.

So, I will be very gratefull if You could help me in try to make this to change the backlight, at leats in a way that may may could force a strong change that may mean that is really working or not.

I am using Kubuntu 11.04 with the nvidia driver 275.19 (last version of past days that was updated automatically by my system), in linux X86, 32 Bits version.

Thank You very much for Your kind attention and best regards!

An entry for SONY VAIO VPCS11J7E

Could you please add the following entry to nvidiabl-laptops.h:

NVIDIABL_DECLARE_LAPTOP_MODEL("Sony Corporation", "VPCS11J7E", 0x0a75, 0, 50, 128000),

The min and max values are obtained experimentally. I tested this configuration on my laptop.

Thanks,
Victor

Too many brightness levels

I've just installed this driver and I'm finally able to control display brightess on my Samsung Q530, equipped with GeForce 310M and running Fedora 14 (GNOME).
The only issue i have left is that using Fn keys to control brightness i have about 23 different brightness levels and this is a bit annoying, cos adjusting the brightness takes too much time this way.
Is there a way to set the number of levels to a reasonable value? (The 8 levels that i get in Windows would be fine).

Thanks

Since I have to set a max value when i load the driver (when I boot on AC power the max value is detected correctly, but when i unplug the adapter the screen gets very dark even at max brightess, so I set as max the max level detected when on AC power), I'm posting the output of commands i read in other threads, in case this helps.

igor@sabra [~]$ dmesg | grep nvidiabl
[ 12.419881] nvidiabl: loading driver version 0.71
[ 12.419908] nvidiabl: Supported Nvidia graphics adapter 10de:0a70:144d:c079 detected
[ 12.420194] nvidiabl: backup register value 0x400021d7
[ 12.420198] nvidiabl: using value 0x1df67 as maximum
[ 12.420201] nvidiabl: autodetecting off
[ 12.420226] nvidiabl: using value 0x0 as off
[ 12.420229] nvidiabl: autodetecting minimum
[ 12.420232] nvidiabl: minimum is 5% of maximum
[ 12.420235] nvidiabl: using value 0x63 as minimum

igor@sabra [~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044](rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045](rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05)
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48](rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09](rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29](rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05)
02:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [GeForce 310M] [10de:0a70](rev a2)
02:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be3](rev a1)
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g LP-PHY [14e4:4727](rev 01)
05:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354]
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62](rev 02)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01](rev 02)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10](rev 02)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11](rev 02)
3f:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12](rev 02)
3f:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13](rev 02)

igor@sabra [~]$ cat /sys/class/dmi/id/sys_vendor
SAMSUNG ELECTRONICS CO., LTD.

igor@sabra [~]$ cat /sys/class/dmi/id/product_name
Q430/Q530

Brightness gets lower after waking up from sleep

I am using nouveau instead of nvidia binary driver. Nvidiabl is working alright in controlling the screen brightness. But if I turn my computer into sleep and wake it up, a strange thing happens:

Before sleep:
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/brightness: 74
/sys/class/backlight/nvidia_backlight/actual_brightness: 74

After sleep:
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/brightness: 74
/sys/class/backlight/nvidia_backlight/actual_brightness: 960

Then I try to control the brightness using F10 and F11, but the brightness is quite low even I maximize it to 127.

I think there's something wrong for nvidiabl to restore backlight state from sleep.

P.S.
{{{
$ lspci -nn:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [Quadro 1000M] [10de:0dfa](rev a1)

$ cat /sys/class/dmi/id/sys_vendor
Hewlett-Packard

$ cat /sys/class/dmi/id/product_name
HP EliteBook 8560w

$ dmesg | grep nvidiabl
[ 7.327051] nvidiabl: loading driver version 0.74
[ 7.327064] nvidiabl: Supported Nvidia graphics adapter 10de:0dfa:103c:1631 detected
[ 7.327145] nvidiabl: backup register value 0x400045c3
[ 7.327147] nvidiabl: using value 0x45c3 as maximum
[ 7.327149] nvidiabl: autodetecting off
[ 7.327151] nvidiabl: using value 0x0 as off
[ 7.327153] nvidiabl: using value 0xa as minimum

}}}

No effect on NV4B/G73 GeForce 7600 Go with Linux v3.5

Using Ubuntu 12.04 amd64 with the Ubuntu packaged mainline kernel 3.5.0-030500-generic #201207211835.

There is no effect on actual brightness although sysfs shows the changes. However, when the driver is unloaded the screen begins to flicker at a high frequency. The flicker is cured by reloading the module.

$ apt-cache policy nvidia-current-updates
nvidia-current-updates:
Installed: 295.49-0ubuntu0.2
Candidate: 295.49-0ubuntu0.2

$ lspci -nn -s 01:0.0
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G73 [GeForce Go 7600] [10de:0398](rev a1)

$ sudo modprobe nvidiabl

$ dmesg | tail -f
[ 6339.583497] nvidiabl: Supported Nvidia graphics adapter 10de:0398:104d:81ef detected
[ 6339.583517] nvidiabl: smartdimmer register at address 0xd50015f2 mapped at address 0xffffc9000033c5f2
[ 6339.584757] nvidiabl: backup register value 0x15
[ 6339.584765] nvidiabl: autodetecting maximum
[ 6339.584767] nvidiabl: using value 0x15 as maximum
[ 6339.584768] nvidiabl: autodetecting off
[ 6339.584770] nvidiabl: using value 0x0 as off
[ 6339.584771] nvidiabl: autodetecting minimum
[ 6339.584773] nvidiabl: minimum is 5% of maximum
[ 6339.584775] nvidiabl: using value 0x64 as minimum

$ for node in /sys/class/backlight/nvidia_backlight/*; do [ -f $node ] && echo "$node: $(cat $node)"; done
/sys/class/backlight/nvidia_backlight/actual_brightness: 0
/sys/class/backlight/nvidia_backlight/bl_power: 0
/sys/class/backlight/nvidia_backlight/brightness: 0
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/type: raw
/sys/class/backlight/nvidia_backlight/uevent:

$ sudo nvidiablctl full
$ for node in /sys/class/backlight/nvidia_backlight/*; do [ -f $node ] && echo "$node: $(cat $node)"; done
/sys/class/backlight/nvidia_backlight/actual_brightness: 0
/sys/class/backlight/nvidia_backlight/bl_power: 0
/sys/class/backlight/nvidia_backlight/brightness: 127
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/type: raw
/sys/class/backlight/nvidia_backlight/uevent:

$ sudo nvidiablctl set 64
$ for node in /sys/class/backlight/nvidia_backlight/*; do [ -f $node ] && echo "$node: $(cat $node)"; done
/sys/class/backlight/nvidia_backlight/actual_brightness: 0
/sys/class/backlight/nvidia_backlight/bl_power: 0
/sys/class/backlight/nvidia_backlight/brightness: 64
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/type: raw
/sys/class/backlight/nvidia_backlight/uevent:

$ sudo nvidiablctl off
$ for node in /sys/class/backlight/nvidia_backlight/*; do [ -f $node ] && echo "$node: $(cat $node)"; done
/sys/class/backlight/nvidia_backlight/actual_brightness: 0
/sys/class/backlight/nvidia_backlight/bl_power: 0
/sys/class/backlight/nvidia_backlight/brightness: 0
/sys/class/backlight/nvidia_backlight/max_brightness: 127
/sys/class/backlight/nvidia_backlight/type: raw
/sys/class/backlight/nvidia_backlight/uevent:

$ sudo modprobe -r nvidiabl

$ for node in /sys/class/backlight/nvidia_backlight/*; do [ -f $node ] && echo "$node: $(cat $node)"; done

$ dmesg | tail -n 2 -f
[ 6339.584775] nvidiabl: using value 0x64 as minimum
[ 6561.748268] nvidiabl: restore register value 0x15

Add 'type' parameter to support gnome-settings-daemon

gnome-settings-daemon prefers backlight devices in the order:

firmware
platform
raw

By default 'nvidiabl' sets itself to 'raw'. Adding this module option allows the
user to configure the type so as to have nvidiabl chosen in preference to other
backlight drivers (such as ACPI platform drivers).

To use it, add the option "type=?" to the module options replacing '?' with one
of the types listed above. E.g:

options nvidiabl type=firmware

or:

sudo modprobe nvidiabl type=firmware

Signed-off-by: TJ <[email protected]>

kepler-based GPUs

I recently got an HP EliteBook 8570w, with an NVIDIA Quadro K1000M GPU. It does not seem to have a way to change the brightness under linux, currently. I tried adding it to the gpu file, but I still can't load the module (No such device).

lspci entry:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0ffc] (rev a1)

Would it be do-able to add support for these kepler-based GPUs?

Add Support for Latitude E6530 Nvidia NVS5200M

cat /sys/class/dmi/id/sys_vendor : "Dell Inc."
cat /sys/class/dmi/id/product_name: "Latitude E6530"

[31344.775244] nvidiabl: loading driver version 0.79
[31344.775261] nvidiabl: No supported Nvidia graphics adapter found

01:00.0 "VGA compatible controller" "NVIDIA Corporation" "Device 0dfc" -ra1 "Dell" "Device 0535"
code: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0dfc] (rev a1)

The following setup works for me, however the default max brightness is actually a lot less then should be.
Using - the randomly selected value - max=128000 seems to give better results

/* NVS 5200M */
NVIDIABL_DECLARE_GPU_MODEL(0x0dfc, nv5x_driver_data),    

NVIDIABL_DECLARE_LAPTOP_MODEL("Dell Inc.", "Latitude E6530", PCI_ANY_ID, NVIDIABL_AUTO, NVIDIABL_AUTO, NVIDIABL_AUTO),

/*ACPI Events Dell Latitude E6530 (And many other Dell-Laptops) */
/*Brightness down*/
event=video LCD 00000087 00000000
action=/etc/acpi/actions/nvidia_backlight_down.sh //default

/*Brightness up */
event=video LCD 00000086 00000000
action=/etc/acpi/actions/nvidia_backlight_up.sh //default

/*To set brightness on battery*/
event=ac_adapter AC 00000080 00000000
action=/etc/acpi/actions/nvidia_backlight_battery.sh //simply define a value between 0-127 e.g. 40

brightness for laptop LG

please, can you change your script for my laptop LG ?
or teach me how . . .

00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044](rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045](rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44](rev 05)
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a](rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09](rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29](rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [GeForce 310M] [10de:0a75](rev a2)
01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be3](rev a1)
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller [10ec:8172](rev 10)
03:00.0 Ethernet controller [0200]: Atheros Communications AR8131 Gigabit Ethernet [1969:1063](rev c0)
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62](rev 02)
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01](rev 02)
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10](rev 02)
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11](rev 02)
ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12](rev 02)
ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13](rev 02)

LG Electronics
R590-K.BE52P1

Not working on Toshiba l750

Probably I'm doing something wrong, but I can't get it to work on my Toshiba l750. At the moment I'm running ubuntu 12.04. I tried to install the latest version (0.74) via the .deb package. Done that I rebooted the computer. Now only after a suspend and wake can I see the bar while pressing fn keys, but there is no change in the backlight. I tried adding nvidiabl to /etc/modules for autostart, but nothing changed.

Clevo P170HM not workin

I reported this 2 years ago on your Email, but I think its lost somewere on the way.
I have an laptop with Nvidia Geforce 580M.
On the card there are 2 outputs for Laptop displays they are called: LVDS, and EDP.
Monitor is connected into eDP output.
On the memory layout, there is area for LVDS (just as used in your driver), and another area for eDP output.
I found that if I do following change
-#define NV5X_PDISPLAY_SOR0_BRIGHTNESS 0x0000c084
+#define NV5X_PDISPLAY_SOR0_BRIGHTNESS 0x0000d084
in the file dkms_source_tree/nvidiabl-models.c
Than it works well.
I suppose, that this is problem of most of new laptops with recent graphic cards.

Not working on my VAIO-CW14FX

I installed the latest version of nvidiabl (0.80) on my VAIO-CW14FX laptop and rebooted, but it is not working. The module is loaded (I checked it using 'lsmod'). My Fn keys don't change the brightness. The GUI brightness control doesn't work either! I would be glad to provide more info to help fix the issue, just tell me what you need to make it work on this laptop too!

OS : Ubuntu-12.10 (32-bit)
GPU model: Nvidia GeForce GT-230M
Nvidia-driver Version: 304.51 ( Installed from Ubuntu repos )

Linux 2.6.37.0 - Macbook Pro 6,2 - Slackware 13.1

make

make -C /lb/modules/2.6.37/build M=/home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6 modulesi
make[1]: Entering directory `/usr/src/linux-2.6.37'
  CC [M]  /home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl-module.o
/home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND
  CC [M]  /home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl-models.o
  LD [M]  /home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "__divdi3" [/home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl.ko] undefined!
  CC      /home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl.mod.o
  LD [M]  /home/bodom_lx/Downloads/guillaumezin-nvidiabl-852ced6/nvidiabl.ko
make[1]: Leaving directory `/usr/src/linux-2.6.37'

make install
modprobe nvidiabl

FATAL: Error inserting nvidiabl (/lib/modules/2.6.37/kernel/drivers/video/backlight/nvidiabl.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg

nvidiabl: Unknown symbol __divdi3 (err 0)

I tried with current master, v0.64 and v0.63

Vaio CW23FX

It's works fine, but sometimes the brightness go back to default max.
Usually when I open some new browser or change to full screen...
The /sys/class/backlight/nvidia_backlight/brightness is right, but the .../actual_brightness is the default max value.
Nvidia 310M using driver NVIDIA-Linux-x86_64-260.19.36, Ubuntu 10.10, kernel 2.6.35-25-generic.
Thanks

Macbook 5.1 nvidia 9400M appropriate values

To full use nvidiabl on macbook 5.1 (aluminium)

MIN > 0 (so I can turn it off manually)
MAX > 1000 (whole acts brightness bar - otherwise there are pulses [fnkeys] that do not change the brightness)

my personal line for nvidia-laptops.h:

NVIDIABL_DECLARE_LAPTOP_MODEL("Apple Inc.", "MacBook5,1", PCI_ANY_ID, NVIDIABL_AUTO, 0, 1000),

thx for you great work... reallly

Brightness keys only work after manual adjustment

Previously, nvidiabl has worked without issue, but the latest version of Ubuntu (12.10) is giving me a strange problem. If I attempt to change brightness using the keys, the applet notification with the sliding brightness bar does not appear. However, if I go in the terminal and enter:

echo 50 | sudo tee /sys/class/backlight/nvidia_backlight/brightness

the brightness not only changes, but I am also able to adjust it using the brightness keys and I also see the applet window when I do so (until I reboot).

Any idea why this might be happening?

Thanks!

Laptop model detected but not the graphical card

Hi,

I have a Vaio VPC F13Z1E with a Nvidia GT 425 card running on ubuntu 11.04 :

dmesg | grep nvidiabl
[ 18.731566] nvidiabl: loading driver version 0.69
[ 18.731572] nvidiabl: Sony Corporation - VPCF1 model detected in DMI tables
[ 18.731581] nvidiabl: No supported Nvidia graphics adapter found

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d132](rev 11)
00:03.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express Root Port 1 [8086:d138](rev 11)
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155](rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156](rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157](rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158](rev 11)
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150](rev 11)
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151](rev 11)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44](rev 05)
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46](rev 05)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c](rev 05)
00:1c.6 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 [8086:3b4e](rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b03](rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f](rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df0](rev a1)
01:00.1 Audio device [0403]: nVidia Corporation GF108 High Definition Audio Controller [10de:0bea](rev a1)
02:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6200 [8086:422c](rev 35)
03:00.0 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822]
03:00.1 System peripheral [0880]: Ricoh Co Ltd Memory Stick Host Controller [1180:e230]
03:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd FireWire Host Controller [1180:e832]
03:00.4 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822]
04:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller [11ab:4380](rev 10)
05:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194](rev 03)
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers [8086:2c52](rev 04)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2c81](rev 04)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2c90](rev 04)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2c91](rev 04)
3f:03.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller [8086:2c98](rev 04)
3f:03.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder [8086:2c99](rev 04)
3f:03.4 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Test Registers [8086:2c9c](rev 04)
3f:04.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers [8086:2ca0](rev 04)
3f:04.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers [8086:2ca1](rev 04)
3f:04.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers [8086:2ca2](rev 04)
3f:04.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers [8086:2ca3](rev 04)
3f:05.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers [8086:2ca8](rev 04)
3f:05.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers [8086:2ca9](rev 04)
3f:05.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers [8086:2caa](rev 04)
3f:05.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers [8086:2cab](rev 04)

Thanks in advance for your help.

Doesn't seem to work on a Vaio with Nvidia 330M and Intel

I have a Vaio Z with dual graphics. Intel card is disabled. Only 330M is enabled
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 330M](rev a2)

Installed nvidiabl and nvidiablctl from Archlinux AUR

sudo modprobre nvidiabl
dmesg |grep -i nvidia

[ 4.861202] nvidia: module license 'NVIDIA' taints kernel.
[ 4.939665] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 310.19 Thu Nov 8 00:52:03 PST 2012
[ 5.897408] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
[ 5.897578] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[ 5.897759] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[ 5.897898] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[ 284.910415] nvidiabl: loading driver version 0.80
[ 284.910429] nvidiabl: Supported Nvidia graphics adapter 10de:0a2b:104d:905a detected
[ 284.910507] nvidiabl: smartdimmer register at address 0xb261c084 mapped at address 0xffffc900055ea084
[ 284.910514] nvidiabl: backlight type is raw
[ 284.910554] nvidiabl: backup register value 0x0
[ 284.910555] nvidiabl: autodetecting maximum
[ 284.910556] nvidiabl: using value 0x0 as maximum
[ 284.910557] nvidiabl: autodetecting off
[ 284.910558] nvidiabl: using value 0x0 as off
[ 284.910558] nvidiabl: autodetecting minimum
[ 284.910559] nvidiabl: minimum is 5% of maximum
[ 284.910560] nvidiabl: using value 0x0 as minimum

sudo nvidiablctl down

No change in brightness.

Any help is appreciated.

edit: On a side note I'm able to manually control screen brightness with nouveau drivers. So it seems those drivers are doing something right. Too bad there's no vdpau on nouveau

Not working on GLX560M (Toshiba Qosmio X770-11C)

I tried under binary blob and now on nouveau (I prefer the latter) and it simply doesn't work.

I even added "acpi_osi=Linux acpi_backlight=vendor" to kernel, but no luck.

lsmod

Module Size Used by
nvidiabl 34355 0
coretemp 6344 0
kvm_intel 122475 0
kvm 260780 1 kvm_intel

dmesg |grep -i nvidiabl

[ 31.563750] nvidiabl: loading driver version 0.79
[ 31.563757] nvidiabl: Supported Nvidia graphics adapter 10de:1251:1179:fc05 detected
[ 31.563832] nvidiabl: smartdimmer register at address 0xf461c084 mapped at address 0xffffc90004196084
[ 31.563844] nvidiabl(O+) coretemp kvm_intel kvm
[ 31.563863] [] ? nvidiabl_init+0x1d8/0x430 [nvidiabl]
[ 31.563901] nvidiabl: backup register value 0x40020f58
[ 31.563901] nvidiabl: autodetecting maximum
[ 31.563902] nvidiabl: using value 0x20f58 as maximum
[ 31.563903] nvidiabl: autodetecting off
[ 31.563904] nvidiabl: using value 0x0 as off
[ 31.563904] nvidiabl: autodetecting minimum
[ 31.563905] nvidiabl: minimum is 5% of maximum
[ 31.563906] nvidiabl: using value 0x1a5e as minimum

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104](rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101](rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a](rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d](rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20](rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10](rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12](rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16](rev b4)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a](rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26](rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49](rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03](rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22](rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1251](rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GF116 High Definition Audio Controller [10de:0bee](rev a1)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168](rev 06)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b](rev 01)
05:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392](rev 30)
05:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391](rev 30)
05:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2393](rev 30)
05:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2394](rev 30)
06:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194](rev 04)

cat /sys/class/dmi/id/sys_vendor

TOSHIBA

cat /sys/class/dmi/id/product_name

QOSMIO X770

Keys not working on Sony VAIO VPCCW1FFXL

Installed the latest version, manually added nvidiabl to /etc/modules but brightness still doesn't change.
The screen indicators appear, but actual brightness is not modified.
The bug on Ubuntu is https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/551668

Hope the information below is useful to resolve the issue.

alex-mayorga@VPCCW1FFXL:$ dmesg | grep nvidiabl
[ 28.166193] nvidiabl: loading driver version 0.73
[ 28.166199] nvidiabl: Sony Corporation - VPCCW1 model detected in DMI tables
[ 28.166208] nvidiabl: Supported Nvidia graphics adapter 10de:0a2a:104d:905e detected
[ 28.166266] nvidiabl: backup register value 0x401
[ 28.166268] nvidiabl: using value 0x1ffff as maximum
[ 28.166269] nvidiabl: autodetecting off
[ 28.166271] nvidiabl: using value 0x0 as off
[ 28.166272] nvidiabl: autodetecting minimum
[ 28.166274] nvidiabl: minimum is 5% of maximum
[ 28.166276] nvidiabl: using value 0x63 as minimum
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 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [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 MMC/SD Host Controller [1180:e822]
04:00.1 System peripheral [0880]: Ricoh Co Ltd Memory Stick Host Controller [1180:e230]
04:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller [1180:e832]
04:00.4 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [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

brightness control not working

I installed nvidiabl in samsung rv409
graphics card 315m
it worked but after booting the brightness can't be changed pls help me

Problem with VAIO-CW2

I have a VAIO VPC-CW2 laptop, with Nvidia GT-320M. This module is working partially! It's never working immediately after boot-up, but sometimes specially when not plugged in to a power source, it starts working. I will be glad to help and provide more info to fix this issue. Any help is greatly appreciated.

OS = Ubuntu-12.04 (64-bit)
GPU = NVIDIA GeForce GT-320M
Laptop Model = Sony VAIO VPC-CW2
NVIDIA Driver Version = 295.40 (installed from Ubuntu repos)

Brightness is reset to maximum without notice

Hello,

The brightness is reset to the maximum value without notice. I've seen this behavior, for instance, when you set the brightness from a tty and then execute "startx", when you get into Xorg "cat /sys/class/backlight/nvidia_backlight/brightness" reports the last value (e.g. 42) but the screen is working with maximum brightness. In fact, if you exec "nvidia_backlight_down.sh" once, the value is updated to "117", which confirms that the last real value was "127".

Thanks in advance and keep up the good work!

Some info about my system:

$ dmesg | grep nvidiabl
[ 6.505167] nvidiabl: loading driver version 0.73
[ 6.505198] nvidiabl: Supported Nvidia graphics adapter 10de:06e9:103c:1505 detected
[ 6.505374] nvidiabl: backup register value 0x400
[ 6.505379] nvidiabl: autodetecting maximum
[ 6.505383] nvidiabl: using value 0x400 as maximum
[ 6.505387] nvidiabl: autodetecting off
[ 6.505391] nvidiabl: using value 0x0 as off
[ 6.505395] nvidiabl: autodetecting minimum
[ 6.505399] nvidiabl: minimum is 5% of maximum
[ 6.505403] nvidiabl: using value 0x64 as minimum

$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 9300M GS](rev a1)

$ uname -a
Linux wopr 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz GenuineIntel GNU/Linux

$ Xorg -version
X.Org X Server 1.12.1
Release Date: 2012-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.3.1-1-ARCH x86_64
Current Operating System: Linux wopr 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64
Kernel command line: root=/dev/sda5 resume=/dev/sda6 vga=792 acpi_backlight=vendor ro
Build Date: 14 April 2012 07:09:45AM

Current version of pixman: 0.24.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.

$ cat /boot/grub/menu.lst
...
kernel /boot/vmlinuz-linux root=/dev/sda5 resume=/dev/sda6 vga=792 acpi_backlight=vendor ro
...

Laptop Model: HP Pavilion dv3540es

Wrong autodetection on reboot

In the R-590-5700 I reported working few minutes ago, I have an issue: on reboot, the auto-detected value is wrong and the module no long works properly.

So, I used max=26500 (close to the first auto-detected value, 0x679a).

But after that, actual_brightness > max_brightness...

My workaround was add 'echo "127" > /sys/class/backlight/nvidia_backlight/brightness' to rc.local. And now it is working.

But I think the module did not restore the right value before unloading.

I am using Ubuntu 11.04.

Log:

First time:
Jul 4 17:39:19 dedalu-lg kernel: [ 837.686984] nvidiabl: loading driver version 0.69
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687011] nvidiabl: Supported Nvidia graphics adapter 10de:0caf:1854:0832 detected
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687742] nvidiabl: backup register value 0x4000679a
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687749] nvidiabl: autodetecting maximum
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687755] nvidiabl: using value 0x679a as maximum
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687760] nvidiabl: autodetecting off
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687765] nvidiabl: using value 0x0 as off
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687769] nvidiabl: autodetecting minimum
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687775] nvidiabl: minimum is 5% of maximum
Jul 4 17:39:19 dedalu-lg kernel: [ 837.687780] nvidiabl: using value 0x63 as minimum

After reboot:
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787929] nvidiabl: loading driver version 0.69
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787939] nvidiabl: Supported Nvidia graphics adapter 10de:0caf:1854:0832 detected
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787986] nvidiabl: backup register value 0x4001df67
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787988] nvidiabl: autodetecting maximum
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787990] nvidiabl: using value 0x1df67 as maximum
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787991] nvidiabl: autodetecting off
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787993] nvidiabl: using value 0x0 as off
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787994] nvidiabl: autodetecting minimum
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787996] nvidiabl: minimum is 5% of maximum
Jul 4 17:58:39 dedalu-lg kernel: [ 20.787998] nvidiabl: using value 0x63 as minimum

Thank you again!

Dell Vostro 3500 support.

Looks like nvidiabl works flawless on Vostro 3500 (tested on two laptops).

The only issues I found so far is wrong detected max brightness level, it shows 127 as max however the only different I see is between 0 and 30. 30 and above is full brightness level.

cat /sys/class/dmi/id/sys_vendor /sys/class/dmi/id/product_name

Dell Inc.
Vostro 3500

kernel 2.6.38, binary nvidia drivers.

Brightness level no more linear from linux 3.2 to 3.4

Hi,

I was fine with nvidiabl 0.76 and Ubuntu 12.04 stock kernel (3.2.0-29.46).
Today I've upgraded to a testing kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/ (3.4.0-030400.201205210521).

I noticed that the brightness change is no more linear as before, but the maximum brightness level is reached at ~30 on a 128 scale.

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 310M] (rev a2) (prog-if 00 [VGA controller])
    Subsystem: Sony Corporation Device 9069
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at 7000 [size=128]
    [virtual] Expansion ROM at d3080000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidia, nouveau, nvidiafb
[    4.775012] nvidiabl: loading driver version 0.76
[    4.775019] nvidiabl: Sony Corporation - VPCS1 model detected in DMI tables
[    4.775028] nvidiabl: Supported Nvidia graphics adapter 10de:0a75:104d:9069 detected
[    4.775090] nvidiabl: backup register value 0x4001df67
[    4.775092] nvidiabl: autodetecting maximum
[    4.775094] nvidiabl: using value 0x1df67 as maximum
[    4.775095] nvidiabl: autodetecting off
[    4.775097] nvidiabl: using value 0x0 as off
[    4.775098] nvidiabl: autodetecting minimum
[    4.775100] nvidiabl: minimum is 5% of maximum
[    4.775101] nvidiabl: using value 0x63 as minimum
➜  ~  cat /sys/class/backlight/nvidia_backlight/actual_brightness 
30
➜  ~  cat /sys/class/backlight/nvidia_backlight/max_brightness
127

I will provide further information if needed.

Thanks!

It doesn't work on Macbook Pro 5,1

It doesn't adjust backlight on MBP 5,1- it stays at 100% all the time.

Here is the data:
Linux Mac 3.2.0-3-generic #9-Ubuntu SMP Wed Dec 7 21:06:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

I manually compiled it and it gets loaded ok:

[ 19.978364] nvidiabl: loading driver version 0.72
[ 19.978370] nvidiabl: Apple Inc. - MacBookPro5,1 model detected in DMI tables
[ 19.978395] nvidiabl: Supported Nvidia graphics adapter 10de:0863:106b:00ac detected
[ 19.978459] nvidiabl: backup register value 0x2ac
[ 19.978460] nvidiabl: autodetecting maximum
[ 19.978462] nvidiabl: using value 0x2ac as maximum
[ 19.978463] nvidiabl: autodetecting off
[ 19.978464] nvidiabl: using value 0x0 as off
[ 19.978465] nvidiabl: autodetecting minimum
[ 19.978467] nvidiabl: minimum is 5% of maximum
[ 19.978468] nvidiabl: using value 0x64 as minimum

but it just doesn't adjust the backlight!

Here is the /sys/class/backlight/nvidia_backlight directory:
root@Mac:/sys/class/backlight/nvidia_backlight# cat actual_brightness
13
root@Mac:/sys/class/backlight/nvidia_backlight# cat brightness
14
root@Mac:/sys/class/backlight/nvidia_backlight# cat max_brightness
127
root@Mac:/sys/class/backlight/nvidia_backlight# cat bl_power
0

Echoing into files doesn't do anything.

Any ideas? :(

Autoload support for Lenovo Y400

I added the following line to nvidiabl-laptop.sh:
NVIDIABL_DECLARE_LAPTOP_MODEL("LENOVO", "9523", PCI_ANY_ID, NVIDIABL_AUTO, NVIDIABL_AUTO, NVIDIABL_AUTO),

I'm so glad to now be able to adjust the screen brightness. Thanks!

Data for Acer TravelMate 8481TG

Hi,

I have experimentally figured out the upper bound for my laptop (maybe its in reallity a bit lower): you can include it if you like

NVIDIABL_DECLARE_LAPTOP_MODEL("Acer", "TravelMate 8481TG", PCI_ANY_ID, NVIDIABL_AUTO, NVIDIABL_AUTO, 0x08000),

hf

-marco

Not working on G75VW

The brightness control is not working on my G75VW with a G660m card.Please help.

Here is the output for:
lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Ivy Bridge DRAM Controller [8086:0154](rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Ivy Bridge PCI Express Root Port [8086:0151](rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Panther Point USB xHCI Host Controller [8086:1e31](rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Panther Point MEI Controller #1 [8086:1e3a](rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation Panther Point USB Enhanced Host Controller #2 [8086:1e2d](rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Panther Point High Definition Audio Controller [8086:1e20](rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 1 [8086:1e10](rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 2 [8086:1e12](rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 4 [8086:1e16](rev c4)
00:1c.4 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 5 [8086:1e18](rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation Panther Point USB Enhanced Host Controller #1 [8086:1e26](rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Panther Point LPC Controller [8086:1e57](rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] [8086:1e03](rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Panther Point SMBus Controller [8086:1e22](rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd4](rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0e1b](rev a1)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032](rev 01)
04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083](rev c0)

cat /sys/class/dmi/id/sys_vendor

ASUSTeK COMPUTER INC.

cat /sys/class/dmi/id/product_name

G75VW

insmod fails on ASUS G74Sx with nvidia GeForce GTX 560M

I don't know if i should be using this driver or not,
but I was trying to see if the nvidia driver recognizes changes to the backlight and found this thread:
http://www.nvnews.net/vbulletin/showthread.php?t=143025

After attempting the source installation with make dkms-install,
I get the following error trying to load the module:

*$ sudo modprobe -v nvidiabl
insmod /lib/modules/2.6.38-11-generic/updates/dkms/nvidiabl.ko
FATAL: Error inserting nvidiabl (/lib/modules/2.6.38-11-generic/updates/dkms/nvidiabl.ko): No such device

and found this in my syslog:
Jul 31 13:59:18 raptor kernel: [ 1890.003964] nvidiabl: loading driver version 0.70
Jul 31 13:59:18 raptor kernel: [ 1890.003977] nvidiabl: No supported Nvidia graphics adapter found

Using the beta proprietary nvidia driver version 280.11
xubuntu 11.04 with the backported kernel:
Linux raptor 2.6.38-11-generic #47-Ubuntu SMP Fri Jul 15 19:27:09 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

*$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:1251] (rev a1)
01:00.1 Audio device [0403]: nVidia Corporation Device [10de:0bee] (rev a1)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
04:00.0 USB Controller [0c03]: Fresco Logic FL1000G USB 3.0 Host Controller [1b73:1000] (rev 04)
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)

*$ cat /sys/class/dmi/id/{sys_vendor,product_name}
ASUSTeK Computer Inc.
G74Sx

$ sudo lspci -vv -d "10de":
01:00.0 VGA compatible controller: nVidia Corporation Device 1251 (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 204a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f2000000 (32-bit, non-prefetchable) [size=32M]
        Region 1: Memory at e0000000 (64-bit, prefetchable) [size=128M]
        Region 3: Memory at e8000000 (64-bit, prefetchable) [size=64M]
        Region 5: I/O ports at d000 [size=128]
        [virtual] Expansion ROM at f4000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis+
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia-current, nvidia, nouveau, nvidiafb

Doesn't compile on Linux 3.2

make -C /lib/modules/3.2.0/build M=/usr/src/nvidiabl/nvidiabl modules
make[1]: Entering directory /usr/src/linux-3.2' CC [M] /usr/src/nvidiabl/nvidiabl/nvidiabl-module.o /usr/src/nvidiabl/nvidiabl/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND CC [M] /usr/src/nvidiabl/nvidiabl/nvidiabl-models.o /usr/src/nvidiabl/nvidiabl/nvidiabl-models.c:214:41: error: expected ‘)’ before numeric constant /usr/src/nvidiabl/nvidiabl/nvidiabl-models.c:215:25: error: expected ‘)’ before string constant make[2]: *** [/usr/src/nvidiabl/nvidiabl/nvidiabl-models.o] Errore 1 make[1]: *** [_module_/usr/src/nvidiabl/nvidiabl] Errore 2 make[1]: Leaving directory/usr/src/linux-3.2'
make: *** [modules] Errore 2

I guess something has changed: it was working flawlessly on 3.1.x

New laptop

First, thank you for solving this annoying problem. It works on my LG R-590-5700, so, as requested:

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d132](rev 11)
00:03.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express Root Port 1 [8086:d138](rev 11)
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155](rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156](rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157](rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158](rev 11)
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150](rev 11)
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151](rev 11)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44](rev 05)
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a](rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09](rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29](rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT215 [GeForce GT 335M] [10de:0caf](rev a2)
01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be4](rev a1)
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller [10ec:8172](rev 10)
03:00.0 Ethernet controller [0200]: Atheros Communications AR8131 Gigabit Ethernet [1969:1063](rev c0)
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers [8086:2c52](rev 04)
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2c81](rev 04)
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2c90](rev 04)
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2c91](rev 04)
ff:03.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller [8086:2c98](rev 04)
ff:03.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder [8086:2c99](rev 04)
ff:03.4 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Test Registers [8086:2c9c](rev 04)
ff:04.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers [8086:2ca0](rev 04)
ff:04.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers [8086:2ca1](rev 04)
ff:04.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers [8086:2ca2](rev 04)
ff:04.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers [8086:2ca3](rev 04)
ff:05.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers [8086:2ca8](rev 04)
ff:05.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers [8086:2ca9](rev 04)
ff:05.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers [8086:2caa](rev 04)
ff:05.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers [8086:2cab](rev 04)

cat /sys/class/dmi/id/sys_vendor
LG Electronics
cat /sys/class/dmi/id/product_name
R590-P.BN58P1

Thank you!

nvidiabl not works well when power plugin.

Hi,

First of all, thank for your work, and my English may not good, I will try my best to explain.

The problem is that when start the system with the power cable plugin, I can only change my brightness between 0~30%. After 30% it becomes to the max level brightness. after I set max_brightness to 0x7000, it stop changing the brightness. It stays at the max level even the brightness bar also stay at max. It means that the state bar didn't changed too. But if I did't plugin the power cable when power on, everything goes well. Do you have any idea about this?

My laptop is Samsung q430-11 with archlinux and gnome3.

Thanks in advance.

Integrate with nouveau

Hi,

Your driver works really for brightness control on my laptop. I prefer to use the nouveau driver, instead of the proprietary nvidia driver. In this, however, brightness control does not work well for me.

I have filed a bug for it here -- https://bugs.freedesktop.org/show_bug.cgi?id=31920 -- as noted in comment 6, is there some way changes/improvements of nvidiabl could be integrated into nouveau, so that everyone can benefit from your excellent work?

Thanks,
Rohan

nvidiablctl module on Asus G55V doesn't load automatically

Hi,
Thanks for the nice work. Here is my system info so you can add the support for autoloading the module.

[root@arch nvidiablctl]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154](rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151](rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31](rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a](rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d](rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20](rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10](rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12](rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16](rev c4)
00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18](rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26](rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM77 Express Chipset LPC Controller [8086:1e57](rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03](rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22](rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd4](rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0e1b](rev a1)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032](rev 01)
04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083](rev c0)
[root@arch nvidiablctl]# cat /sys/class/dmi/id/sys_vendor
ASUSTeK COMPUTER INC.
[root@arch nvidiablctl]# cat /sys/class/dmi/id/product_name
G55VW
$ dmesg |grep nvidia
[ 2.013268] nvidia: module license 'NVIDIA' taints kernel.
[ 1925.459720] nvidiabl: loading driver version 0.80
[ 1925.459739] nvidiabl: Supported Nvidia graphics adapter 10de:0fd4:1043:2118 detected
[ 1925.459819] nvidiabl: smartdimmer register at address 0xf661c084 mapped at address 0xffffc9000007a084
[ 1925.459821] nvidiabl: backlight type is raw
[ 1925.459872] nvidiabl: backup register value 0x4001d09e
[ 1925.459874] nvidiabl: autodetecting maximum
[ 1925.459875] nvidiabl: using value 0x1d09e as maximum
[ 1925.459877] nvidiabl: autodetecting off
[ 1925.459879] nvidiabl: using value 0x0 as off
[ 1925.459880] nvidiabl: autodetecting minimum
[ 1925.459882] nvidiabl: minimum is 5% of maximum
[ 1925.459884] nvidiabl: using value 0x173b as minimum

g75vw

So far I have been unable to get this to work for my new laptop. Hopefully you can help.

jesse@JohnGault:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Ivy Bridge DRAM Controller [8086:0154](rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Ivy Bridge PCI Express Root Port [8086:0151](rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Panther Point USB xHCI Host Controller [8086:1e31](rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Panther Point MEI Controller #1 [8086:1e3a](rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation Panther Point USB Enhanced Host Controller #2 [8086:1e2d](rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Panther Point High Definition Audio Controller [8086:1e20](rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 1 [8086:1e10](rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 2 [8086:1e12](rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 4 [8086:1e16](rev c4)
00:1c.4 PCI bridge [0604]: Intel Corporation Panther Point PCI Express Root Port 5 [8086:1e18](rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation Panther Point USB Enhanced Host Controller #1 [8086:1e26](rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Panther Point LPC Controller [8086:1e57](rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] [8086:1e03](rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Panther Point SMBus Controller [8086:1e22](rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd4](rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0e1b](rev a1)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032](rev 01)
04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083](rev c0)

jesse@JohnGault:~$ cat /sys/class/dmi/id/sys_vendor
ASUSTeK COMPUTER INC.

jesse@JohnGault:~$ cat /sys/class/dmi/id/product_name
G75VW

Display Light goes full when opening new application.

I have sony vaio AW290J with 9600m gt nvidia graphics. This module works fine. But when i start an application brightness goes full light. It is happening all the time. I tried it in ubuntu 12.10, elementary os luna and arch linux same results.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.