Snap access to /dev/uinput

Bug #1624490 reported by Marcin
This bug report is a duplicate of:  Bug #1622639: Snap access to /dev/uinput. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
New
Undecided
Unassigned

Bug Description

I'm trying to create snap package for application that is "driver" for my joystick (remaps buttons, creates virtual joystick):
https://github.com/uglyDwarf/evdevshift

As I didn't find useful documentation (nor examples) for snap hardware access, so I'd like to ask here:
Can snap package have access to /dev/uinput?

I've already seen, but doesn't seem useful:
http://snapcraft.io/docs/reference/interfaces
http://snapcraft.io/#snapcraft_home_how-snaps-work_integration

I've seen something that might be usefull - Cgroups, but the info is too general:
https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/

Can you answer question is such application can be build in snap (and be useful)?
Can snap have access to /dev/uinput?
If yes where to find information about it?

Revision history for this message
Paweł Stołowski (stolowski) wrote :

This requires a new interface to be implemented in snapd, in general every type/class of hardware needs an interface, such as the one you found for camera.

FYI, we have a mailing list and irc channel for questions & discussions, see http://snapcraft.io for details.

Revision history for this message
Marcin (mwoz123) wrote :

Could it be implemented?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.