Alienware M11x

From ArchWiki
Revision as of 09:37, 8 September 2011 by Fnord0 (Talk | contribs) (Ethernet)

Jump to: navigation, search

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

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Alienware M11x#)

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: duplicates info from lots of other pages (Discuss in Talk:Alienware M11x#)

This wiki page documents the configuration and troubleshooting specific to the Alienware M11x laptop.

See the Beginners' Guide for installation instructions.

System Specifications

The M11x base model comes with the following options :: (BLUE = OPTIONAL)

Alienware M11x R1:

  • Intel Pentium Processor SU4100 (2M Cache, 1.30 GHz, 800 MHz FSB) -OR- Intel Core 2 Duo SU7300 (1.3GHz, 800 MHz, 3 MB)
  • 2GB, -OR- 4GB, -OR- 8GB DDR3 - 800MHz RAM
  • 11.6-inch WideHD 1366x768 (720p) LCD
  • 1GB GDDR3 NVIDIA GeForce GT 335M discrete video
  • Mobile Intel GS45 Chipset
  • Intel 4500HD onboard video
  • Intel Internal High-Definition 5.1 Surround Sound Audio
  • Braodcom 4353 802.11a/b/g/n 2x2 MIMO wireless
  • 160GB 5,400RPM hard drive -OR- 250GB, 320GB, 500GB - 7,200RPM hard drive -OR- 256GB - Solid State Drive
  • Internal Wireless Bluetooth 2.1
  • Internal WWAN Mobile Broadband
  • Two Built-In Front Speakers
  • AlienFX Illuminated Keyboard Keyboard
  • 8 Cell Prismatic (64 whr) - Primary Battery


  • IEEE 1394a (4-pin) port
  • Integrated Ethernet RJ-45 (100 Mbps)
  • 3 Hi-speed USB 2.0 ports
  • DP / HDMI / VGA - Video Output
  • 3-in-1 Media Card Reader
  • 2 Audio Out Connectors
  • Audio In / Microphone Jack (retaskable for 5.1 audio)

Dimensions & Weight

  • Height: 32.7mm (1.29 inches) x Width: 285.7mm (11.25 inches) x Depth: 233.3mm (9.19 inches)
  • Preliminary Weight: Start at 1.99kg (4.39 lbs)

output of Template:Codeline

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Device 0caf (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
08:00.0 Network controller: Broadcom Corporation Device 4353 (rev 01)
1a:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
1a:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
1a:00.3 System peripheral: JMicron Technology Corp. MS Host Controller

Alienware M11x R2: The M11x R2 is similar to the R1, but it has some processor and chipset differences.

  • Processor: Intel® CoreTM i5 520UM (3M Cache, 1.066 GHZ, 1.866 GHz Max) or Intel® CoreTM i7 640UM (4M Cache, 1.2 GHZ with 2.266 GHz Max)
  • Chipset: Mobile Intel® QS57 Express Chipset
  • Uses NVIDIA Optimus to automatically switch between graphic cards when using Windows 7 drivers. There is no option on th BIOS to manually switch graphics.


  • The VGA port is not present in this model


the AR8132 10/100Mb fast ethernet controller uses the atl1c module, works out-of-the-box with Linux kernel 3.x ::

# lspci -kv
02:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)

Subsystem: Dell Device 0443 Flags: bus master, fast devsel, latency 0, IRQ 48 Memory at f1100000 (64-bit, non-prefetchable) [size=256K] I/O ports at 3000 [size=128] Capabilities: [40] Power Management version 3 Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [58] Express Endpoint, MSI 00 Capabilities: [6c] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [180] Device Serial Number ff-xx-xx-xx-xx-xx-xx-xx Kernel driver in use: atl1c Kernel modules: atl1c

# modinfo atl1c
filename:       /lib/modules/3.0-ARCH/kernel/drivers/net/atl1c/atl1c.ko.gz
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Jie Yang <>
srcversion:     4E5E179060C0F8631076B4A
alias:          pci:v00001969d00001083sv*sd*bc*sc*i*
alias:          pci:v00001969d00001073sv*sd*bc*sc*i*
alias:          pci:v00001969d00002062sv*sd*bc*sc*i*
alias:          pci:v00001969d00002060sv*sd*bc*sc*i*
alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
vermagic:       3.0-ARCH SMP preempt mod_unload 

# dmesg | grep -i atl1c
atl1c 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
atl1c 0000:02:00.0: setting latency timer to 64
atl1c 0000:02:00.0: version
atl1c 0000:02:00.0: irq 30 for MSI/MSI-X
atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>


The Broadcom Corporation Device 4353 (rev 01)(14e4:4353) 802.11a/b/g/n MIMO adapter is the stock wireless device for the M11x (R1).

  • I have brcm80211 working with my 14e4:4353 "Broadcom Corporation Device 4353 (rev 01)" wireless adapter, using arch + compat-wireless-patched AUR package.
    • Alternately you could just build the compat-wireless-brcm80211 AUR package which ONLY installs the brcm80211 module driver.
      • I used to use broadcom-wl AUR package and implemented some tips from the Broadcom_BCM4312 page.
        • Currently, the brcm80211 driver in AUR and the 2.6.37 kernel have a particularly crippling bug on multicore systems. This is fixed in 2.6.38-rc3 - the driver works great and is much faster (both in terms of initial connection and transfer rates; YMMV).

UPDATE: As of Kernel 2.6.39 brcm80211 was renamed to brcmsmac, that should not give you any problems, BUT when using Kernel 3.0 you need to add brcmsmac to your modules array in /etc/rc.conf, because of some bug in which the wireless interface doesnt show up, that should solve it.

  • FN+F3 controls the internal radio on the wireless internal adapter - this allows you to turn it off/on.
  • Currently, this device does NOT support monitor mode, nor packet injection =(

Above in the rc.conf NETWORKING section, I am not using eth1 (actually commented out), as I like using wlan0 for wireless interface, its just my preference. I am using the following config taken from Broadcom_BCM4312 Interfaces swapped every time section, namely to create my wlan0 interface, and to ensure eth0 and my wireless interface don't get swapped around ::

Create a file called /etc/udev/rules.d/10-network.rules and bind the MAC address of each of your cards to a certain interface name

SUBSYSTEM=="net", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="ff:ee:dd:cc:bb:aa", NAME="wlan0"


  • NAME="eth0" is the name of the interface that you want, for example the same name "eth0". You can use other names, for example "lan0" or "wlan0".
  • To get the MAC address of each card, use this command: udevadm info -a -p /sys/class/net/<yourdevice> | grep address. Please, note that this is case sensitive and you must use lower-case.


Works out-of-the-box. See ALSA.


Until 2.6.38-rc2, the touchpad seemed to have issues. It jumped around, and was temperamental. This appears to have been fixed, and it now works great - even two finger scrolling works perfectly.


- For Alienware M11x R1 owners: The Alienware M11x R1 has 2 video cards, and can be manually changed with the system BIOS (accessed by pushing F2 during system POST) ::

  • Switchable => linux will use the Intel 4500HD internal video
  • Discrete => linux will use the NVIDIA GeForce GT 335M

Alienware M11x R1 users running Linux have some tools available which will will interact with the hybrid video cards in this laptop.

  • acpi_call allows you to disable+power down the Discrete/NVIDIA card when the system is booted while BIOS Graphics mode is set to => Switchable
  • vga_switcheroo allows one to switch between the Onboard/Intel and the Discrete/NVIDIA without a system reboot and/or BIOS change (yet the BIOS would need to be set for Switchable). is a great site to check out for up-to-date information regarding the state of hybrid graphics in linux.

- For Alienware M11x R2 owners: There are detailed instructions on how to switch on/off the discrete nvidia graphics card on the Optimus (R2) models for the Alienware M11x laptop.


ACPI_CALL 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 the discrete graphics card in a dual graphics environment. acpi_call works on the Alienware M11x R1 for disabling the discrete video card + powering it down successfully. Make sure you boot with BIOS set to switchable' ::

  • grab acpi_call and compile
    • OR you could just grab the acpi_call-git AUR package(IMHO it's working pretty stable), and skip the manual installation/compilation of acpi_call.

acpi_call compilation

git clone
cd acpi_call
ln -s acpi_call.ko /lib/modules/`uname -r`/kernel/drivers/acpi/acpi_call.ko
depmod -a

acpi_call usage

modprobe acpi_call
grep rate /proc/acpi/battery/BAT1/state
echo '\_SB.PCI0.P0P2.PEGP._OFF' > /proc/acpi/call
grep rate /proc/acpi/battery/BAT1/state
  1. modprobe the acpi_call module
  2. check the current battery mW usage (not necessary)
  3. echo '\_SB.PCI0.P0P2.PEGP._OFF' to (the now existing since acpi_call was loaded) /proc/acpi/call
  4. check the current battery mW usage again to see that it dropped (not necessary)
  • both #2 and #4 as noted are not necessary, they just demonstrate that the battery usage is dropping as long as you do them in the order listed here.


Currently, Alienware M11x R1 owners are unable to use this method - hopefully this situation will change in the near future (fingers crossed), for now you need to manually reboot and make the switch in BIOS (swtichable and discrete in the GRAPHICS setup).

This explains how-to use VGA_SWITCHEROO for troubleshooting ::

  • kernel configuration flag - ensure CONFIG_VGA_SWITCHEROO is set as module, or built-in :: CONFIG_VGA_SWITCHEROO=y/m
sudo modprobe vgaswitcheroo
sudo mount -t debugfs none /sys/kernel/debug
cd /sys/kernel/debug/vgaswitcheroo
cat switch
  1: :Pwr:0000:01:00.0

Template:Codeline <= switch to discrete card Template:Codeline <= switch to onboard card Template:Codeline <= power-down the card not in use


To cope with switching between the 2 video cards within Archlinux itself (having multiple video drivers on the same arch install) I have been using a implementation of the detectgpu script pioneered by ALLurGroceries, but decidedly more arch-style like our french brethren with some american folk added I came up with this (UPDATED - added acpi_call functionality so that if booting into onboard/intel, this will power off the NVIDIA card by at boot to save precious battery -- since we cant even switch to NVIDIA yet while booted with onboard/intel) ::


VIDEO=`/usr/sbin/lspci|grep -c Intel`
if [ "$VIDEO" == 16 ]; then
   echo NVidia GPU detected
   ln -sf /etc/X11/xorg.nvidia.conf /etc/X11/xorg.conf
   OPENGL_DEJA_INSTALL=`pacman -Q libgl 2>/dev/null|grep -c libgl`
   if [ "$OPENGL_DEJA_INSTALL" == 1 ]; then
   echo Switching OpenGL implementation to nvidia-utils
   pacman -Rd --noconfirm libgl 2>/dev/null
   pacman -S --noconfirm nvidia-utils 2>/dev/null
echo Intel GPU detected
ln -sf /etc/X11/ /etc/X11/xorg.conf
sudo modprobe acpi_call
echo '\_SB.PCI0.P0P2.PEGP._OFF' > /proc/acpi/call
OPENGL=`pacman -Q libgl 2>/dev/null|grep -c libgl`
if [  $OPENGL != 1 ]; then
   pacman -Rd --noconfirm nvidia-utils 2>/dev/null
   pacman -S --noconfirm libgl 2>/dev/null
  • NOTE: you need to create 2 files for this to work, /etc/X11/xorg.nvidia.conf and /etc/X11/ (obviously one for INTEL, and one for NVIDIA) the script detectgpu will create a symlink /etc/X11/xorg.conf linking to the valid xorg.$ACTIVE_VIDEO_CARD.conf file, so Xorg will start properly.

Make sure that script /etc/rc.d/detectgpu script is executable

chmod +x /etc/rc.d/detectgpu

Lastly, update /etc/rc.conf with the following added to your DAEMONS=() section (if using the DAEMON config from above, this will already be there):


Use 'nvidia-settings' to configure the video card, and multiple screens if using the discrete/NVIDIA card.

backlight brightness

  • When booting into arch linux using NVIDIA/discrete video card just change brightness using the FUNCTION+F4 = brightness up, and FUNCTION+F5 = brightness down - also 'nvidia-settings' should allow brightness settings changes too.
  1. create a file @ /sbin/backlight
  2. sudo chown root:video /sbin/backlight
  3. sudo chmod 750 /sbin/backlight
  4. make sure to add the username allowed to change the backlight settings to the video group in /etc/group
  5. create an alias in your shell startup, and turn the brightness up or down via command, in turn you could tie this to a button combination in your xwindow manager settings.
alias brup='/sbin/backlight up'
alias brdown='/sbin/backlight down'
alias brget='/sbin/backlight get'
alias brup '/sbin/backlight up'
alias brdown '/sbin/backlight down'
alias brget '/sbin/backlight get'


# increase/decrease/set/get the backlight brightness (range 0-255) by 16
#get current brightness in hex and convert to decimal
# REQUIRES: bc, and setpci
var1=`/usr/sbin/setpci -s 00:02.0 F4.B`
 case "$1" in
              #calculate new brightness
              var2=`echo "ibase=10; obase=16; a=($var1d+16);if (a<255) print a else print 255" | bc`
              echo "$0: increasing brightness from 0x$var1 to 0x$var2"
              sudo /usr/sbin/setpci -s 00:02.0 F4.B=$var2
              #calculate new brightness
              var2=`echo "ibase=10; obase=16; a=($var1d-16);if (a>15) print a else print 15" | bc`
              echo "$0: decreasing brightness from 0x$var1 to 0x$var2"
              sudo /usr/sbin/setpci -s 00:02.0 F4.B=$var2
              #n.b. this does allow "set 0" i.e. backlight off
              echo "$0: setting brightness to 0x$2"
              sudo /usr/sbin/setpci -s 00:02.0 F4.B=$2
              echo "$0: current brightness is 0x$var1"
              if [ $var1d -eq 0 ] ; then
                      echo "toggling up"
                      sudo /usr/sbin/setpci -s 00:02.0 F4.B=FF
                      echo "toggling down"
                      sudo /usr/sbin/setpci -s 00:02.0 F4.B=0
              echo "usage: $0 {up|down|set <val>|get|toggle}"
exit 0

AlienFX - lighting and colors

AlienFX description quoting from the author's page "AlienFX Lite is a simple cross-platform program to create profiles and set the AlienFX lightning to the set colors. This application was done for the Allpowerfull M15x and only tested on this machine. It should also work on the M17x. The application will most likely accept the Area 51 m15x but it was untested. The current supported platforms are: Linux (32 bit), Linux(64 bit), Mac OS X(UNTESTED), Windows 7(64 bit), Windows 7 (32 bit), Windows Vista (32bit), Windows Vista 64bit, Windows XP"

yaourt -S alienfx-lite
  • then run /usr/bin/alienFX-lite to start the java applet (a script that changes to proper dir, and runs 'sudo $JAVA_HOME/bin/java -jar /usr/share/alienFX-lite/AlienFXLite-0.4b.jar')
  • NBR :: alienFX-lite thread for overview, videos, support and interaction with the developer (Wattos@NBR) directly.

This really is a slick java app!

fbsplash + fbcondecor on the M11x

a quick summary: quote, "Fbsplash (formerly gensplash) is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer. .... If you have a kernel that supports Fbcondecor, you can get nice graphical console backgrounds beside the splash screen. Just search the AUR for fbcondecor" unquote.

make SURE to check out the Fbsplash page for more information, links to themes, syntax, and suspend to disk details, etc.

fbcondecor usage

this is a plagerization of Fbsplash#Console_backgrounds for syntax :: quote, "After installing your patched kernel and fbsplash, add fbcondecor to your DAEMONS array in rc.conf:

DAEMONS=(... fbcondecor ...)

There is also a config file /etc/conf.d/fbcondecor to set up the virtual terminals to be used.

You may even boot up with a nice console background and the plain Arch Linux boot messages instead of a splash screen. Just change your kernel cmdline to use the verbose mode:

quiet console=tty1 splash=verbose,theme:arch-banner-icons

" unquote.

install the following packages

  • yaourt -S kernel26-fbcondecor fbsplash fbsplash-extras fbsplash-themes-arch-banner uswsusp-fbsplash

fbcondecor tailored for m11x

as I posted here, I'm using the following configuration on my m11x as an example (posted beneath). when it comes time to boot your system, choose whatever in BIOS [discrete/internal], then once @ the GRUB boot menu, select "Arch64 linux (intel -fbcondecor)" for the internal/intel, and "Arch64 Linux (nvidia -fbcondecor)" for the discrete/NVIDIA.


MODULES="intel_agp i915 nvidiafb"
HOOKS="base udev uresume fbsplash autodetect pata scsi sata filesystems"

^^^^^^ the above "HOOKS=" line is mine, letter for letter. "fbsplash" is REQUIRED to be able to use fbsplash + fbcondecor


# (3) Arch64 linux (intel -fbcondecor)
title  Arch64 Linux (intel -fbcondecor)
root   (hd0,2)
kernel /boot/vmlinuz26-fbcondecor root=/dev/sda3 resume=/dev/sda6 i915.modeset=1 quiet \
video=1366x768 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons ro
initrd /boot/kernel26-fbcondecor.img

# (4) Arch64 linux (nvidia -fbcondecor)
title  Arch64 Linux (nvidia -fbcondecor)
root   (hd0,2)
kernel /boot/vmlinuz26-fbcondecor root=/dev/sda3 resume=/dev/sda6 vga=0x317 quiet \
video=1280x800 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons ro
initrd /boot/kernel26-fbcondecor.img


laptop-init-script is small rc.d script located in (/etc/rc.d/laptop-init) i am using to enable/disable laptop optimizations.

You can install laptop-init-script from the AUR.


for my setup, I like the laptop to suspend when the lid is closed. this is done by changing the file Template:Codeline to the following ::

#! /bin/sh

test -f /usr/sbin/laptop_mode || exit 0

# lid button pressed/released event handler 

dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0 be continued...