ASUS N82JV

From ArchWiki
Revision as of 14:29, 14 August 2010 by Xehoz (Talk | contribs) (Created page with "Category:ASUS (English) {| style="float:right; border: 1px solid #000;" | '''Device''' || '''Status''' || '''Modules''' |- | Intel || style="color:green" | '''Working''' |...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Device Status Modules
Intel Working xf86-video-intel
Nvidia Partially Working nouveau
Ethernet Working atl1c
Wireless Working ath9k
Audio Working snd_hda_intel
Touchpad Working
Camera Working uvcvideo
USB 3.0 Working xhci_hcd
Card Reader Working
Function Keys Partially Working

Hardware

CPU Intel Core i5 430M

Mainboard | Intel HM55

RAM 4096 MB, 2x 2048 MByte DDR3-10700 (1066 MHz)

Display 14" HD LED (1366x768)

Graphics adapter NVIDIA GeForce GT 335M - 1024 MB, Core: 450 MHz, Memory: 790 MHz, Shader rate: 1080 MHz

Soundcard Realtek ALC269 @ Intel Ibex Peak PCH

Network Atheros AR8131 PCI-E Gigabit Ethernet Controller (10MBit), Atheros AR9285 Wireless Network

Hard disk 320GB 5400rpm SATA

Webcam Chicony Electronics

Touchpad Elantech

Configuration

http://www.notebookcheck.net/Review-Asus-N82JV-Notebook.29437.0.html

My particular model is Asus N82JV-VX038V but the contents of the page should remain valid for every N82JV model.

CPU

Works out of the box.

Follow the SpeedStep guide to enable speed-stepping.

Video

Intel

Follow these guides: Xorg and Intel

No problems detected. VGA out and HDMI working.

Nvidia

The official proprietary nvidia drivers for linux don't support Nvidia Optimus yet. Should be possible to disable the Intel card and boot up with the nouveau drivers (which the system auto-detects and uses) but haven't tested it.

Switching graphic cards

This laptop sports two gpus. The Intel GMA HD (Core ix integrated) and the Nvidia Geforce GT 335M, with the ability to swith granted by Nvidia Optimus technology.

However, the official proprietary nvidia drivers for linux don't support Nvidia Optimus yet. Some experimental work is being done with Nouveau and hybrid graphics [1]

Kernel 2.6.34 includes vgaswitcheroo which, in theory, makes it possible to switch between graphic cards. Despite working with Intel/Ati[2], it is still not working with Intel/Nvidia. That should change with kernel 2.6.35[3] [4].

Disabling the Nvidia card

While the "normal" method isn't working (or if you aren't interested in using the Nvidia card in Linux, in order to disable it, so that it doesn't consume power, the following hack is available[5][6].

What it is: A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus).

Instalation:

git clone http://github.com/mkottman/acpi_call.git
cd acpi_call
make
sudo insmod acpi_call.ko
./test_off.sh

Usage:

# turn off discrete graphics card
echo '\_SB.PCI0.PEG1.GFX0.DOFF' > /proc/acpi/call
# turn it back on
echo '\_SB.PCI0.PEG1.GFX0.DON' > /proc/acpi/call

If you want run it on every startup add these lines to /etc/rc.local

# shutdown Nvidia
insmod /home/xehoz/acpi_call/acpi_call.ko
echo '\_SB.PCI0.PEG1.GFX0.DOFF' > /proc/acpi/call

If want, you may verify the power usage, on battery, with:

grep rate /proc/acpi/battery/BAT0/state

There should be a difference of about 7500 mW in battery usage.

Audio

Follow the official documentation: ALSA and Pulseaudio

Note: From my experience OSS doesn't work.

While it outputs sound to the speakers, the headphone jack won't work, and the speakers won't mute when a headphone is plugged in and the integrated mic won't work either.

In order to fix this, follow these steps.

1. Install ALSA drivers available at Realtek [7]

tar xvf LinuxPkg_x.x
tar xvf alsa-driver-1.0.xx
cd alsa-driver-1.0.xx
./configure --with-cards=hda-intel
make
make install

2. Type

nano /etc/modprobe.d/modprobe.conf

and add:

options snd-hda-intel index=0 model=auto


Not sure if this part is needed: Type

nano /etc/modprobe.d/sound.conf

and add

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

HDMI

Sound through HDMI works, but requires that the sound profile (mixer) be changed manually (not really an issue).

Touchpad

1. Follow the Synaptics guide.

Type:

xinput list |grep pointer

What you want to see:

⎜   ↳ ETPS/2 Elantech Touchpad                	id=16	[slave  pointer  (2)]

However, you'll see that the system is misinterpreting the touchpad for a wheel mouse. This is because this laptop (and so many others recently) is using a Elantech Touchpad. In order to fix it, enter this in the command line:

echo "options psmouse force_elantech=1" | sudo tee -a /etc/modprobe.d/psmouse.conf
sudo rmmod psmouse && sudo modprobe psmouse

Then, press Alt+F2 and enter:

gksu gedit /etc/X11/xorg.conf.d/10-synaptics.conf

A bare minimum configuration requires this text:

Section "InputClass"
        Identifier            "Touchpad"
        Driver        "synaptics"
        MatchIsTouchpad "on"
        Option    "Device"        "/dev/input/mouse0"
        Option    "Protocol"      "auto-dev"
        Option    "LeftEdge"              "130"
        Option    "RightEdge"             "840"
        Option    "TopEdge"               "130"
        Option    "BottomEdge"            "640"
EndSection

Please do note that, while I settled with these coordinates, they may require tuning. [8]

Working 10-synaptics.conf

Here's a fully working 10-synaptics.conf with Edge Scrolling, Two Finger Scrolling and with middle mouse click (LTCornerButton and RTCornerButton) on the top corners activated. Circular Scrolling works, but it's deactivated.

Section "InputClass"
        Identifier	"Touchpad"
        Driver		"synaptics"
        MatchIsTouchpad "on"
		Option	"Device"		"/dev/input/mouse0"
		Option	"Protocol"		"auto-dev"
		Option	"SHMConfig"		"on"
		Option 	"LeftEdge"          	"130"
		Option	"RightEdge"         	"840"
		Option	"TopEdge"           	"130"
		Option	"BottomEdge"        	"640"
		Option	"VertEdgeScroll"	"on"
		Option	"HorizEdgeScroll"	"on"
		Option	"CornerCoasting"	"on"
		Option	"CoastingSpeed"		"0.30"
		Option	"VertTwoFingerScroll"   "on"
		Option	"HorizTwoFingerScroll"  "on"
		Option	"CircularScrolling"	"off"
		Option	"CricularTrigger"	"0"
		Option	"TapButton1" 		"1"
		Option	"TapButton2" 		"2"
		Option	"TapButton3" 		"3"
		Option	"LTCornerButton"	"2"
		Option	"RTCornerButton"	"2"
EndSection

Webcam

Working, but showing the picture upside down.

$ lsusb |grep Chicony
Bus 002 Device 003: ID 04f2:b1bb Chicony Electronics Co., Ltd


This device as already been reported and will be fixed in future v4l-utils releases. Follow these instructions, handed out by one of the devs, for a temporary fix.

You can download this new version here:
[http://people.fedoraproject.org/~jwrdegoede/v4l-utils-0.8.1-test.tar.gz]

Install
-----------------------------------
Howto install and test v4l-utils depends on your system. There are
different instructions for if you have a 32 bit system or a 64 bit system.
which is using multilib. A 64 bit system without multilib is the same as
a 32 bit system.

To find out what you have do:
ls -d /usr/lib64

If this command gives a "No such file or directory" error, use the
Non multilib instructions, if the second command is successfull, you have multilib,
to find out which version (dubbed Fedora and Ubuntu multilib, because those are
the most well known examples, do):

ls -d /usr/lib32
If this command gives a "No such file or directory" error, use the Fedora multilib
instructions. If this command succeeds use the Ubuntu multilib instructions. Note
the ubuntu multilib instructions also apply to gentoo.

Non multilib instructions:
-------------------------------
tar xvfz v4l-utils-<version>.tar.gz
cd v4l-utils-<version>/lib
make PREFIX=/usr
sudo make install PREFIX=/usr

Fedora Multilib instructions:
-----------------------------------
Basic 64 bit install:
tar xvfz v4l-utils-<version>.tar.gz
cd v4l-utils-<version>/lib
make PREFIX=/usr LIBDIR=/usr/lib64
sudo make install PREFIX=/usr LIBDIR=/usr/lib64

If you also want to use 32 bit apps (such as skype), you
will need to have the 32 bit libc headers installed, on Fedora
this can be done like this:
Fedora 10-: "sudo yum install glibc-devel.i386"
Fedora 11:  "sudo yum install glibc-devel.i586"
Fedora 12+: "sudo yum install glibc-devel.i686"
Then do:
make clean
make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32
sudo make install PREFIX=/usr

Ubuntu Multilib instructions:
-----------------------------------
tar xvfz v4l-utils-<version>.tar.gz
cd v4l-utils-<version>/lib
make PREFIX=/usr
sudo make install PREFIX=/usr

If you also want to use 32 bit apps (such as skype), you
will need to have the 32 bit libc headers installed, on Ubuntu
this can be done like this:
sudo apt-get install libc6-dev-i386
On gentoo this can be done like this:
sudo emerge -v app-emulation/emul-linux-x86-compat
Then do:
make clean
make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32 LIBDIR=/usr/lib32
sudo make install PREFIX=/usr LIBDIR=/usr/lib32

Function Keys

Most of them do work. Exceptions are the multimedia player commands (fn+arrows), fn+c, fn+v and fn+F9 (which should disable the touchpad).