-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] USB exception: [Errno 16] Resource busy #284
Comments
@DreamDevourer have you tried this (from the Readme):
|
Yes, it's there. Also I tried to install the requirements_dev with pip3, but did not work for some reason. |
All the dependencies are already installed. |
@DreamDevourer what's switch OS version? tinfoil version? |
Have you tried rebooting Switch? Have you tried to unplug/plug the cable? |
@DreamDevourer could you please try my code from the PR #288 ? |
I did not disconnected the USB cable, also I tried using Quark from Goldleaf project and that worked pretty well... But I want to use Nut it's much better for what I want. Switch Horizon version: 10.0.4 |
@DreamDevourer any luck with my PR? |
@DreamDevourer can you try disabling MTP in tinfoil options, then restarting Tinfoil and try. |
I'm having the same issue here. It's happening after upgrading Switch firmware from 10.0.3 to 11.0.0 and Tinfoil from release 8 to release 12. Running Ubuntu 20.04 LTS, Switch firmware 11.0.0 with SXOS 3.1.0 and NUT 3.1, all python3 dependencies updated. |
Also, on Windows machine, using NUT 3.1, I'm able to connect to the Switch but NSP files shows as "0.0 B" and when I try to install them, an error message pops up saying that there's an error when trying to open the NSP file, although the files are OK. |
Can you try installing it via usbfs instead of usb, and see if that works? |
I am having this same problem. I tried using the code from PR #288 as suggested by @introkun... It didn't help. However, disabling MTP has stopped the crash, but I still could not access the files on the computer (errno 13 access denied insufficient permissions). After running nut as sudo in a python virtual environment, I was able to get it to work. I hope this can help someone else. I'm running the latest version of nut and tinfoil, ubuntu 20.04, 12.0.2 switch firmware, and atmosphere 0.19.3. |
I actually got around this issue. I'm using Lithium instead of Tinfoil, but it looks like the Switch changes device IDs during the connection process. I had to duplicate the udev rule for So
Don't forget to reload the rules ( |
Consolidating issues, follow #314 if still a problem |
When connecting the USB-C with tinfoil opened in the Switch error 16 shows up:
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Switch should connect without problems in NUT.
Screenshots
https://ibb.co/c8j239x
NUT version (or git hash):
The text was updated successfully, but these errors were encountered: