https://wiki.archlinux.org/api.php?action=feedcontributions&user=Vak&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:53:44ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Dell_XPS_15_(7590)&diff=598913Dell XPS 15 (7590)2020-02-25T09:01:17Z<p>Vak: /* Thermal Management */ set no_turbo to 1</p>
<hr />
<div>[[Category:Dell]]<br />
{{Note|This page refers to the 7590 revision of the XPS 15. Most of it also applies to the Precision 5540.}}<br />
<br />
<br />
{| class="wikitable" style="float: right;"<br />
| '''Device/Functionality''' || '''Status'''<br />
|-<br />
| [[#Suspend|Suspend]] || {{G|Working}}<br />
|-<br />
| [[#Hibernate|Hibernate]] || {{G|Working}}<br />
|-<br />
| [[#Graphics|Integrated Graphics]] || {{G|Working}}<br />
|-<br />
| [[#Graphics|Discrete Nvidia Graphics]] || {{Y|Modify}}<br />
|-<br />
| [[#Graphics|Backlight]] || {{Y|Modify}}<br />
|-<br />
| [[#Networking|WiFi]] || {{G|Working}}<br />
|-<br />
| [[#Networking|Bluetooth]] || {{G|Working}}<br />
|-<br />
| [[#Networking|rfkill]] || {{G|Working}}<br />
|-<br />
| Audio || {{G|Working}}<br />
|-<br />
| [[#Touchpad and Touchscreen|Touchpad]] || {{G|Working}}<br />
|-<br />
| [[#Touchpad and Touchscreen|Touchscreen]] || {{G|Working}}<br />
|-<br />
| Webcam || {{G|Working}}<br />
|-<br />
| Card Reader || {{G|Working}}<br />
|-<br />
| Function/Multimedia Keys || {{G|Working}}<br />
|-<br />
| [[#Power Management|Power Management]] || {{G|Working}}<br />
|-<br />
| [[#Firmware Update|EFI firmware updates]] || {{G|Working}}<br />
|-<br />
| [[#Fingerprint_reader|Fingerprint reader]] || {{R|Not working}}<br />
|}<br />
{{Related articles start}}<br />
{{Related|Dell XPS 15}}<br />
{{Related|Dell XPS 15 2-in-1 (9575)}}<br />
{{Related|Dell XPS 15 9550}}<br />
{{Related|Dell XPS 15 9560}}<br />
{{Related|Dell XPS 15 9570}}<br />
{{Related articles end}}<br />
<br />
This page contains recommendations for running Arch Linux on the Dell XPS 15 7590 (2019).<br />
<br />
== Pre-Installation UEFI Settings ==<br />
Before installing it is necessary to modify some UEFI Settings. They can be accessed by pressing the F2 key repeatedly when booting.<br />
{{Warning|If you will be dual booting alongside an existing Windows installation, Windows will not boot if you just go ahead and make the switch to AHCI as described in the steps below. You must log into you Windows install both before and after that BIOS change [https://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/ to set and then remove a safeboot flag], respectively.}}<br />
* Under 'System Configuration', change the SATA Mode from the default "RAID" to "AHCI". This will allow Linux to detect the NVME SSD.<br />
* Under 'Secure Boot', disable secure boot to allow Linux to boot.<br />
* Under 'POST Behaviour', change "Fastboot" to "Thorough". This prevents intermittent boot failures.<br />
<br />
If you are using multiboot with an existing Windows installation, make sure that "fast startup" is disabled in Windows 8/10.<br />
<br />
== Power Management ==<br />
<br />
=== Suspend ===<br />
<br />
By default, the very inefficient s2idle suspend variant is incorrectly selected. This is probably due to the BIOS. The much more efficient deep variant should be selected instead:<br />
<br />
$ cat /sys/power/mem_sleep <br />
[s2idle] deep<br />
$ echo deep|sudo tee /sys/power/mem_sleep<br />
$ cat /sys/power/mem_sleep <br />
s2idle [deep]<br />
<br />
To make the change permanent add {{ic|1=mem_sleep_default=deep}} to your [[kernel parameters]].<br />
<br />
An easy way would be to add {{ic|1=mem_sleep_default=deep}} to the {{ic|1=GRUB_CMDLINE_LINUX_DEFAULT}} entry in /etc/default/grub:<br />
<br />
GRUB_CMDLINE_LINUX_DEFAULT="mem_sleep_default=deep"<br />
<br />
Read more regarding the sleep variants on the kernel documentation [https://www.kernel.org/doc/html/v4.18/admin-guide/pm/sleep-states.html].<br />
<br />
{{Warning|Some users have reported a problem where the CPUs get stuck in a high power state after resuming from S3 (deep) suspension [https://www.reddit.com/r/Dell/comments/91313h/xps_15_9570_c_state_bug_after_s3_sleep_and_modern/].}}<br />
<br />
=== Hibernate ===<br />
=== Powertop ===<br />
<br />
== Thermal Management ==<br />
<br />
Default thermal management is not very optimized (this is my experience with the i9 processor at least).<br />
<br />
The laptop gets hot quite often and the fans run at high speed most of the time.<br />
<br />
One solution I found is to use powertop to get a quieter system.<br />
<br />
See [[Powertop]] for details.<br />
<br />
You may activate manual fans control with [https://launchpad.net/i8kutils i8kutils]. Install {{aur|i8kutils}} and {{aur|dell-bios-fan-control-git}}. Edit {{ic|/etc/i8kutils/i8kmon.conf}} and enable services:<br />
<br />
$ sudo systemctl daemon-reload<br />
$ sudo modprobe dell-smm-hwmon<br />
$ sudo modprobe i8k<br />
$ sudo systemctl enable --now i8kmon.service<br />
$ sudo systemctl enable --now dell-bios-fan-control.service<br />
<br />
You may have to modify the modprobe options for {{ic|dell-smm-hwmon}} to have the above work. See more at this reddit [https://www.reddit.com/r/Dell/comments/9pdgid/configuring_the_xps_to_play_nice_with_linux/ thread]<br />
<br />
{{bc|1=<br />
options dell-smm-hwmon ignore_dmi=1<br />
}}<br />
<br />
Another solution to decrease CPU temperature by 8°C (as for i7) on average is to <br />
<br />
$ echo 1 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo<br />
<br />
This is likely to be reset though during adapter plugging and uplugging.<br />
<br />
== Graphics ==<br />
<br />
=== NVIDIA Optimus ===<br />
See [[NVIDIA Optimus]].<br />
<br />
=== Backlight ===<br />
<br />
See [[Backlight#Color correction]].<br />
<br />
=== Backlight function keys ===<br />
<br />
When using a LCD display device and in a desktop environment (KDE verified) the function key will be working out of the box for the DEs have their own key mapping. However, when in a window manager with modesetting driver (and also int the tty console), the backlight controlling function keys won't be working and will throw out errors like {{ic|ACPI BIOS Error, could not resolve symbol}}.<br />
<br />
Usually {{ic|/sys/class/backlight/intel_backlight}} is symlinked to {{ic|/sys/device/pci00/0000:00:02.0/drm/card0/card0-eDP-1/}}, and by changing the value of {{ic|backlight}} file inside the directory the backlight level can be controlled, but the operation needs root previliege. Establishing a udev rule and accordingly a backlight control group will help, but these steps can be done easily with the package {{Pkg|light}}. <br />
<br />
Then a mapping of function key to the command, say, {{ic|light -A 3}} and {{ic|light -U 3}} would be in need. {{ic|XF86BrightnessDown}} and {{ic| XF86BrightnessUp}} won't be working. The mapping of the keys can be done with {{Pkg|acpid}}. Install the package, then insert these lines to the {{ic|case "$1" in}} block<br />
<br />
{{hc|/etc/acpi/handler.sh|<br />
video/brightnessup) light -A 3 ;;<br />
video/brightnessdown) light -U 3 ;;<br />
}}<br />
<br />
start and enable the service:<br />
<br />
{{ic|systemctl enable acpid.service}}, {{ic|systemctl start acpid.service}}.<br />
<br />
=== Backlight in Wayland ===<br />
<br />
The xrandr command does not work with Wayland.<br />
Instead you can use the {{Pkg|icc-brightness}}{{Broken package link|package not found}} tool to control the brightness.<br />
<br />
You can find it here: [https://github.com/udifuchs/icc-brightness https://github.com/udifuchs/icc-brightness]<br />
<br />
=== Backlight in Sway ===<br />
<br />
For {{Pkg|sway}} users you can use {{Aur|redshift-wlr-gamma-control}} to set the brightness. The following command sets the brightness to 75%.<br />
<br />
redshift -o -b 0.75 -O 6500k -m wayland -l manual<br />
<br />
This may also work for other window managers based on {{Pkg|wlroots}}.<br />
<br />
== Networking ==<br />
=== WiFi ===<br />
<br />
With kernel version 5.2.2 and linux-firmware 20190717.bf13a71-1, WiFi would be working out of the box.<br />
<br />
== Firmware Update ==<br />
=== UEFI ===<br />
Firmware images can be found at [https://www.dell.com/support/home/us/en/04/product-support/product/xps-15-7590-laptop/drivers Dell support page]. Keeping an existing Windows system will make updates of BIOS much simpler. If a clean Arch Linux install is the case in order to install:<br />
<br />
* Download the desired firmware from section "Dell XPS 15 7590 System BIOS"<br />
* Save it in {{ic|/efi/EFI/Dell/Bios/}} or {{ic|/boot/EFI/Dell/Bios/}} (this path may vary, depending on your installation)<br />
* Reboot the system, and enter the boot menu by pressing repeatedly {{ic|F12}} on Dell logo<br />
* Choose "Bios Flash Update"<br />
* Select the file previously saved, and start the process<br />
The process will take about five minutes, during which the system will have some reboots and push fans at maximum speed. Finally the system will reboot normally.<br />
<br />
== Fingerprint reader ==<br />
<br />
It is a Goodix fingerprint reader.<br />
<br />
The producer does not provide any Linux driver nor documentation to implement one.<br />
<br />
Some effort is in slow progress to reverse engineer the windows drivers (see [https://gitlab.freedesktop.org/libfprint/libfprint/issues/189]).</div>Vakhttps://wiki.archlinux.org/index.php?title=Talk:Lenovo_IdeaPad_Yoga_900&diff=456536Talk:Lenovo IdeaPad Yoga 9002016-11-11T10:31:58Z<p>Vak: formatting</p>
<hr />
<div>== Toggle Trackpad: scan code changed ==<br />
<br />
Today I noticed that the toggle trackpad key didn't work anymore. Having a look at ''dmesg'' I noticed the following output:<br />
<pre><br />
[ 512.773832] atkbd serio0: Unknown key pressed (translated set 2, code 0xbe on isa0060/serio0).<br />
[ 512.773848] atkbd serio0: Use 'setkeycodes e03e <keycode>' to make it known.<br />
</pre><br />
<br />
Therefore the scan code ''bf'' wasn't correct anymore, but ''be'' was. I adjusted the snippet for ''udev'' like this:<br />
<pre><br />
# Lenovo YOGA 900-13ISK<br />
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrLenovoYOGA900*<br />
KEYBOARD_KEY_be=f21 # Fn+F6 Disable Touchpad<br />
</pre><br />
The toggle trackpad key worked again.<br />
<br />
How is it possible that scan codes are changing?<br />
<br />
--[[User:Shieldwed|Shieldwed]] ([[User talk:Shieldwed|talk]]) 14:48, 18 September 2016 (UTC)<br />
<br />
i am having the same plague on my Lenovo Yoga 13. This message floods the syslog, whereas i do *not* press neither F5 nor F6 when flooding happens<br />
<br />
--[[User:Vak|Vak]] ([[User talk:Vak|talk]]) 10:30, 11 November 2016 (UTC)</div>Vakhttps://wiki.archlinux.org/index.php?title=Talk:Lenovo_IdeaPad_Yoga_900&diff=456535Talk:Lenovo IdeaPad Yoga 9002016-11-11T10:31:07Z<p>Vak: more details on this issue</p>
<hr />
<div>== Toggle Trackpad: scan code changed ==<br />
<br />
Today I noticed that the toggle trackpad key didn't work anymore. Having a look at ''dmesg'' I noticed the following output:<br />
<pre><br />
[ 512.773832] atkbd serio0: Unknown key pressed (translated set 2, code 0xbe on isa0060/serio0).<br />
[ 512.773848] atkbd serio0: Use 'setkeycodes e03e <keycode>' to make it known.<br />
</pre><br />
<br />
Therefore the scan code ''bf'' wasn't correct anymore, but ''be'' was. I adjusted the snippet for ''udev'' like this:<br />
<pre><br />
# Lenovo YOGA 900-13ISK<br />
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrLenovoYOGA900*<br />
KEYBOARD_KEY_be=f21 # Fn+F6 Disable Touchpad<br />
</pre><br />
The toggle trackpad key worked again.<br />
<br />
How is it possible that scan codes are changing?<br />
<br />
--[[User:Shieldwed|Shieldwed]] ([[User talk:Shieldwed|talk]]) 14:48, 18 September 2016 (UTC)<br />
<br />
i am having the same plague on my Lenovo Yoga 13. This message floods the syslog, whereas i do *not* press neither F5 nor F6 when flooding happens<br />
[[User:Vak|Vak]] ([[User talk:Vak|talk]]) 10:30, 11 November 2016 (UTC)</div>Vakhttps://wiki.archlinux.org/index.php?title=Talk:PostGIS&diff=400202Talk:PostGIS2015-09-17T08:46:49Z<p>Vak: </p>
<hr />
<div>'''CREATE EXTENSION postgis; works now'''<br />
http://trac.osgeo.org/postgis/ticket/2213 closed<br />
<br />
it would be nice to see in docs a recommended way to install geoalchemy2 (for Arch Linux newbies like me)</div>Vakhttps://wiki.archlinux.org/index.php?title=Talk:PostGIS&diff=400201Talk:PostGIS2015-09-17T08:46:15Z<p>Vak: </p>
<hr />
<div>'''CREATE EXTENSION postgis; works now'''<br />
http://trac.osgeo.org/postgis/ticket/2213 closed<br />
<br />
it would be nice to see in docs a recommended way to install geoalchemy (for Arch Linux newbies like me)</div>Vak