Difference between revisions of "ASUS Eee PC 1215N"

From ArchWiki
Jump to: navigation, search
(Wireless and Bluetooth)
(flagged broken section links (interactive))
(Tag: wiki-scripts)
 
(62 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:ASUS (English)]]
+
[[Category:ASUS]]
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.
+
{{Out of date|This article mentions acpi_call and legacy Bumblebee}}
 +
{| class="wikitable" style="float: right;"
 +
| '''Device''' || '''Status''' || '''Module'''
 +
|-
 +
| Ethernet || style="color:green" |  '''Working''' || atl1c [http://www.linuxfoundation.org/collaborate/workgroups/networking/alx]
 +
|-
 +
| Wireless || style="color:green" | '''Working''' || [[Broadcom_wireless#brcmsmac.2Fbrcmfmac|brcmsmac]]{{Broken section link}}; [[Broadcom_wireless#broadcom-wl|broadcom-wl]]
 +
|-
 +
| Video || style="color:green" | '''Working''' || [https://www.archlinux.org/packages/extra/x86_64/xf86-video-intel/ i915]; [[Bumblebee#Installing_Bumblebee_with_Intel.2FNVIDIA|nvidia]]{{Broken section link}}; [[Bumblebee#Installing_Bumblebee_with_Intel.2FNouveau|noveau]]{{Broken section link}}
 +
|-
 +
| Audio || style="color:green " | '''Working''' || [[Advanced_Linux_Sound_Architecture|snd-hda-intel]]
 +
|-
 +
| Camera || style="color:green" | '''Working''' || [[Webcam setup#linux-uvc|uvcvideo]]{{Broken section link}}
 +
|-
 +
| Card Reader || style="color:green" | '''Working''' || [[USB storage devices#Getting a kernel that supports usb storage|usb-storage]]
 +
|-
 +
| Function Keys || style="color:darkorange" | '''Partial''' || eeepc-wmi [http://acpi4asus.sourceforge.net/]
 +
|}
 +
This page includes general information regarding [https://www.asus.com/Laptops/Eee_PC_1215N/ ASUS Eee PC 1215N] and related notes on installing/using Arch Linux on it.
  
 
=System Specs=
 
=System Specs=
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache
+
'''CPU:''' [http://ark.intel.com/products/49490 Intel Atom D525] (Dual Core; 1.8GHz; Codename [[wikipedia:List_of_Intel_Atom_microprocessors#.22Pineview.22_.2845_nm.29_2|Pineview]])
  
'''RAM:''' 2GB 1066MHz DDR3
+
'''RAM:''' 1-2 x 1GB DDR3 SO-DIMM; 800 MHz (Maximum 4 GB)
  
'''HDD:''' 250/320GB 5400RPM
+
'''HDD:''' 2.5" SATA2 250GB/320GB HDD; 5400 RPM (SATA2)
  
'''GPU:''' nVidia ION2 with Optimus (see below)
+
'''GPU:''' [http://www.nvidia.com/object/sff_ion.html nVidia ION2] (GT218; 16 CUDA cores; 475 MHz; 256 MB DDR3) [[wikipedia:Nvidia_Ion#Ion_2_.28next-generation_Nvidia_Ion.29]] / Intel Graphics Media Accelerator on CPU die ([[wikipedia:GMA_3150#GMA_3150|Intel GMA 3150]]; 400 MHz; 256 MB Max Shared Memory [http://www.intel.com/support/graphics/sb/CS-031160.htm?wapkw=gma+3150])
 +
 
 +
'''North Bridge:''' [http://ark.intel.com/products/47610/Intel-CG82NM10-PCH?q=nm10Intel NM10] [http://www.intel.com/content/www/us/en/chipsets/internet-devices-chipsets/nm10-chipset.html]
 +
 
 +
'''South Bridge:''' [http://ark.intel.com/products/27680/Intel-82801GBM-IO-Controller Intel ICH7-M ] [[wikipedia:List_of_Intel_chipsets#Southbridge_9xx_and_3.2F4_Series_chipsets]]
 +
 
 +
'''Audio:''' [[wikipedia:Intel_High_Definition_Audio|Intel High Definition Audio Controller]]
  
 
'''Display:''' 12.1" 1366x768 LED display
 
'''Display:''' 12.1" 1366x768 LED display
  
'''Wireless:''' Broadcom BCM4313 802.11 b/g
+
'''Wireless:''' [http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4313 Broadcom BCM4313] 802.11b/g/n
 +
 
 +
'''Ethernet:''' [https://www.qca.qualcomm.com/media/product/product_98_file1.pdf Qualcomm Atheros AR8152 v2.0] 10/100 Mb
 +
 
 +
'''Bluetooth:''' [http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4313Broadcom BCM4313] [[wikipedia:Bluetooth#Bluetooth_v3.0_.2B_HS|Bluetooth v3.0 + HS]]
 +
 
 +
'''Webcam:''' [http://www.azurewave.com/product_AM-VB002_1.asp Azurewave 0.3 MP (VGA)]
 +
 
 +
'''Expansion / Connectivity:''' USB (3 x USB 2.0); Video Ports (VGA, HDMI); Audio Ports (Out 3.5 mm, In 3.5 mm); Card Reader (SD/ SDHC/ SDXC/ MMC)
 +
 
 +
'''Extras:''' Two USB 3.0 ports (optional)
 +
 
 +
= Configuration =
 +
== Wireless and Bluetooth ==
 +
 
 +
With the Kernel 3.0 and after, there is no need for any of the procedure below, because Wireless and Bluetooth work out of box.
 +
 
 +
== 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.
 +
 
 +
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.
  
'''Bluetooth:''' TODO
+
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.
  
'''Webcam:''' TODO
+
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.
  
'''Card Reader:''' TODO
+
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.
  
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)
+
== Bumblebee Installation ==
  
= Wireless and Bluetooth =
+
Recently tested Bumblebee installation with kernel 3.1.8 and nvidia driver 290.10, which is installed as part of bumblebee package.
  
'''[[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 ^^'''
+
Install Bumblebee from AUR and follow instructions [[Bumblebee|here]]
  
[[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.
+
'''Output from Optirun Test'''
  
 +
After installation, use
  
[[Wireless:]]
+
# glxgears
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example).
 
  
Using yaourt (but you can also install it manually from AUR):
+
and
# yaourt -S broadcom-wl
 
  
And then activate it from the Terminal.
+
  # optirun glxgears
  # modprobe wl
 
  
[[Bluetooth:]]
+
for comparison of integrated and dedicated GPU rendering (integrated GPU ~60 FPS)
BCM4313 --> Install packages "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.
+
The default compression method for the dedicated GPU is "proxy" (lower compression).  
# sudo nano /etc/rc.conf
 
  
And then add to bluetooth to the Daemons:
+
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):
# DAEMONS=(... bluetooth)
 
  
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''
+
''proxy'' 220, ''jpeg'' 340, ''rgb'' 280, ''yuv'' 330.
  
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].
+
'''Power Management'''
  
= nVidia ION 2 with Optimus =
+
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....
  
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.
+
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"
  
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.
+
\_SB.PCI0.P0P4.GFX0._PS0
  
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.
+
"/etc/bumblebee/cardoff"
  
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.
+
\_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 69: Line 142:
  
 
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
 +
 +
https://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)
 +
 +
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)
  
 
= Problems =
 
= 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).
  
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.
+
'''Update (after a little testing):'''
  
Not well debugged nor fixed yet, reported by few users:
+
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 [[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.
  
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).
+
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].

Latest revision as of 12:20, 19 May 2018

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#)
Device Status Module
Ethernet Working atl1c [1]
Wireless Working brcmsmac[broken link: invalid section]; broadcom-wl
Video Working i915; nvidia[broken link: invalid section]; noveau[broken link: invalid section]
Audio Working snd-hda-intel
Camera Working uvcvideo[broken link: invalid section]
Card Reader Working usb-storage
Function Keys Partial eeepc-wmi [2]

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 (Dual Core; 1.8GHz; Codename Pineview)

RAM: 1-2 x 1GB DDR3 SO-DIMM; 800 MHz (Maximum 4 GB)

HDD: 2.5" SATA2 250GB/320GB HDD; 5400 RPM (SATA2)

GPU: nVidia ION2 (GT218; 16 CUDA cores; 475 MHz; 256 MB DDR3) wikipedia:Nvidia_Ion#Ion_2_.28next-generation_Nvidia_Ion.29 / Intel Graphics Media Accelerator on CPU die (Intel GMA 3150; 400 MHz; 256 MB Max Shared Memory [3])

North Bridge: NM10 [4]

South Bridge: Intel ICH7-M wikipedia:List_of_Intel_chipsets#Southbridge_9xx_and_3.2F4_Series_chipsets

Audio: Intel High Definition Audio Controller

Display: 12.1" 1366x768 LED display

Wireless: Broadcom BCM4313 802.11b/g/n

Ethernet: Qualcomm Atheros AR8152 v2.0 10/100 Mb

Bluetooth: BCM4313 Bluetooth v3.0 + HS

Webcam: Azurewave 0.3 MP (VGA)

Expansion / Connectivity: USB (3 x USB 2.0); Video Ports (VGA, HDMI); Audio Ports (Out 3.5 mm, In 3.5 mm); Card Reader (SD/ SDHC/ SDXC/ MMC)

Extras: Two USB 3.0 ports (optional)

Configuration

Wireless and Bluetooth

With the Kernel 3.0 and after, there is no need for any of the procedure below, because Wireless and Bluetooth work out of box.

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.

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.

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.