guillaumezin / nvidiabl

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

g75vw #51

Closed rccypher closed 12 years ago

rccypher commented 12 years ago

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

Itapop commented 12 years ago

Maybe you should try the nvidiabl driver modified by iam-TJ: there are two "*.c" files to substitute getting the new .deb package and the type parameter to set.

rccypher commented 12 years ago

Perhaps you could assist me by explaining how to get it working in more detail. I'm afraid after reading through the commentary I have been unable to identify the files that need substituting.

Itapop commented 12 years ago

Starting from the nvidiabl driver decompressed package you have to substitute 2 files- models.c with this- https://github.com/iam-TJ/nvidiabl/blob/85266a3803a47a966de2f45cd4067eeb31848459/nvidiabl-models.c module.c with this- https://github.com/iam-TJ/nvidiabl/blob/85266a3803a47a966de2f45cd4067eeb31848459/nvidiabl-module.c

just copy-paste and save the new files overwriting the old ones in the original package. Then rebuild the deb package with 'dpkg-deb –build NAME_DIR' (in case of need, 'how to' on the net). Eventually follow iam-TJ instructions here https://github.com/guillaumezin/nvidiabl/issues/45

rccypher commented 12 years ago

Well that is a partial success. I had to combine it with http://ubuntuforums.org/showthread.php?t=1966635&page=2 to get things somewhat working. At this point my function keys still do not turn the brightness up and down. The good news however, is that the brightness and lock app can now control the screen brightness, something which it could not do before. Any further suggestions on how to get the function keys working?

rccypher commented 12 years ago

Never mind I figured it out. After following the instructions you laid out, and combining it in the link above I had one other small issue.

In /etc/X11/xorg.conf you should put:

Section "Device" Identifier "NVIDIA GeForce" Driver "nvidia" Option "NoLogo" "True" Option "RegistryDwords" "EnableBrightnessControl=1" EndSection

Now I had added this to my xorg.conf but in reality what I needed to do was modify the existing device entry rather than adding a new one. This was probably obvious to more experienced users but it was not so obvious to me until I started poking at it again.

Thanks for all your help Itapop, and thank you to IamTJ and guillaumezin for writing and debugging the code!