Like the Argon ONE UP laptop.
But never liked touchpads.
Is there a canonical way of disabling the touchpad?
I was just about to ask the same question
#!/bin/bash
echo 1 | tee /sys/class/input/input15/inhibited
works for me.
I get permission denied even with sudo and if i edit the file directly it disables my keyboard but leaves the pad working
Can you ssh into your 1UP, and do the edit there? Then test keyboard/trackpad. And iterate until you get things just so. Maybe with a reboot in between iterations. I don’t know, just an idea.
that is how I restored my keyboard, i may play bit later
“works for me.”
And now it doesn’t….
sudo apt update
sudo apt install libinput-tools
libinput list-devices | grep -i -A 10 -B 5 touchpadxinput list-props “AMIRA-KEYBOAR USB KEYBOARD Touchpad” | grep -B 10 -C 10 Touch
list the devices
pi@raspberrypi:~/.config/systemd/user $ cat /proc/bus/input/devices | grep -i -C 5 -A 10 “AMIRA” | grep -B 10 -C 10 Touch
S: Sysfs=/devices/platform/axi/1000480000.usb/usb1/1-1/1-1.6/1-1.6:1.1/0003:6080:8061.0005/input/input16
U: Uniq=
H: Handlers=mouse3 event14
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0
B: REL=1943
B: MSC=10I: Bus=0003 Vendor=6080 Product=8061 Version=0110
N: Name=“AMIRA-KEYBOAR USB KEYBOARD Touchpad”
P: Phys=usb-1000480000.usb-1.6/input1
S: Sysfs=/devices/platform/axi/1000480000.usb/usb1/1-1/1-1.6/1-1.6:1.1/0003:6080:8061.0005/input/input17
U: Uniq=
H: Handlers=mouse4 event15
B: PROP=5
B: EV=1b
B: KEY=e520 30000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20
From this I extracted the 17 and used that in the
echo 1 | tee /sys/class/input/input17/inhibited
This worked this time.
And after a reboot it’s now 14 . . .
I think this needs a rather more repeatable method….
At least we are moving forward, maybe bash or python script to extract the event on start up
or even as a manual Option.
personally the ideal situation would be to only disable the pad when an external mousse is connected, but that may be beyond my current skill levels.
thanks for all your efforts so far
following the guidance in How to Disable the Touchpad in Ubuntu 24.04 | 22.04 | UbuntuHandbook
I seem to have had success using a udev rule
/etc/udev/ruled.d/99-libinput-ignore-touchpad.rules
ACTION=="add|change", SUBSYSTEMS=="input", ATTRS{id/product}=="8061", ATTRS{id/vendor}=="6080", ENV{LIBINPUT_IGNORE_DEVICE}="1"
I was able to ignore most of the details on the page & found the vendor/ prodict Id's using lsusb
for the record product id 8062 is the keyboard
Sadly, udev, doesn’t work for me…
I have a shell script
disable-touchpad.sh
in my home directory
and run it as
sudo ./disable-touchpad.sh
#!/bin/bash
FOUND=false
for input in /sys/class/input/input*; do
if [ -f “$input/name” ] && grep -q “AMIRA-KEYBOAR USB KEYBOARD Touchpad” “$input/name” 2>/dev/null; then
echo “Found touchpad at $input”
if echo 1 | sudo tee “$input/inhibited” >/dev/null; then
echo “Successfully inhibited $input”
else
echo “Failed to inhibit $input (check sudo or permissions)”
fi
FOUND=true
break
fi
done