Dell Latitude 5580

Installation
Needed a system rescue cd to boot an installer in EUFI boot mode.

Firmware
You will need some firmware from the Linux firmware package:


 * iwlwifi-8265-27.ucode
 * i915/kbl_dmc_ver1_01.bin (be sure to follow the Intel manual)

And add them space-separated in the kernel firmware selection:

Touchpad
To set the touchpad (and keyboard knob) in the kernel, do the following.

After that, the Synaptics article can be followed.

NOTE! Altering acpi_osi parameter may result in touchpad being not detected and as such, not working.

Nvidia dGPU and freeze on starting X with dGPU switched off by bbswitch
It may occour that Xorg freezes on start if prior to that dGPU was disabled using the bbswitch kernel module. The system may also randomely freeze after waking out of s2ram. Soluton to that is to enable CONFIG_ACPI_REV_OVERRIDE_POSSIBLE and add acpi_rev_override=5 to boot params. https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-395869314

Webcam
And add a user to the video group to access the.