Dell XPS 15z

From ArchWiki
Revision as of 23:02, 23 October 2012 by Thestinger (Talk | contribs) (Bluetooth: rm duplication)

Jump to: navigation, search


Device Status
Network Works
Wireless Works
Sound Works
Bluetooth Works
Touchpad Modify
Graphics Modify
Screen Modify
USB 3.0 Not tested
Webcam Works
Card Reader Modify
System info Not tested

System Settings

lspci

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev ff)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
06:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)

System Setup

Graphics

Dell XPS 15z has two graphics card installed, Intel integrated graphics card and Nvidia 525m card. nvidia card is using Optimus technology. Initially, both the Intel integrated graphics and the Nvidia 525m card will be active, consuming a lot of power. Unfortunately, Optimus is currently not supported in Linux by nvidia driver nor nouveau driver, so you need to install the intel driver and disable nvidia card.

To install intel graphics driver, simply execute following:

# pacman -S xf86-video-intel-sna

Disabling Nvidia card with acpi_call

The following steps outline one method for disabling the Nvidia card via acpi_call. This will only disable the card. If you wish to use it, use Bumblebee instead. Ensure that have git installed:

# pacman -S git

Obtain a copy of acpi_call:

# git clone http://github.com/mkottman/acpi_call

Make acpi_call:

# cd acpi_call
# make

Download this script made by Ubuntu forum member sunilim. Open up the script and modify the line

insmod /home/sunil/acpi_call/acpi_call.ko

to

insmod /home/YOUR-USER-NAME/acpi_call/acpi_call.ko

Close the script, make it executable, and place it in the bin folder

# chmod +x dell.sh
# cp dell.sh /usr/bin/dell.sh

Run the script to see that it works

# dell.sh off

To make the solution permanent, open up the file /etc/rc.local and add the following line

sleep 5 && dell.sh off

Using Bumblebee

Another way, which allows to use Optimus technology is via Bumblebee. This program is available from AUR and even provides it's own drivres for Nvidia card, available from AUR as well.

Video Performance

Using the Intel card without any modifications can result in poor video performance. A quick fix is to edit boot options of your boot loader and append the following to the kernel parameters:

# i915.semaphores=1

Boot time errors

If you encounter boottime errors with intel, add i915 and intel_agp modules to the MODULES section in /etc/mkinitcpio.conf:

# MODULES="intel_agp i915"

Then regenerate the initramfs:

# mkinitcpio -p linux

X11: no screen found

This error may happen when you install nvidia driver instead of intel driver. More info here. Basic solution is to uninstall NVidia driver and install

Bluetooth

See Bluetooth.

Touchpad and Keyboard

Basic functionality can be given to the touchpad, however a lack of drivers means there is no multitouch support. To enable the touchpad, execute the following command:

# rmmod psmouse; sudo modprobe psmouse proto=imps

To make this change persistent, add the following to a file in /etc/modprobe.d. This file can have any name, such as options.conf, modprobe will still parse it.

# options psmouse proto=imps

To enable the function of touchpad and keyboard you may have to add the following to kernel parameters in your boot loader.

# pcie_aspm=force acpi=noirq

Card Reader

To make the card reader function enter the following command:

# sh -c "echo 1 > /sys/bus/pci/rescan"

This will allow it to auto mount cards until the next reboot