Dell XPS 13 (9310)

From ArchWiki
Jump to navigation Jump to search
Device Status Modules
Video Working i915
Wireless (AX500) Unstable ath11k
Wireless (AX201) Working iwlwifi
Bluetooth Working btusb
Audio Working snd_hda_intel
Touchpad Working hid_multitouch
Webcam Working uvcvideo
Infrared Webcam Working uvcvideo
Infrared Camera Authentication Working ?
USB-C / Thunderbolt 4 Working intel_wmi_thunderbolt
Wireless switch ? intel_hid
Function/Multimedia Keys Working ?
Fingerprint sensor Working ?
Ambient light sensor Working iio

Dell XPS late 2020 edition.

Audio

Works correctly, requires sof-firmware.

Wifi

There are two possible devices the laptop may ship with, AX201 or AX500. AX201 support is already in the mainline kernel

AX500

ath11k driver for qca6390(the SoC of Killer AX500) is still under development and is not on stable kernel yet. You can compile the kernel with the ath11k-qca6390-bringup branch. The latest change of this branch is based on Linux v5.10 release, it has a work around that disables MHI M2 state and makes QCA6390 usable on 9310.

Warning: the driver is still experimental and might cause instability to your system.

Before compiling, make sure to enable ath11k driver from kernel config:

make menuconfig
--> Select Device drivers
	--> Network device support
		--> Wireless LAN
			--> Enable as below
				<M> Qualcomm Technologies 11ax chipset support
				<M>       Atheros ath11k PCI support
				[*]       QCA ath11k debugging
				[*]       QCA ath11k debugfs support
				[*]       ath11k tracing support
				[*]     QCA ath11k spectral scan support


qca6390 also require ath11k firmware, which is available on linux-firmware.

Fingerprint sensor

The fingerprint sensor can be used by installing the proprietary Ubuntu driver released by Dell and Goodix. This requires a different fork of libfprint libfprint-tod-gitAUR - available on the AUR and built from source from the upstream repo. This is a newer version intended for use only with touch-based sensors such as the one on the XPS.

Warning: This driver is proprietary, closed source and only distributed in binary form

The proprietary driver can be obtained from the AUR: libfprint-2-tod1-xps9300-binAUR. Alternatively, it can also be manually installed from the Dell repository by extracting the Debian file and copying its contents.

The rest of the process is identical to that described on Fprint - just make sure not to install the version of libfprint on the main repo as it conflicts with libfprint-tod

Infrared camera

When the IR camera(/dev/video2) is on, it won't automatically turn on the IR emitter. You can follow the instructions from linux-enable-ir-emitter to enable the IR emitter.

Note: You can skip from step 2 to 9 as I have gathered the setup data from those steps, so you don't have to:
   Bus 003 Device 003: ID 0c45:672a Microdia Integrated_Webcam_HD
   Setup Data
   bmRequestType: 0x21
   bRequest: 1
   wValue: 0x0600
   wIndex: 1026 (0x0402)
   wLength: 9
   Data Fragment: 010302000000000000

You can continue to step 10 with the above data.

The infrared camera can be used as an authentication method with howdyAUR.

Warning: As said in howdy documentation, "DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM."

The configuration file is located at /lib/security/howdy/config.ini. The device should be configured like this : device_path = /dev/video2 .


Note: After installing howdy, you should tweak the configuration file to find the settings that work best for you. I personally found much better results by increasing dark_threshold all the way to 80 or 90. Please read the config file carefully.

Ambient light sensor

You can install iio-sensor-proxy to enable automatic brightness in Gnome.