HP Spectre x360 - 13-aw0xxx

From ArchWiki
Jump to navigation Jump to search
Device Status Modules
Video Working i915
Wireless Working iwlwifi
Bluetooth Working bluetooth
Audio Working snd_sof
Touchpad Working hid_multitouch
Touchscreen Working hid_multitouch
Pen input Partially Working ?
Webcam working uvcvideo
Card Reader Working rtsx_pci
Function/Multimedia Keys Partially Working ?
Suspend/Resume Working ?
Fingerprint sensor Not working ?

This article covers specific configuration of this laptop. Currently based on experience with BIOS F.13, kernel 5.7 and Gnome on X.org.

Hardware Info

Hardware Options

This is the late 2019 edition of the Spectre x360 from HP (13-aw0xxx).

  • Intel i7-1065G7 Ice Lake
  • 4K OLED Touchscreen with Elantech pen
  • Intel Iris Plus Graphics
  • 2 Speaker Sound
  • 2 USB-C, Thunderbolt 3 Ports
  • 1 USB-A
  • TPM 2
  • Synaptics Fingerprint Sensor

lspci for 13-aw0xxxx

00:00.0 Host bridge: Intel Corporation Device 8a12 (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G7 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Device 8a03 (rev 03)
00:07.0 PCI bridge: Intel Corporation Ice Lake Thunderbolt 3 PCI Express Root Port #0 (rev 03)
00:07.1 PCI bridge: Intel Corporation Ice Lake Thunderbolt 3 PCI Express Root Port #1 (rev 03)
00:0d.0 USB controller: Intel Corporation Ice Lake Thunderbolt 3 USB Controller (rev 03)
00:0d.2 System peripheral: Intel Corporation Ice Lake Thunderbolt 3 NHI #0 (rev 03)
00:12.0 Serial controller: Intel Corporation Device 34fc (rev 30)
00:14.0 USB controller: Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Device 34ef (rev 30)
00:14.3 Network controller: Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Management Engine Interface (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:1c.0 PCI bridge: Intel Corporation Device 34bd (rev 30)
00:1d.0 PCI bridge: Intel Corporation Device 34b4 (rev 30)
00:1f.0 ISA bridge: Intel Corporation Ice Lake-LP LPC Controller (rev 30)
00:1f.3 Multimedia audio controller: Intel Corporation Smart Sound Technology Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Ice Lake-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP SPI Controller (rev 30)
57:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
58:00.0 Non-Volatile memory controller: SK hynix Device 1627

lsusb for 13-aw0xxxx

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 06cb:00c9 Synaptics, Inc. 
Bus 003 Device 002: ID 04f2:b6a4 Chicony Electronics Co., Ltd HP True Vision HD Camera
Bus 003 Device 004: ID 8087:0026 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Installation

Disable Secure Boot in the BIOS (ESC to bring up menu, then F10 for BIOS and/or F9 for Boot options) and follow the installation guide as usual.

Issues / Notes

HiDPI

See HiDPI.

Display

Backlight

OLED panels do not have backlight, they get dimmed via PWM. With kernel 5.7+ you can use the i915.enable_dpcd_backlight=1 option to make backlight controls work natively. This option may not be needed on future kernels.

On older kernels you will have to use icc-brightness (see Backlight#Color correction) and let it manage color profiles.

Color profile

A calibrated ICC color profile is available from NotebookCheck.net in the Display section of the article (direct link).

Audio

This laptop has a Realtek ALC285 codec with a 2 speaker system and digital microphone array built in.

As of kernel 5.7, out of the box neither the speakers nor the microphone work: appending snd-intel-dspcfg.dsp_driver=1 (which replaces the deprecated snd_hda_intel.dmic_detect=0 option) to your kernel parameters forces the use of legacy drivers and gets the speakers working without too much trouble.

In order to get the microphone working it is needed to force the use of the newer and unstable SOF drivers by not specifying any snd-intel-dspcfg.dsp_driver option, blacklisting the snd-hda-intel and snd-soc-skl modules, and appending an explicit alsa mapping to the bottom of /etc/pulse/default.pa:

load-module module-alsa-sink device=hw:0,0 channels=2
load-module module-alsa-source device=hw:0,6 channels=2

Reboot and use alsamixer (alsa-utils) to unmute and increase the levels of both the Playback (Speaker) and Capture (Dmic0, Dmic1) interfaces of the sof-hda-dsp sound card.

Note: When using SOF drivers you may currently be unable to suspend the system and you may experience temporary audio lockups when switching to/from other sound cards.

Mute LEDs

Mute LEDs on the keyboard for the speakers and the microphone are not working. An experimental kernel patch is available to manually control the mic mute LED only.

Camera

The camera is detected as a standard UVC device and the hardware switch to enable/disable it works as expected.

Auto Rotation

Installing iio-sensor-proxy works out of the box on Gnome. See Tablet PC#Automatic rotation for more details.

USB-C HDMI-out

Works out of the box with HP's USB-C to USB and HDMI adapter; generic adapters should also work fine. HiDPI quirks apply.

Fingerprint Reader

Not supported yet.

Tablet mode

The physical keyboard and the touchpad are automatically disabled when the screen is rotated to tent or tablet mode, and the on-screen keyboard gets automatically enabled if the last input came from the touchscreen.

IR Camera Login

Works with Howdy configured to use /dev/video2.

HP Tilt Pen

As of June 2020 the HP Tilt Pen is supported by the development version of libwacom. You can still apply the changes manually.

Pressure sensitivity and tilt to erase are working, but the buttons on the pen are not correctly mapped. When put into presentation mode it is recognized as a Bluetooth mouse but it does not move the cursor or emit events.

Additional resources