HP Spectre x360 13-ae005na

From ArchWiki

This article or section does not follow the Laptop page guidelines.

Reason: Hardware table needs IDs added and a function keys table should be added (Discuss in Talk:HP Spectre x360 13-ae005na)
Hardware PCI/USB ID Working?
Video Yes
Wireless Yes
Bluetooth Yes
Audio Partial
Touchpad Yes
Touchscreen Yes
Pen input Yes
Webcam Yes
Card reader Yes
Fingerprint sensor Untested

This article covers specific configuration of this laptop. Currently based on experience with Gnome, running on Wayland.

Installation

Disable Secure Boot in the UEFI (Esc to bring up menu, then F10 for configuration, F9 for Boot options). Proceed with the installation guide.

Issues and Further Configuration

Audio

The laptop has a Realtek ALC295 Codec with a 4 speaker system built in. Currently only the 2 speakers on the underside of the machine will work out of the box. The additional speakers can be enabled using hdajackretask from the alsa-tools package. To accomplish this, with the Realtek ALC295 codec selected, override pin 0x14 to "Internal Speaker (LFE)" and pin 0x1e to "Internal Speaker". The option to show unconnected pins may need to be selected. More information at https://bugzilla.kernel.org/show_bug.cgi?id=189331

Mute Button

Most of the media keys work without configuration in Gnome, but in order to get the Mute button to function properly, you must add the following line to /etc/modprobe.d/alsa-base.conf (create alsa-base.conf if it does not exist) and then reboot. The button should now work and allow feedback of the mute state to Gnome, however the LED within the mute button does not illuminate.

options snd-hda-intel model=hp-led-gpio
Note: This is no longer needed with newer kernels, since at least 4.17.x but probably earlier. Also since 4.18.9 the mute led also functions

HiDPI

Follow HiDPI for recommendations here. Gnome works out of the box, but other software may need more configuration.

Auto Rotation

See Tablet PC#Automatic rotation for common methods of achieving this. Installing iio-sensor-proxy worked with no further configuration needed on Gnome.