Dell Latitude 5495

The Dell Latitude 5495 is a 14" laptop with Ryzen Pro 2500U or 2700U processor.

Installation
EFI stub will boot fine, so you do not need any separate boot loader like Grub2 or Syslinux.

After making hardware changes to the internal storage, such as replacing a SATA with M.2 NVMe drive or vice versa, the BIOS/UEFI will get confused on the first boot and mess up the boot order. Subsequent boots will be stable.

This is a common problem with Dell Laptops, cf. , step 11.

Compiler flags
See Safe CFLAGS

Required packages

 * for the Wi-fi and graphics firmware
 * , for the smartcard reader

Suspend

 * After suspend to disk (hibernate), the computer will reboot instead of powering off. (Tested with BIOS version 1.2.3)

Solution: Set hibernation mode to "shutdown" instead of "platform".

For automating this during boot, see /etc/local.d.


 * After suspend to RAM, computer will hang on resume. Next boot, the BIOS will complain about TPM not responding.

Solution: Enable tcg_tis driver, or disable TPM function in the BIOS.

Touchpad
The Alps touchpad is recognized as PS/2 mouse and will provide only some functions. This is because the AMD MP2 I2C controller which it is connected to has no driver in the mainline kernel as of 4.19.

For installing the i2c_amd_mp2 out-of-tree driver, see the link in the table of hardware.

Otherwise, as a workaround, you can use button scrolling, pressing both buttons on the touchpad will cause finger movement to scroll: