HP Spectre x360 (2015)

= Installation =

The 2016-07-04 LiveDVD boots successfully and supports most of the hardware.

= Linux Configuration =

While the Linux 4.5.2 kernel from the LiveDVD can get things started, here are some more customized configs:


 * 4.9.10-gentoo

Storage
Samsung Electronics Co Ltd Device a802 (rev 01) (prog-if 02 [NVM Express])

For details see NVMe

Video
Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])

For details see Intel article.

Wireless
Intel Corporation Wireless 7265 (rev 61)

For details see the iwlwifi article.

Audio
Intel Corporation Device 9d70 (rev 21)

Bluetooth
For details see Bluetooth

Card Reader
Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)

Accelerometer
= Unknown keys =

Brightness keys
Depending on the bios revision, the screen brightness keys may or may not be assigned to the XF86MonBrightnessUp or XF86MonBrightnessDown key symbols. Correct ACPI events can still be thrown even if the key symbols are not assigned.

The or  packages provides tools for helping adjust the screen brightness.

The following messages are captured by xev indicating that the brightness keys are throwing key codes, if not key symbols.

This the is F2 key to decrease screen brightness:

kernel: atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0). kernel: atkbd serio0: Use 'setkeycodes e02b ' to make it known.

This is from the F3 key to increase screen brightness:

atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0). atkbd serio0: Use 'setkeycodes e02b ' to make it known.

Custom ACPI rules can be written to capture BRTDN and BRTUP actions. An example is given on Unix & Linux Stack Exchange.

Tablet vs Laptop mode
When opening the lid for tablet mode:

intel-vbtn INT33D6:00: unknown event index 0xcc atkbd serio0: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0). atkbd serio0: Use 'setkeycodes e058 ' to make it known.

When returning to laptop mode from tablet mode:

intel-vbtn INT33D6:00: unknown event index 0xcd atkbd serio0: Unknown key pressed (translated set 2, code 0xd7 on isa0060/serio0). atkbd serio0: Use 'setkeycodes e057 ' to make it known.