I am currently unable to use my Apple trackpad as a USB input device. It is detected by sys-usb as a trackpad. However, I don’t see a /etc/qubes-rpc/policy/qubes.InputTrackpad or /etc/qubes-rpc/policy/qubes.InputTouchpad file.
/etc/qubes-rpc/policy/qubes.InputMouse already has sys-usb dom0 allow. I tested this with a USB mouse, and it works for mouse, but not for USB trackpad.
Please let me know if you have any ideas for troubleshooting this.
Update:
Adding sys-usb dom0 allow to qubes.InputTablet allows the trackpad to be detected, however, it does not work properly. Right click does not work, tracking requires a ridiculous amount of pressure in order to register pointer movement, and libinput throws errors (full output).
There is a potential that you might need to set up a similar rule for qubes.InputTablet, but I’m pretty sure that the kernel treats the Apple Magic Trackpad as a pointer device (like a USB mouse), not a tablet device (like a Wacom tablet used for drawing).
Is it possible for you to post the output of lsusb from your USB qube (or dom0 if your USB controllers are in dom0)? That would help solve this faster.
If any of what I said is unclear, feel free to ask me to explain, and I’ll happily do up a step-by-step for you
you might need to set up a similar rule for qubes.InputTablet
I tried adding sys-usb dom0 allow to qubes.InputTablet, and currently the trackpad is being passed through to dom0. It is listed in xinput as a Virtual core pointer.
Now the issue is that the trackpad it is behaving like a pressure sensitive tablet. The pointer can be moved but only if I put significant pressure on it. By comparison, when I have it connected to my windows or fedora pc, I barely have to apply any pressure in order to move the pointer which is the expected behavior.
@alzer89, do you or anyone else have additional ideas for troubleshooting this? Also, am I asking in the wrong place? Perhaps there’s a better forum to discuss this issue. Please let me know if I should move this elsewhere.
The driver for this trackpad is already mainlined. I think there is a problem with the way qubes is handling this device. It should be detected as a touchpad and not a tablet.
xinput list-props also shows that it doesn’t have the option to right click.
I was able to get the trackpad fully functioning by using the 2 articles below. After adding sys-usb dom0 allow to qubes.InputTablet, the solution required installing libinput-utils in dom0, then creating 2 files in dom0: