https://wiki.archlinux.org/api.php?action=feedcontributions&user=1stdayonthejob&feedformat=atomArchWiki - User contributions [en]2024-03-28T12:21:42ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Dell_XPS_13_(9343)&diff=373580Dell XPS 13 (9343)2015-05-13T19:15:25Z<p>1stdayonthejob: just did an upgrade to 4.0.2.1 and wifi broke</p>
<hr />
<div>[[Category:Dell]]<br />
{{Style|See [[:Category:Laptops]].}}<br />
<br />
The 2015 Dell XPS 13 (9343) is the second-generation model of the XPS 13 line, and like its predecessor, it has official Linux support courtesy of Dell's Project Sputnik team. They target Ubuntu 14.04 LTS, but the improvements and support made by the Sputnik team are generally applicable to all distros. For installation help, please see the [[Installation guide]], [[Beginners' guide]] and [[Unified_Extensible_Firmware_Interface|UEFI]]; the installation process for Arch on the XPS 13 does not differ from any other PC. This page covers the current status of hardware support on Arch, as well as tips and tricks for getting it all working.<br />
<br />
Note that there are no exclusive hardware differences between the Developer Edition and the Windows edition of this laptop; this guide is equally applicable to both models.<br />
<br />
== Status ==<br />
The XPS 13 Developer Edition is available for purchase in the Americas and Europe as of April 2015. Barton George, the head of Dell's Sputnik team, wrote about the various compatibility caveats in his announcement post for those not running Ubuntu: ([http://bartongeorge.net/2015/04/09/4th-gen-dell-xps-13-developer-edition-available/]).<br />
<br />
As of kernel 4.0, there is still some manual configuration and kernel patching required, but after you've done that, Arch should run quite smoothly.<br />
<br />
=== Model differences ===<br />
<br />
Although the XPS 13 is available in various configurations (depending on your country of residence), those wanting to run Linux should pay special attention to display configuration options (FHD/QHD+) and WiFi adapter differences (Dell DW1560 vs. Intel 7265).<br />
<br />
== Configuration ==<br />
<br />
=== BIOS updates ===<br />
<br />
[http://www.dell.com/support/home/en/en/endhs1/Drivers/DriversDetails?driverId=XY677 BIOS update A03] was released on 2015-03-30. With A02+, almost everything should work out of the box, without any kernel boot parameters required. Store the update binary in {{ic|/boot/efi}} or on a USB flash drive and use the F12 key during bootup to update.<br />
<br />
=== WiFi ===<br />
<br />
Most configurations appear to feature the Dell DW1560 802.11ac adapter (Broadcom BCM4352), which requires {{AUR|broadcom-wl}} or {{AUR|broadcom-wl-dkms}} from AUR to be installed. Both packages contain the requisite patches for kernel 4.0. Some higher-end models do not use the Dell-branded adapter but instead use an Intel Wireless 7265, which is supported by the mainline kernel.<br />
<br />
Upgrading to kernel 4.0.2.1 breaks Broadcom BCM4352 wifi using the {{AUR|broadcom-wl}} driver.<br />
<br />
{{Tip|'''Broadcom users:''' If {{ic|wifi-menu}} and {{ic|iwlist scan}} fail after driver installation and reboot, try disabling "Wireless Switch" control in the BIOS.}}<br />
<br />
=== Bluetooth ===<br />
<br />
The Broadcom bluetooth firmware is not available in the kernel ([http://tech.sybreon.com/2015/03/15/xps13-9343-ubuntu-linux/ source]), so you will have to retrieve it from the [http://catalog.update.microsoft.com/v7/site/ScopedViewRedirect.aspx?updateid=87a7756f-1451-45da-ba8a-55f8aa29dfee Windows driver]. You need to extract the {{ic|.cab}} file with {{Pkg|cabextract}} and then convert it to a {{ic|.hcd}} file with ''hex2hcd'' from {{Pkg|bluez-utils}}:<br />
<br />
$ cabextract 20662520_6c535fbfa9dca0d07ab069e8918896086e2af0a7.cab<br />
$ hex2hcd BCM20702A1_001.002.014.1443.1572.hex<br />
# mv BCM20702A1_001.002.014.1443.1572.hcd /lib/firmware/brcm/BCM20702A0-0a5c-216f.hcd<br />
<br />
After reboot, the firmware should be available for your Bluetooth interface.<br />
<br />
=== Audio ===<br />
<br />
Proper audio support is dependent on having the latest BIOS update. If you have not yet updated to BIOS A02 or newer, please do that first. Also, undo the "!Windows 2013" hack if you were using that.<br />
<br />
==== HDA mode (kernels <=4.0 only) ====<br />
With BIOS A02+, kernels 4.0 and older will automatically use the sound card in HDA mode. The microphone does not work out-of-the-box, but there are two patches available that fix it ([https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?h=for-next&id=e1e62b98ebddc3234f3259019d3236f66fc667f8 1], [https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?h=for-next&id=f3b703326541d0c1ce85f5e570f6d2b6bd4296ec 2]). Alternatively, you can use altercation's {{AUR|linux-xps13-alt}} kernel from the AUR, which contains the mic patches.<br />
<br />
Note that if you are dual-booting with Windows, you will have to do a cold boot twice before HDA sound will work in Linux and vice-versa.<br />
<br />
==== i2s mode (kernels 4.1+) ====<br />
<br />
Kernels older than 4.0 do not support i2s mode. Some support arrived in 4.0, but there are still [https://lkml.org/lkml/2015/3/16/472 a few bugs]; jack detection, for example, does not work.<br />
<br />
Kernels 4.1+ will put the sound card into i2s mode, due to the ACPI _REV_2 patch. i2s sound seems to be working in the 4.1 mainline kernel, including jack detection. However, the broadcom-wl driver is currently unsupported in 4.1, so keep that in mind if your machine has a Broadcom card.<br />
<br />
When using i2s mode, the cold-boot workaround is not necessary.<br />
<br />
=== Touchpad ===<br />
<br />
With the latest BIOS patch, most of the touchpad functions should work, although palm detection does not work in i2c mode yet. For advanced settings with {{pkg|xf86-input-synaptics}}, the ''psmouse'' kernel module must be blacklisted first.<br />
<br />
The touchpad will freeze if two fingers arer detected on the pad. This can be fixed by setting {{ic|1=synclient Clickpad=1}}<br />
<br />
Under kernel 4.0 with the psmouse module blacklisted, this synaptics xorg config file allows right clicking: https://gist.github.com/soleblaze/975bc2b0e5e69137fd08<br />
<br />
Fedora's kernel tree has a patch from i2c-hid's developer, Benjamin Tissoires, that enables better support for clickpads, including proper right-click support in i2c mode. This patch has not yet been merged upstream, but you can get it [http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f21&id=d75cb059558345e47a13881512a1600e3e17ba21 here].<br />
<br />
There are currently some severe issues with clickpads in GNOME 3.16 (and possibly older versions as well) where the Shell will interpret all clickpad touches as clicks after some period of time. Please follow [https://bugzilla.gnome.org/show_bug.cgi?id=748599 GNOME bug #748599] for updates.<br />
<br />
=== Suspending ===<br />
<br />
If you encounter some artifacts and unusable graphical environment after resuming from a suspend, you may want to switch your Intel graphics acceleration [https://wiki.archlinux.org/index.php/Intel_graphics#SNA_issues from sna to uxa]. You should also switch to uxa from sna if you encounter horizontal sync issues when switching between virtual terminals.<br />
<br />
== See also ==<br />
<br />
General:<br />
* [https://major.io/2015/02/03/linux-support-dell-xps-13-9343-2015-model/ Linux support for the Dell XPS 13 9343 (2015 model)]<br />
* [https://lkml.org/lkml/2015/3/12/149 <nowiki>[PATCH]</nowiki> ACPI: Adjust the return value of _REV on x86]<br />
* [https://lkml.org/lkml/2015/3/16/472 Re: <nowiki>[PATCH]</nowiki> Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.]<br />
* [https://github.com/mpalourdio/xps13 Collection of links and different configurations]<br />
<br />
Project Sputnik:<br />
* [http://bartongeorge.net/2015/02/05/update-dell-xps-13-laptop-developer-edition-sputnik-gen-4/ Update: Dell XPS 13 laptop, developer edition – Sputnik Gen 4]<br />
* [http://bartongeorge.net/2015/02/23/update-2-dell-xps-13-laptop-developer-edition-sputnik-gen-4/ Update 2: Dell XPS 13 laptop, developer edition – Sputnik Gen 4]<br />
<br />
Audio:<br />
* [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1413446 Ubuntu bug #1413446 "Audio broken on 2015 XPS 13 (9343) in I2S mode in Ubuntu 14.10/15.04"]<br />
* [https://bugzilla.redhat.com/show_bug.cgi?id=1188741 Fedora bug 1188741 - No sound on Dell XPS 13 9343 (2015 model)]<br />
<br />
Packages for XPS 13:<br />
* [https://github.com/soleblaze/linux-xps13-9343/ soleblaze's XPS 13 9343 kernel featuring I2S audio fixes]<br />
* [https://aur.archlinux.org/packages/linux-xps13-alt/ altercation's custom XPS 13 2015 kernel with sound+mic patches, fedora clickpad patch, sata link power patches and psr patch]</div>1stdayonthejob