From 499c9a7994073744537ddf5c296fd247478ecaa4 Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Thu, 21 Nov 2024 16:17:47 +0100 Subject: [PATCH] Improve automatic usb rules installation --- README.md | 2 +- setup_scripts/install_usb_rules.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d476329..77c3e0e 100755 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ On Linux and MacOS, the profiles can be found at the "${HOME}/.config/cc3dsfs" f On Windows, the profiles can be found in the ".config/cc3dsfs" folder inside the directory in which the program runs from. ## Notes -- On Linux, you may need to include the udev USB access rules. You can use the .rules files available in the repository's usb\_rules directory, or define your own. For ease of use, releases come bundled with a script to do it named install\_usb\_rules.sh. +- On Linux, you may need to include the udev USB access rules. You can use the .rules files available in the repository's usb\_rules directory, or define your own. For ease of use, releases come bundled with a script to do it named install\_usb\_rules.sh. It may require elevated permissions to execute properly. - At startup, the audio may be unstable. It should fix itself, if you give it enough time. - If, at first, the connection to the 3DS/DS fails, reconnect the 3DS/DS and then try again. If that also doesn't work, try restarting the program. If that also doesn't work, try restarting the computer. - USB Hubs can be the cause of connection issues. If you're having problems, try checking whether the 3DS/DS connects fine or not without any other devices connected. diff --git a/setup_scripts/install_usb_rules.sh b/setup_scripts/install_usb_rules.sh index 255bda3..79a8e92 100755 --- a/setup_scripts/install_usb_rules.sh +++ b/setup_scripts/install_usb_rules.sh @@ -1 +1,3 @@ cp *.rules /etc/udev/rules.d/ +udevadm control --reload-rules +udevadm trigger