How to connect Nintendo Pro Controller 2 to Linux

  • less than 1 minute read
  • 3 code samples in Shell

Also available in Română

Hello,

This is a small blog post about connecting the Nintendo Switch 2 Pro Controller to a Linux machine.

I use the controller on my personal PC in order to play games on Steam. Steam supports the controller and in order for it to be seen you just need to add some new udev rules and reload them.

Note

These steps are for a wired USB connection. I couldn’t get Bluetooth working in this setup.

To do so, create the following file with nano:

sudo nano /etc/udev/rules.d/50-nintendo-switch.rules

And then paste the udev rule contents into it:

SUBSYSTEM=="usb", ATTR{idVendor}=="057e", ATTR{idProduct}=="2066", MODE="0666"SUBSYSTEM=="usb", ATTR{idVendor}=="057e", ATTR{idProduct}=="2067", MODE="0666"SUBSYSTEM=="usb", ATTR{idVendor}=="057e", ATTR{idProduct}=="2069", MODE="0666"SUBSYSTEM=="usb", ATTR{idVendor}=="057e", ATTR{idProduct}=="2073", MODE="0666"SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2066", MODE="0666"SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2067", MODE="0666"SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2069", MODE="0666"SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2073", MODE="0666"

Then run:

sudo udevadm control --reload-rules

After reloading the rules, plug in the controller and check that Steam sees it.

Thanks for reading!