HP Spectre x360 15-ap012dx

出自 ArchWiki

此文章或章节不符合笔记本电脑页面指南

原因: 小作品 (在Talk:HP Spectre x360 15-ap012dx中讨论)
硬件 PCI/USB ID 工作状态?
GPU
无线
蓝牙
音频
触摸板
触摸屏
网络摄像头
读卡器

本文基于我个人在使用 Arch x86_64 (内核 4.8.6-1-ARCH) 的这台笔记本电脑上的经验。虽然我发现初始安装后没有明显的遗留问题,但在类似型号中发现了一些问题 (参见HP Spectre x360 4231)。

硬件信息

规格

此型号于 2016 年 2 月发布。

安装

安装 Arch 大部分都很顺利;您确实需要禁用安全启动 (F10 进入 BIOS 选项;F9 进入启动选项)。未测试双启动。 笔记本电脑没有 CD 驱动器,因此您必须使用 USB 驱动器。

以下软件包使我的所有硬件都能正常工作

xorg-server
xf86-video-intel
xf86-input-synaptics
libsynaptics
mesa
bluez
bluez-utils
bluez-hid2hci
pulseaudio-bluetooth

调整

HiDPI

屏幕原生分辨率为 3840x2160。通常默认选择 2 的缩放因子,尽管 1.5 也提供了良好的效果。

屏幕旋转

笔记本电脑可以完全翻转 (因此名称中带有 360),有时旋转显示屏很有用。目前尚不清楚是否可以通过检测笔记本电脑的物理方向来自动完成此操作,但应该很容易将快捷方式映射到以下脚本以切换屏幕显示 (来源:Touchscreen Input Doesn't Rotate: Lenovo Yoga 13 / Yoga 2 Pro)

#!/bin/bash
# This script rotates the screen and touchscreen input 180 degrees,
# disables the touchpad, and enables the virtual keyboard And rotates
# screen back if the touchpad was disabled

isEnabled=$(xinput --list-props 'SynPS/2 Synaptics TouchPad' | awk '/Device Enabled/{print $NF}')

if [ $isEnabled == 1 ]
then
    echo "Screen is turned upside down"
    xrandr -o inverted
    xinput set-prop 'ELAN Touchscreen' 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
    xinput disable 'SynPS/2 Synaptics TouchPad'
    # Remove hashtag below if you want pop-up the virtual keyboard
    # onboard &
else
    echo "Screen is turned back to normal"
    xrandr -o normal
    xinput set-prop 'ELAN Touchscreen' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput enable 'SynPS/2 Synaptics TouchPad'
    # killall onboard
fi

TTY 字体

参见HiDPI#Linux 控制台 (tty)

静音按钮 LED

为了使静音按钮上的 LED 指示灯正常工作,您必须将以下行添加到 /etc/modprobe.d/alsa-base.conf (如果 alsa-base.conf 不存在则创建它),然后重新启动。现在,LED 应根据静音状态打开或关闭。

options snd-hda-intel model=mute-led-gpio