Setting up 2-in-1 touchscreen laptop

Hello folks,

I have a Asus rog flo x16 2-in-1 laptop. I installed Garuda on it and now trying to get the touchscreen functionality working.

First I installed iio-sensor-proxy and now it changes orientation when I turn laptop.

However, when I turn the laptop 360 and turn it into a tablet, the keyboard is not disabled.

I installed detect-tablet-mode as mentioned in arch wiki (Tablet PC - ArchWiki), but I didn’t find any configuration option.

Can someone help how to configure detect-tablet-mode?

What I want is in tablet mode, the keyboard and trackpad should be disabled.

garuda-inxi

System:
Kernel: 6.5.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=8c21cc27-c660-4c39-9c5e-1dc59b00ad5c rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=6b675d04-b6c5-4b3f-838d-4b4f19888841 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Convertible System: ASUSTeK product: ROG Flow X16 GV601RM_GV601RM
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: GV601RM v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: GV601RM.310 date: 07/06/2022
Battery:
ID-1: BAT0 charge: 51.4 Wh (59.3%) condition: 86.7/90.0 Wh (96.3%)
power: 37.2 W volts: 16.0 min: 16.0 model: ASUSTeK ASUS Battery type: Li-ion
serial: N/A status: charging
Device-1: hid-0018:04F3:2FC2.0003-battery model: ELAN9008:00 04F3:2FC2
serial: N/A charge: N/A status: N/A
CPU:
Info: model: AMD Ryzen 7 6800HS with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA404102
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 672 high: 1580 min/max: 400/4785 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 1397 2: 400 3: 400
4: 1490 5: 400 6: 400 7: 1499 8: 400 9: 1580 10: 400 11: 400 12: 400
13: 400 14: 400 15: 400 16: 400 bogomips: 102204
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 535.104.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-08) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1,
DP-2, DP-3, DP-4, DP-5, HDMI-A-1 bus-ID: 09:00.0 chip-ID: 1002:1681
class-ID: 0300 temp: 44.0 C
Device-3: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 0408:30c3
class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 676x422mm (26.61x16.61")
s-diag: 797mm (31.37")
Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0xc199 built: 2021
res: 2560x1600 hz: 165 dpi: 189 gamma: 1.2 size: 344x215mm (13.54x8.46")
diag: 406mm (16") ratio: 16:10 modes: max: 2560x1600 min: 640x480
API: OpenGL v: 4.6 Mesa 23.1.7-arch1.1 renderer: AMD Radeon Graphics
(rembrandt LLVM 16.0.6 DRM 3.54 6.5.2-zen1-1-zen) direct-render: Yes
Audio:
Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 09:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 09:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 09:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.5.2-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: Foxconn driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 06:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp6s0 state: up mac: <filter>
Bluetooth:
Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 0489:e0e2
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c0000
Drives:
Local Storage: total: 953.87 GiB used: 355.73 GiB (37.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 3400 MTFDKBA1T0TFH
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P7MA001 temp: 31.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 200 GiB size: 200 GiB (100.00%) used: 11.36 GiB (5.7%)
fs: btrfs dev: /dev/nvme0n1p9 maj-min: 259:9
ID-2: /boot/efi raw-size: 512.7 MiB size: 511.7 MiB (99.80%)
used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p7 maj-min: 259:7
ID-3: /home raw-size: 514.03 GiB size: 514.03 GiB (100.00%)
used: 344.37 GiB (67.0%) fs: btrfs dev: /dev/nvme0n1p10 maj-min: 259:10
ID-4: /var/log raw-size: 200 GiB size: 200 GiB (100.00%)
used: 11.36 GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p9 maj-min: 259:9
ID-5: /var/tmp raw-size: 200 GiB size: 200 GiB (100.00%)
used: 11.36 GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p9 maj-min: 259:9
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p8 maj-min: 259:8
ID-2: swap-2 type: zram size: 14.89 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 51.1 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (rpm): cpu: 2400
Info:
Processes: 387 Uptime: 23m wakeups: 4 Memory: total: 16 GiB note: est.
available: 14.89 GiB used: 5.29 GiB (35.5%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1388 libs: 375 tools: octopi,pamac,paru Shell: fish
v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.29
Garuda (2.6.16-1):
System install date:     2023-08-06
Last full system update: 2023-09-10 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:            detect-tablet-mode.service

Hi there, welcome to the forum.

Not a big help here probably :blush:, anyway, have you checked the upstream GitHub site (e.g. json file)?

As the site title says, probably Gnome is better suited for that use. But I don’t think this is the source of your issue.
Strange that the Wiki page only mentions Intel models and stuff. And unfortunately your model is not included in the Asus Arch wiki page. This might have helped.

2 Likes

With the new laptops coming with touchscreen, perhaps a package or a help page to fix all relevant touch features would be helpful.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.