9
edits
![]() |
Progress Continues
We've already had 21756 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
![]() |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
(Mention more clearly that third-party adapters are supported, mention Switch, remove dead link) |
(→Linux: Clarifying some steps and adding instructions on getting it working in the flatpak) |
||
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/51-gcadapter.rules 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> | ||
Either restart your PC or reload udev rules with the following terminal command: | |||
<code>sudo udevadm control --reload-rules</code> | <code>sudo udevadm control --reload-rules</code> | ||
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 use 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> | |||
If you want to change the rule, links for instructions are available on the [https://github.com/libusb/libusb/wiki/FAQ#Can_I_run_libusb_applications_on_Linux_without_root_privilege libusb FAQ]. | If you want to change the rule, links for instructions are available on the [https://github.com/libusb/libusb/wiki/FAQ#Can_I_run_libusb_applications_on_Linux_without_root_privilege libusb FAQ]. |