9
edits
(→Linux: Corrected a mistake on the file paths) |
m (→Linux: minor wording and punctuation changes) |
||
Line 8: | Line 8: | ||
Linux support does not require any special drivers, as long as Dolphin was built with libusb support. However, a udev rule must be created to allow access to the device. | Linux support does not require any special drivers, as long as Dolphin was built with libusb support. However, a udev rule must be created to allow access to the device. | ||
Inside of the location '''/etc/udev/rules.d/''' (/lib/udev/rules.d/ if making a package), paste the following into the '''51-gcadapter.rules''' file and save it | Inside of the location '''/etc/udev/rules.d/''' (or '''/lib/udev/rules.d/''' if making a package), paste the following into the '''51-gcadapter.rules''' file and save it (if the file does not already exist, then create a new empty file with that file name): | ||
<code>SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666"</code> | <code>SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666"</code> | ||
Line 16: | Line 16: | ||
If you did not restart your PC, then also re-insert the adapter. | If you did not restart your PC, then also re-insert the adapter. | ||
Dolphin should now detect it in the controller settings (refer to [[#Dolphin Setup]] below). If you are using the flatpak version of Dolphin, then you must however launch Dolphin as root every time in order for it to properly | Dolphin should now detect it in the controller settings (refer to [[#Dolphin Setup]] below). If you are using the flatpak version of Dolphin, then you must however launch Dolphin as root every time in order for it to properly find the adapter; this can be done with the following terminal command: | ||
<code>sudo -i /usr/bin/flatpak run --command=/app/bin/dolphin-emu-wrapper org.DolphinEmu.dolphin-emu</code> | <code>sudo -i /usr/bin/flatpak run --command=/app/bin/dolphin-emu-wrapper org.DolphinEmu.dolphin-emu</code> | ||