Jump to content

HP Chromebook X2 (google-coachz)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Google Trogdor Chromebook (google-trogdor) for installation instructions and more information.
HP Chromebook X2
File:TODO
Manufacturer HP
Name Chromebook X2
Codename google-coachz
Released 2021
Type tablet
Hardware
Chipset Qualcomm Snapdragon 7c (SC7180)
CPU 2x Kryo 468 Gold
6x Kryo 468 Silver
GPU Adreno 618
Display 2160x1440 IPS
Storage 64 GB
Memory 8 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
ChromeOS
Extended version
The most recent supported version from the manufacturer.
ChromeOS
postmarketOS
Category community
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Generic port Google Trogdor Chromebook (google-trogdor)
Device package device-google-trogdor
Kernel package linux-postmarketos-qcom-sc7180
Features
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Keyboard
Build in physical keyboard
Works
Touchpad
Build in Touchpad
Works
Stylus
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Works
Modem
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching
Works
HDMI/DP
Video and audio output with HDMI or Display Port works.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works
Hall Effect
Also known as flip cover sensor
Untested

Users owning this device


Stylus

Unless you're using KDE Plasma, chances are the cursor position is only correctly displayed in portrait orientation. To make the stylus work correctly in any orientation, do the following (source):

Create the following file:

# mkdir /etc/libwacom
# nano /etc/libwacom/google-coachz.tablet

Insert the following text:

[Device]
Name=gt7375p 27C6:0E94 Stylus
ModelName=
DeviceMatch=i2c|27c6|0e94
Class=ISDV4
Width=9
Height=5
IntegratedIn=Display;System
Styli=@generic-no-eraser

[Features]
Stylus=true
Touch=false

And also supplement or create a file:

# nano /etc/libinput/local-overrides.quirks
[Google Chromebook Coachz Stylus Digitizer]
MatchUdevType=tablet
MatchDeviceTree=*coachz*
MatchBus=i2c
ModelChromebook=1
AttrPressureRange=1100:1000

Small note: The stylus can feel a bit unresponsive, and the palm rejection is pretty bad. For that, feel free to tweak or remove values to your liking, as follows:

[Google Chromebook Coachz Touch Digitizer]
MatchName=gt7375p 27C6:0E94 Stylus
AttrPalmSizeThreshold=14

[Google Chromebook Coachz Stylus Digitizer]
MatchUdevType=tablet
MatchDeviceTree=*Coachz*
MatchBus=i2c
ModelChromebook=1
AttrTabletSmoothing=0

After all this is done, execute this and reboot:

# libwacom-update-db

After a reboot, the digitizer should take into account the screen rotation, and will now be able to tweak some values directly in GNOME settings (possibly on other desktops too). Other USI styli may not work (remembering that USI 1.0 pens are completely unsupported for this model due to the in-cell display technology).