跳转至内容

HP Spectre x360 15-ap012dx

来自 ArchWiki

本文或章节未遵循 笔记本电脑页面指南

原因: 待完善 (请在 Talk:HP Spectre x360 15-ap012dx 讨论)
硬件 PCI/USB ID 是否工作?
GPU
无线
蓝牙
音频
触控板
触摸屏
摄像头
读卡器

本文基于我使用 Arch x86_64 (kernel 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