Open Katashynskyi opened 3 months ago
With usbipd bind --force
you have changed the driver permanently, so Windows cannot use the device any longer. To undo everything, simply use usbipd unbind --all
, or uninstall the software.
Hi dorssel. Sorry but it didn't work. I tried: (to connect radiomaster pocket joystick) Probably in this order. install usbipd on wsl2 side build WSL 2 kernel with additional drivers install GUI usbipd (by Andrew Leech) joystick seen by wsl2 commands as a device but not working...
Then i tried use external harddrive instead (mostly via GUI usbipd) then Access denied error occured tried to delete everything: uninstall usbipd GUI (which by the way can be the reason of my problem), (there's no unbind --all command or force unbind, but force bind is), uninstall usbipd, uninstall wsl2 (ubuntu 22.04) Then tried to install usbipd again and still "access is denied. So where can be a mistake here? (Also i tried to fix "USB Access Denied" error by it's own, it didn't help either)
I just figured it out. Delete usbipd. Then go to Device Manager -> Universal Serial Bus controllers -> uninstall device. Also, uninstall all of "other devices." But it works only after reloading with connected flash drives, if i connect it again on working pc - same access is denied problem occured.
You seem to address multiple, isolated, issues.
1) What is the problem with the first device (joystick). 2) What are you trying to do with the flash drive?
What commands are you giving? And what is the output? Please discuss one problem at a time.
Main issue I'm referring to is my access denied for any flash drives I'm trying to plug into any USB on my host Windows PC.
If you want to use a flash drive on your host PC, why exactly do you want to use usbipd-win
? That is to access USB devices on guest PCs...
What do you mean with 'connect it'?
At first, I've tried to connect my joystick to the wsl2 using usbipd-win, but I failed, then I've tried to connect other devices (flash drives) and failed too. As a result, when I plug in (connect) any flash drive via USB I'm getting Access is denied error.
So, I can't use flash drives on either the host machine or the guest.
Maybe you can suggest what I should fix on the Windows side first (since deleting usbipd didn't help).
I've tried to delete WSL2, but it didn't fix the problem. However, if I run Windows in "Safe Mode" with usbipd deleted beforehand, everything is okay, and I have access.
My guess is that the "owner" of the drive's root directory has changed. As an admin you can fix that by going to the security settings of the drive and change the access rights. However, there really is no way that usbipd-win
has caused this. It does not interact with the device at the application level at all. This really is not a usbipd-win
issue.
After attempt to connect to my "radiomaster pocket" joystick to wsl2 via usbipd i tried to connect my another USB devices, like external hard drives. So after usage of command like "bind" and "force bind" and "auto-attach device" I face "access is denied" problem on my windows 11 side. I'd like to know what exactly usbipd-win change at my windows part so I can use flash drives and hard drives again. Also, i try wsl-usb-gui with the same result. Please help)