Talk:Steam Controller

From Gentoo Wiki
Jump to: navigation, search
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Udev rules and permissions

Talk status
This discussion is still ongoing.

I'm thinking of changing how we handle the udev rules for controllers. Asking users to manually add these if they don't use Steam isn't great and the rules you get with Steam include other controllers too like the DualShock 4. You can use these with other controller remappers such as sc-controller, which I want to move from steam-overlay into the main Gentoo repo.

In addition, I didn't realise until a couple of days ago that my permissions had been screwed up by not building elogind (or consolekit) with USE=acl. Sure, it's documented here but I generally don't read the wiki! It would have been nice if this had been handled by Portage.

I'd therefore like to create a game-controller-udev-rules package that just installs the rules that are packaged with Steam. We could adjust the rules based on whether ACLs are being used or not and enforce the elogind/systemd acl flag if they are. This package could be (optionally?) depended on by steam-launcher and sc-controller. I say optionally because they only cover a specific set of HID-based devices. Older evdev-based devices like the Xbox 360 controller are covered by a standard rule installed with udev.

What do you think? I don't really write wiki content so I hope someone here could update it accordingly.

-- Chewi

I think that's a great idea. Having an official package that manages the udev rules would certainly simplify things. Although I no longer have a Steam Controller, I can update the page once the package is available.--BT (talk) 14:05, 18 October 2020 (UTC)