This is some note & script help me setting up pop os on ASUS CX5500.
If you have ASUS CX5500 you can download all and run sudo bash install-all.sh
on pop os.
Alought this is for ASUS CX5500 but it should working on most of 2 in 1 laptop. (With some modify
✅:ok ❌:not working
- ✅ Wayland
- ✅ Touch board
- ✅ Keyboard
- ✅ Webcam
- ❌ Deep sleep (not working even on chrmeos)
- ✅ Speaker (with script below)
- ✅ Microphone (with script below)
⚠️ Tablet Mode- ✅ Disable keyboard & touch board when tablet mode (with script below + Wayland)
- ✅ Rotation (with config)
- ❌ Auto correct rotation
- ✅ Stylus
- ✅ Draw
- ✅ Pressure sensitivity
Note This should be fix in new release of hwdb. For ASUS CX5500 you can replace
lib/udev/hwdb.d/60-sensor.hwdb
with new one then run update command.systemd-hwdb update udevadm trigger
First check ACCEL_MOUNT_MATRIX
udevadm info -n /dev/iio:device{device number here}
For me it look like this
udevadm info -n /dev/iio:device2
Output
P: /devices/{A lot stuff}/iio:device2
N: iio:device2
...
E: ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
...
If you don't know the number you can check the log of iio-sensor-proxy
journalctl -b -u iio-sensor-proxy.service
Output
Aug 22 17:04:57 pop-os iio-sensor-prox[693]: Could not find trigger name associated with /sys/devices/{A lot stuff}/iio:device2
Aug 22 17:04:59 pop-os iio-sensor-prox[693]: driver_set_polling: assertion 'sensor_device' failed
Follow the instruction in the beginning of HWDB ,replace device0 with device{the number you find}.
Don't forget to update the and check ACCEL_MOUNT_MATRIX
is correct with first command
systemd-hwdb update
udevadm trigger
First you need disable default super key behavior.
# from https://www.reddit.com/r/pop_os/comments/onp6hv/popos_2104_disable_overlay_key_the_super_key/h5terf4/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
gsettings set org.gnome.mutter overlay-key ''
Revert
# from https://www.reddit.com/r/pop_os/comments/onp6hv/popos_2104_disable_overlay_key_the_super_key/h5terf4/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
gsettings reset org.gnome.mutter overlay-key
Then you need download & extract xremap to this folder.
bash install-keymap.sh