Xps 13 9310 linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Setup of Focal Fossa on Dell XPS 13 9310 2-in-1 (late 2020 edition)

License

thllwg/xps-9310-2in1-setup-ubuntu

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Ubuntu 20.04 / 20.10 Tweaks on XPS 13 9310 2-in-1 (late 2020 edition)

This repository documents tweaks I found useful to get Dell XPS 13 9310 2-in-1 hardware running under Ubuntu. You may install these software tweaks by using the provided install script at your own risk. This repository does not contain dotfiles or installs your favourite applications.

wget https://raw.githubusercontent.com/thllwg/xps-9310-2in1-setup-ubuntu/master/setup.sh && sudo chmod +x setup.sh && ./setup.sh

XPS 9310 2-in-1 comes pre-installed with Windows 10. There is no Developer Edition with a pre-installed Ubuntu available. Install Ubuntu 20.04 or 20.10 alongside Windows or remove Windows entirely.

A fresh Ubuntu installation on the XPS 13 9310 2-in-1 does neither support the fingerprint reader nor the IR camera (or, more specific, the IR emitters are not activated).

Unfortunately, there is no solution for the fingerprint reader problem under Linux. Dell provides drivers for the fingerprint reader (Goodix 27c6:533c) of the 9310 under Linux, however, the 9310 2-in-1 is shipped with a different type of fingerprint reader (Goodix 27c6:532d).

For the IR emitter problem, the script in this repository installs a solution adapted from @EmixamPP (https://github.com/EmixamPP/linux-enable-ir-emitter). This allows to subsequently install windows hello style authentication software, e.g. Howdy

Furthermore, drivers from the Dell focal repository are installed to optimize battery life under linux.

About

Setup of Focal Fossa on Dell XPS 13 9310 2-in-1 (late 2020 edition)

Читайте также:  Командная оболочка linux pdf

Источник

Dell XPS 13 (9310)

In some units, the NVMe drive is configured to operate in RAID mode by default. This may cause the bootloader to not find your boot disk. In order to fix this, press F2 to enter the Dell UEFI. Go to Storage > NVMe Operation and make sure that Select AHCI/NVMe mode is selected. All other operating systems installed before changing this setting must be reinstalled after changing this setting.

To successfully boot the installation medium you will need to disable Secure Boot.

Audio

This laptop requires firmware in order for the soundcard to work. See Advanced Linux Sound Architecture#ALSA firmware.

Wifi

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

AX500

This article or section is a candidate for merging with Network configuration/Wireless#Atheros.

Notes: Also referenced for an other model (Lenovo ThinkPad T14 (AMD) Gen 3#Hibernate): this would probably be helpful in the main page instead of having it hidden in a laptop-specific page. (Discuss in Talk:Dell XPS 13 (9310))

Since Kernel version 5.10.9, users have reported some success with the Arch stock Kernel (a recent Dell firmware is also required: at least version 1.2.5), however there are are persistent problems, including firmware crashes and problems when resuming from hibernate/suspend. If your wifi is not working, first try to add the following parameter to your kernel command line:

Note that if you add this in /etc/defaults/grub , you need to enter it as:

Details about this fix can be found in the Linux kernel mailing list: https://lore.kernel.org/lkml/3e30ac52-6ad4-fa7b-8817-bca35a80d268@gmail.com/. After adding this parameter there still may be problems with wifi functionality on resuming from suspend. Enabling `VT for Direct I/O` in the BIOS may help with recovering wifi functionality after a suspend. Please note that the ath11k driver is still experimental. While it is reported to working fine with a 2.4 GHz WPA Personal WiFi network, there might be problems after disconnecting the WiFi or with different setups (WPA3, 5 GHz WiFi). Your mileage may vary. However, recovery from suspend and hibernate appears to be broken, though it can usually be manually fixed by reloading the ath11k_pci module. For example:

wait a couple minutes (yes really) for the operation to complete

This can be automated via sleep hooks — if the module is unloaded before hibernating or suspending it unloads immediately with no delay, and the resume kernel bug does not happen:

/etc/systemd/system/ath11k-suspend.service
[Unit] Description=Suspend: rmmod ath11k_pci Before=sleep.target [Service] Type=simple ExecStart=/usr/bin/rmmod ath11k_pci [Install] WantedBy=sleep.target
/etc/systemd/system/ath11k-resume.service
[Unit] Description=Resume: modprobe ath11k_pci After=suspend.target [Service] Type=simple ExecStart=/usr/bin/modprobe ath11k_pci [Install] WantedBy=suspend.target

You need to enable ath11k-suspend.service and ath11k-resume.service .

There is also work in progress in the form of qca6390 (the SoC of Killer AX500) driver development in the kernel.org kvalo/ath repository. Patches based on the ath11k-qca6390-bringup branch have been working (with an «experimental» caveat) for a while.

Bluetooth

AX500

As of 5.16.16, bluetooth is partially working, but must be activated manually after boot is complete. You must blacklist hci_uart by adding blacklist hci_uart to /etc/modprobe.d/blacklist.conf , then modprobe hci_uart after boot and start the bluetooth service with systemd. Functionality still appears broken after resuming from suspend. Note that when hci_uart is loaded during boot, or after suspending, the laptop may hard lock with errors similar to watchdog: BUG: soft lockup — CPU#2 stuck for 23s! [swapper/2:0] . See the talk page for additional details.

Читайте также:  Get flash in linux

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-git AUR . This is a newer version intended for use only with touch-based sensors such as the one on the XPS.

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

Warning: Since fprintd was updated to version 1.92.0-1, libfprint-tod-git and libfprint-2-tod1-xps9300-bin no longer work as expected. This can prevent GDM from listing users during login. Downgrading fprintd to version 1.90.6-1 partially solves this problem.

The rest of the process is identical to that described on fprint—just make sure not to install the version of libfprint in the official repositories as it conflicts with libfprint-tod-git.

Infrared camera

When the IR camera ( /dev/video2 ) is on, it will not automatically turn on the IR emitter. You can follow the instructions from linux-enable-ir-emitter to enable the IR emitter. This is the IrConfig.yaml file as detected by the quick command so you do not need to go through all the manual configuration steps:

/usr/lib/linux-enable-ir-emitter/IrConfig.yaml
!!python/object:IrConfiguration.IrConfiguration _data: - '0x1' - '0x3' - '0x2' - '0x0' - '0x0' - '0x0' - '0x0' - '0x0' - '0x0' _selector: '0x6' _unit: '0x4' _videoPath: /dev/video2

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

Warning: As mentioned in the Howdy documentation, «DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM.»[1]

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 configuration file carefully.

Ambient light sensor

Install iio-sensor-proxy to enable automatic brightness in Gnome.

Virtualization

Known Issues

Random Hangs on i915 with kernel

Occasionally the laptop hangs when running the i915 Linux driver. This results in an occasional visual delay to keyboard inputs and makes the system appear to be crashing.

Set panel self refresh to off in the kernel parameters: i915.enable_psr=0 i915.enable_fbc=1 .

Sleep/Modern Standby Battery Drain

Since 11th gen Intel CPUs do not support deep sleep (S3) anymore and modern standby drains battery life very quickly, the solution is to switch the Storage in the BIOS from RAID to AHCI and battery life will dramatically improve in (modern standby) sleep mode. This requires bcedit’ing windows in case of dualboot or windows will not boot anymore — does not affect the Linux partition though.

See also

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Читайте также:  Nvidia driver linux kernel source

A place for people to post issues about Linux (any distro) on Dell XPS 13 9310

lattice0/xps_13_9310_linux

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This repo is a place for people to post issues about Linux (any distro) on Dell XPS 13 9310. I mainly work with Ubuntu so I’ll share my experience below.

Currently, my issues are: couldn’t install ubuntu 20.10 because of some disk error in the installation process (it installed once but never again), so I installed 20.04. The kernel that comes with it won’t make touchscreen and sleep work, so I upgraded to 5.8, but 5.10 also worked fine.

For making bluetoth work on Ubuntu 20.04, I did https://askubuntu.com/questions/1299154/dell-xps-13-9310-bluetooth-wont-find-anything?noredirect=1#comment2210408_1299154, that is, you only have to download 2 firmware files and reboot. I thought it only worked with 5.8 but it works on 5.10. Ubuntu 20.10 should have those files already and thus work without any efforts but I have not tested it.

Wifi is still in development, you can follow here: https://github.com/kvalo/ath11k-firmware/issues/4. I think it can be made to work already but I did not try. I’m currently using my phone as a USB tether to share the wifi connection. XPS 13 9310 uses a different Wifi card than XPS 13 9300, which does not yet have a linux wifi driver (as of 19/12/2020).

Summary: On kernel 5.8 or 5.10 on Ubuntu 20.04, everything works except for wifi. Even touchscreen and sleep works. I do not have hopes for the fingerprint unlocking to work, I don’t even know if Ubuntu has support for it, but it apears as a USB device on lsusb .

Feel free to open an issue.

Wifi is working as of today 14/02/21. Update your BIOS to the latest one from the dell website. Download the .exe, copy it to /boot/efi, reboot, press F12 and enter the BIOS flash update. Find the file inside the NVME SSD in the /boot/efi folder and apply the update. Now install all ubuntu updates, and install linux-firmware if not installed. Reboot and make sure you have an oem kernel. Doing all of the above + using kernel 5.6.0-1047-oem is working perfectly for me. Wifi simply works. If you do not update your BIOS and do these things, kernel will freeze after some minutes of wifi usage.

About

A place for people to post issues about Linux (any distro) on Dell XPS 13 9310

Источник

Оцените статью
Adblock
detector