ArchWiki / HP Pavilion 13-a252ur
ArchWiki / HP Pavilion 13-a252ur
Hardware Information:
Intel Core i5-5200U (Broadwell)
8GB RAM (Up to 16GB)
Intel HD Graphics 5500
128GB SSD
1366x768 HD Display
Touch screen
Tablet mode
Dual Speakers
2 USB 3.0, single USB 2, HDMI port
Broadcom BCM43142 ( Wi-Fi + Bluetooth )
Installation
You have to disable Secure Boot. repeatedly press F10 during boot to bring up the BIOS setup, navigate to the boot section and disable Secure Boot.
To prevent the system from booting in Legacy mode, it is also recommended to disable CSM/Legacy mode.
Wi-Fi
For Wi-Fi driver install broadcom-wl-dkms package, or broadcom-wl if you use stock non lts kernel.
Bluetooth
For Bluetooth driver install broadcom-bt-firmware package.
Tablet mode
Keyboard disables and enables out of the box. However, for touchpad it is necessary to create udev rule:
evdev:atkbd:dmi:*
KEYBOARD_KEY_d7=!f22
KEYBOARD_KEY_d8=!f23/etc/udev/hwdb.d/90-custom-keys.hwdbKDE Plasma
In KDE Plasma 5 it works out of the box.
Sway
Create ~/.config/sway/config.d/tablet_mode.conf file
# Tablet mode
bindcode 200 input type:touchpad events enabled
bindcode 201 input type:touchpad events disabled~/.config/sway/config.d/tablet_mode.confIn addition, squeekboard (with sway-git and wlroots-git) supports auto show/hide feature, and to enable it when using tablet mode, change the config to
# Tablet mode
bindcode 200 input type:touchpad events enabled, exec 'killall squeekboard'
bindcode 201 input type:touchpad events disabled, exec 'squeekboard &'~/.config/sway/config.d/tablet_mode.confKernel parameters
For tablet mode to work correctly, add acpi_osi=! as a kernel parameter.