Difference between revisions of "ASUS N53JN"

From ArchWiki
Jump to: navigation, search
m (" don't " -> " do not ")
(Suspend: remove USB hook, outdated rc.conf info)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:ASUS (English)]]
+
[[Category:ASUS]]
 
{| style="float:right; border: 1px solid #000;"  
 
{| style="float:right; border: 1px solid #000;"  
 
| '''Device''' || '''Status''' || '''Modules'''
 
| '''Device''' || '''Status''' || '''Modules'''
Line 54: Line 54:
  
 
Follow the [[CPU Frequency Scaling]] guide to enable speed-stepping.
 
Follow the [[CPU Frequency Scaling]] guide to enable speed-stepping.
Processor has Intel Turbo Boost which works out of the box, but you can't see the frequncies above 2.4GHz in /proc/cpuinfo. To see the actual frequency use {{Package AUR|i7z}}.
+
Processor has Intel Turbo Boost which works out of the box, but you can't see the frequncies above 2.4GHz in /proc/cpuinfo. To see the actual frequency use {{AUR|i7z}}.
  
 
===Video===
 
===Video===
Line 63: Line 63:
  
 
====Nvidia====
 
====Nvidia====
The official proprietary nvidia drivers for linux do not support Nvidia Optimus yet, but there is a workaround in the form of {{Package AUR|bumblebee}}. It enables the use of Nvidia graphic card via virtualgl. Just follow the instructions for setting up [[bumblebee]] in our wiki. Please note that this laptop has software switch that turns Nvidia graphics card off. You can turn it on using {{Package AUR|acpi_call}}.
+
The official proprietary nvidia drivers for linux do not support Nvidia Optimus yet, but there is a workaround in the form of {{AUR|bumblebee}}. It enables the use of Nvidia graphic card via virtualgl. Just follow the instructions for setting up [[bumblebee]] in our wiki. Please note that this laptop has software switch that turns Nvidia graphics card off. You can turn it on using {{AUR|acpi_call}}.
  
 
=====Switching graphic cards=====
 
=====Switching graphic cards=====
Line 71: Line 71:
 
Follow the official documentation: [[ALSA]] and [[Pulseaudio]]
 
Follow the official documentation: [[ALSA]] and [[Pulseaudio]]
  
In order to make integrated speakers work add to {{Filename|/etc/modprobe.d/modprobe.conf}}:
+
In order to make integrated speakers work add to {{ic|/etc/modprobe.d/modprobe.conf}}:
 
<pre>
 
<pre>
 
options snd-hda-intel index=0 model=auto
 
options snd-hda-intel index=0 model=auto
 
</pre>
 
</pre>
And to {{Filename|/etc/modprobe.d/sound.conf}} add:
+
And to {{ic|/etc/modprobe.d/sound.conf}} add:
 
<pre>alias snd-card-0 snd-hda-intel
 
<pre>alias snd-card-0 snd-hda-intel
 
alias sound-slot-0 snd-hda-intel</pre>
 
alias sound-slot-0 snd-hda-intel</pre>
Line 86: Line 86:
  
 
===Suspend===
 
===Suspend===
USB 3.0 has some problems with suspend. Out of the box Arch won't suspend on this laptop. There is a solution posted in our forum[https://bbs.archlinux.org/search.php?search_id=74496093].
 
  
Make an executable file in {{Filename|/etc/pm/sleep.d/}} with following:
+
The USB unbind hook is no longer necessary as of [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=dbf0e4c7257f8d684ec1a3c919853464293de66e Linux 3.5].
<pre>#!/bin/sh
+
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
+
TMPLIST=/tmp/ehci-dev-list
+
  
case "${1}" in
+
The laptop still hangs if you disable nVidia GPU and try to suspend! However, a workaround that works with [[Asus N82JV]] consists in blacklisting nouveau. That still allows the user to power the card off in that laptop.
        hibernate|suspend)
+
    echo -n '' > $TMPLIST
+
          for i in `ls /sys/bus/pci/drivers/ehci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
+
              # Unbind ehci_hcd for first device XXXX:XX:XX.X:
+
              echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
+
          echo "$i" >> $TMPLIST
+
          done
+
        ;;
+
        resume|thaw)
+
    for i in `cat $TMPLIST`; do
+
              # Bind ehci_hcd for first device XXXX:XX:XX.X:
+
              echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/bind
+
    done
+
    rm $TMPLIST
+
        ;;
+
esac
+
</pre>
+
 
+
And in {{Filename|/etc/pm/config.d/}} a file with:
+
<pre>
+
#File: "/etc/pm/config.d/usb3-suspend-workaround".
+
SUSPEND_MODULES="xhci"
+
</pre>
+
 
+
The laptop still hangs if you disable Nvidia GPU and try to suspend! However, a workaround that works with [[Asus N82JV]] consists in blacklisting nouveau. That still allows the user to power the card off in that laptop. That is done by adding{{Codeline|!nouveau}} to the {{Codeline|MODULES}} line in {{Filename|rc.conf}}. It should look like this:
+
<pre>MODULES=(acpi-cpufreq cpufreq_ondemand cpufreq_powersave vboxdrv !nouveau)</pre>
+

Revision as of 17:47, 2 November 2012

Device Status Modules
Intel Working xf86-video-intel
Nvidia Partially Working bumblebee
Ethernet Working atl1c
Wireless Working ath9k
Audio Working snd_hda_intel
Touchpad Working
Camera Working uvcvideo
USB 3.0 Working xhci_hcd
eSATA Working
Card Reader Working
Function Keys Working
Suspend Working, look bellow

Hardware

CPU: Intel Core i5 450M, 2.4GHz

Mainboard: Intel HM55

RAM: 4096 MB, 2x 2048 MByte DDR3

Display: 15,6" HD LED (1366x768)

Graphics adapter: NVIDIA GeForce GT 335M - 1024 MB and Intel Core Processor Integrated Graphics Controller

Soundcard: integrated Intel HDA

Network: Atheros Gigabit Ethernet Controller, Atheros AR9285 Wireless Network

Hard disk: Seagate Momentus 500GB 5400rpm SATA

Webcam: IMC Networks

Touchpad: Elantech

Configuration

CPU

Works out of the box.

Follow the CPU Frequency Scaling guide to enable speed-stepping. Processor has Intel Turbo Boost which works out of the box, but you can't see the frequncies above 2.4GHz in /proc/cpuinfo. To see the actual frequency use i7zAUR.

Video

Intel

Follow these guides: Xorg and Intel

No problems detected. VGA out and HDMI working.

Nvidia

The official proprietary nvidia drivers for linux do not support Nvidia Optimus yet, but there is a workaround in the form of bumblebeeAUR. It enables the use of Nvidia graphic card via virtualgl. Just follow the instructions for setting up bumblebee in our wiki. Please note that this laptop has software switch that turns Nvidia graphics card off. You can turn it on using acpi_callAUR.

Switching graphic cards

Look at Asus_N82JV page.

Audio

Follow the official documentation: ALSA and Pulseaudio

In order to make integrated speakers work add to /etc/modprobe.d/modprobe.conf:

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

And to /etc/modprobe.d/sound.conf add:

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

Touchpad

Follow the Synaptics guide.

Webcam

Working, but the picture is refreshing slowly.

Suspend

The USB unbind hook is no longer necessary as of Linux 3.5.

The laptop still hangs if you disable nVidia GPU and try to suspend! However, a workaround that works with Asus N82JV consists in blacklisting nouveau. That still allows the user to power the card off in that laptop.