I’m trying to build a snap for
sc-controller, the application which allows Steam Controllers to function with non-Steam games on Linux. It acts as an emulation layer, translating input from the Steam Controller into keypresses, xbox360 axes etc.
My snap runs in
devmode but I’d like to get it running as
strict. With no
plugs defined I see apparmor
DENIED errors for
/sys/bus/usb/devices (read) and
/proc/uinput (rw) with a gui error about not being able to create the uinput device. If I connect the
raw-usb plug I don’t see either denial in the logs but the app gui yields an error message saying it cannot create the uinput device. If I connect
hardware-observe but disconnect
raw-usb I get an error about not being able to access the USB device in the gui.
So, it looks as if I need
raw-usb, but what do I need to get access to
Repo is at https://github.com/mcphail/sc-controller-snap .