Difference between revisions of "ASUS Eee PC 1215n"

From ArchWiki
Jump to: navigation, search
(Problems)
(use https for links to archlinux.org)
(37 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:ASUS (English)]]
+
{{Out of date|This article mentions acpi_call and legacy Bumblebee}}
 +
[[Category:ASUS]]
 
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.
 
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.
  
Line 23: Line 24:
 
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)
 
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)
  
= Wireless and Bluetooth =
+
= Configuration =
 
+
== Wireless and Bluetooth ==
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''
+
 
+
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.
+
  
 +
'''[[PS :]] With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''
  
 
[[Wireless:]]
 
[[Wireless:]]
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example).  
+
In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :
  
Using yaourt (but you can also install it manually from AUR):
+
  # blacklist bcma
  # yaourt -S broadcom-wl
+
  
And then activate it from the Terminal.
+
Then restart and you can now use your BCM4313 normally :D
# modprobe wl
+
  
 
[[Bluetooth:]]
 
[[Bluetooth:]]
BCM4313 --> Install packages "bluez", "bluez-firmware".
+
BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".
 
  # sudo pacman -S bluez bluez-firmware  
 
  # sudo pacman -S bluez bluez-firmware  
  
Line 51: Line 48:
 
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''
 
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''
  
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].
+
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[https://wiki.archlinux.org/index.php/Bluetooth].
  
= nVidia ION 2 with Optimus =
+
== Media- and FN-keys ==
 +
example ~/.[[xbindkeys]]rc configuration
 +
#Muter/UnMute
 +
"amixer set "Master" toggle"
 +
    m:0x0 + c:121
 +
    XF86AudioMute
 +
#Volume up
 +
"amixer set "Master" 5%+"
 +
    m:0x0 + c:123
 +
    XF86AudioRaiseVolume
 +
#Volume down
 +
"amixer set "Master" 5%-"
 +
    m:0x0 + c:122
 +
    XF86AudioLowerVolume
 +
#MPD next song
 +
"mpc next"
 +
    m:0x0 + c:171
 +
    XF86AudioNext
 +
#MPD stop playing
 +
"mpc stop"
 +
    m:0x0 + c:174
 +
    XF86AudioStop
 +
#MPD prev song
 +
"mpc prev"
 +
    m:0x0 + c:173
 +
    XF86AudioPrev
 +
#MPD pase/unpause
 +
"mpc toggle"
 +
    m:0x0 + c:172
 +
    XF86AudioPlay
 +
 
 +
== nVidia ION 2 with Optimus ==
  
 
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.
 
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.
Line 63: Line 91:
 
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.
 
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.
  
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])
+
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[https://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])
 +
 
 +
== Bumblebee Installation ==
 +
 
 +
Recently tested Bumblebee installation with kernel 3.1.8 and nvidia driver 290.10, which is installed as part of bumblebee package.
 +
 
 +
Install Bumblebee from AUR and follow instructions [https://wiki.archlinux.org/index.php/Bumblebee here]
 +
 
 +
'''Output from Optirun Test'''
 +
 
 +
After installation, use
 +
 
 +
# glxgears
 +
 
 +
and
 +
 
 +
# optirun glxgears
 +
 
 +
for comparison of integrated and dedicated GPU rendering (integrated GPU ~60 FPS)
 +
 
 +
The default compression method for the dedicated GPU is "proxy" (lower compression).
 +
 
 +
By changing the compression method while using Nvidia Optimus, the FPS can be increased or decreased, some results (by compression method and approx. FPS, respectively):
 +
 
 +
''proxy'' 220, ''jpeg'' 340, ''rgb'' 280, ''yuv'' 330.
 +
 
 +
'''Power Management'''
 +
 
 +
On the wiki page, there are warnings about using power management with Bumblebee, essentially turning the card on and off using "acpi_call" module. Testing so far hasn't produced any problems....
 +
 
 +
The two files, cardon and cardoff, containing the commands used to control Nvidia Optimus need to be created in "/etc/bumblebee" for the 1215n with the following commands:
 +
 
 +
"/etc/bumblebee/cardon"
 +
 
 +
\_SB.PCI0.P0P4.GFX0._PS0
 +
 
 +
"/etc/bumblebee/cardoff"
 +
 
 +
\_SB.PCI0.P0P4.GFX0._DSM  {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x1A {0x1,0x0,0x0,0x3}
 +
\_SB.PCI0.P0P4.GFX0._PS3
  
 
== Relevant links ==
 
== Relevant links ==
Line 72: Line 139:
 
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html
 
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html
  
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)
+
https://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)
  
 
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)
 
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)
  
 
= Problems =
 
= Problems =
 
+
== Nvidia graphic card ==
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.
+
 
+
Not well debugged nor fixed yet, reported by few users:
+
 
+
 
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).
 
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).
  
'''Update:'''
+
'''Update (after a little testing):'''
  
With the latest kernel running (3.0) and the acpi_call-git module installed from AUR, the suspend and hibernate scripts from pm-utils will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list in /etc/pm/config.d/modules
+
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.
  
  SUSPEND_MODULES="acpi_call"
+
Create a file {{ic|modules}} in {{ic|/etc/pm/config.d}} and paste in the line below.
  
 +
  SUSPEND_MODULES="acpi_call"
 +
== Bluetooth ==
 
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.
 
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.
 +
 +
== CPU power consumption ==
 +
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Ic|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].

Revision as of 00:42, 6 December 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: This article mentions acpi_call and legacy Bumblebee (Discuss in Talk:ASUS Eee PC 1215n#)

This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.

System Specs

CPU: Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache

RAM: 2GB 1066MHz DDR3

HDD: 250/320GB 5400RPM

GPU: nVidia ION2 with Optimus (see below)

Display: 12.1" 1366x768 LED display

Wireless: Broadcom BCM4313 802.11 b/g

Bluetooth: TODO

Webcam: TODO

Card Reader: TODO

Extras: Two USB 3.0 ports, Bluetooth 3 (optional)

Configuration

Wireless and Bluetooth

PS : With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^

Wireless: In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :

# blacklist bcma

Then restart and you can now use your BCM4313 normally :D

Bluetooth: BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".

# sudo pacman -S bluez bluez-firmware 

And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file.

# sudo nano /etc/rc.conf

And then add to bluetooth to the Daemons:

# DAEMONS=(... bluetooth)

Restart the all thing, so you can use the Bluetooth and/or the Wireless

For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[1].

Media- and FN-keys

example ~/.xbindkeysrc configuration

#Muter/UnMute
"amixer set "Master" toggle"
    m:0x0 + c:121
    XF86AudioMute 
#Volume up
"amixer set "Master" 5%+"
    m:0x0 + c:123
    XF86AudioRaiseVolume 
#Volume down
"amixer set "Master" 5%-"
    m:0x0 + c:122
    XF86AudioLowerVolume 
#MPD next song
"mpc next"
    m:0x0 + c:171
    XF86AudioNext 
#MPD stop playing
"mpc stop"
    m:0x0 + c:174
    XF86AudioStop 
#MPD prev song
"mpc prev"
    m:0x0 + c:173
    XF86AudioPrev 
#MPD pase/unpause
"mpc toggle"
    m:0x0 + c:172
    XF86AudioPlay 

nVidia ION 2 with Optimus

nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. DO NOT try to install the nVidia binary driver, you have been warned.

Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.

David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.

Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.

Update 1 : There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[2] and here[3])

Bumblebee Installation

Recently tested Bumblebee installation with kernel 3.1.8 and nvidia driver 290.10, which is installed as part of bumblebee package.

Install Bumblebee from AUR and follow instructions here

Output from Optirun Test

After installation, use

# glxgears 

and

# optirun glxgears

for comparison of integrated and dedicated GPU rendering (integrated GPU ~60 FPS)

The default compression method for the dedicated GPU is "proxy" (lower compression).

By changing the compression method while using Nvidia Optimus, the FPS can be increased or decreased, some results (by compression method and approx. FPS, respectively):

proxy 220, jpeg 340, rgb 280, yuv 330.

Power Management

On the wiki page, there are warnings about using power management with Bumblebee, essentially turning the card on and off using "acpi_call" module. Testing so far hasn't produced any problems....

The two files, cardon and cardoff, containing the commands used to control Nvidia Optimus need to be created in "/etc/bumblebee" for the 1215n with the following commands:

"/etc/bumblebee/cardon"

\_SB.PCI0.P0P4.GFX0._PS0

"/etc/bumblebee/cardoff"

\_SB.PCI0.P0P4.GFX0._DSM  {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x1A {0x1,0x0,0x0,0x3}
\_SB.PCI0.P0P4.GFX0._PS3

Relevant links

http://airlied.livejournal.com/71734.html

https://launchpad.net/~hybrid-graphics-linux

http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html

https://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)

https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)

Problems

Nvidia graphic card

On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).

Update (after a little testing):

With the latest kernel running (3.0) and the "acpi_call" module installed from AUR, the suspend and hibernate scripts used by pm-utils will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.

Create a file modules in /etc/pm/config.d and paste in the line below.

 SUSPEND_MODULES="acpi_call"

Bluetooth

Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.

CPU power consumption

There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: pcie_aspm=force i915.i915_enable_rc6=1, see this thread.