Packages/sc-controller: Difference between revisions

From NixOS Wiki
imported>KREYREN
Initial declaration of the sc-controller
 
imported>KREYREN
Better handling of the LIBUSB_ERROR_ACCESS
Line 1: Line 1:
Open-Source Graphical Configurator for The Steam Controller.
Open-Source Graphical Configurator for The Steam Controller.


=== NixOS Configuration ===
== Known Issues ==


The package requires an additional NixOS configuration to avoid '''LIBUSB_ERROR_ACCESS [-3]''': <ref>https://github.com/NixOS/nixpkgs/issues/142473#issuecomment-948676544</ref>
=== LIBUSB_ERROR_ACCESS [-3] ===


<pre>
This happens when .. FIXME .. and can be solved through declaring '''hardware.steam-hardware.enable''' in your NixOS configuration.nix
users.groups.steam-controller = { };


users.users.USER.extraGroups = [ "steam-controller" ];
== References ==


services.udev.extraRules = ''
1. nixpkgs issue on LIBUSB_ERROR_ACCESS -- https://github.com/NixOS/nixpkgs/issues/142473#issuecomment-948676544
  SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", GROUP="steam-controller", MODE="0660"
  KERNEL=="hidraw*", KERNELS=="*28DE:*", GROUP="steam-controller", MODE="0660"
  KERNEL=="uinput", MODE="0660", GROUP="steam-controller", OPTIONS+="static_node=uinput"
'';
 
boot.kernelModules = [ "uinput" ];
</pre>

Revision as of 02:21, 8 July 2023

Open-Source Graphical Configurator for The Steam Controller.

Known Issues

LIBUSB_ERROR_ACCESS [-3]

This happens when .. FIXME .. and can be solved through declaring hardware.steam-hardware.enable in your NixOS configuration.nix

References

1. nixpkgs issue on LIBUSB_ERROR_ACCESS -- https://github.com/NixOS/nixpkgs/issues/142473#issuecomment-948676544