This package installs an udev rule to allow communication via usb with the Nintendo Switch without root access. It does that by changing the permissions (mode) to 666 (rw-rw-rw-).
After installing you may need to replug your device.
It's available in the AUR, so you can install it using makepkg:
git clone https://aur.archlinux.org/nx-udev.git
cd nx-udev
makepkg -si
Or using yay (or any other AUR helper):
yay -S nx-udev
I've generated a debian package in the releases, so you can just install it with dpkg -i
:
# Download the debian package
wget https://github.com/pheki/nx-udev/releases/latest/download/nx-udev_latest_all.deb
# Install it
sudo dpkg -i nx-udev_latest_all.deb
To install manually, just copy 60-nx.rules
and 60-nx-rcm.rules
to /etc/udev/rules.d/
:
# Download the repository
git clone https://github.com/pheki/nx-udev.git && cd nx-udev
cp *.rules /etc/udev/rules.d/