-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
SanDisk USB Drive Partial Functionality #167
Comments
@szafrir We've had some attach problems in the past, plus there is a regression 1.2.0 -> 1.3.0. You can try either reverting back to 1.2.0, or try the latest master build, which can be found here: https://github.com/dorssel/usbipd-win/actions/runs/1566987611. Please report if it makes any difference. |
@dorssel - Thank you. 1.2.0 Works. here is the logging for 1.3.0: |
@dorssel one last bug... the service has to be restarted after every detach of the usb drive. I don't know if this bug was fixed in 1.3.0. |
Do I understand correctly that the Can you please try the latest master build to see if it fixed now? It can be found here: https://github.com/dorssel/usbipd-win/actions/runs/1566987611. |
same here with last version:
lOGS:
|
@21494
|
|
@21494 |
@dorssel - sorry for the long silence. I tried the master build. Same problem as in 1.3.0 - It can't attach the device at all. Here dbug: Microsoft.Extensions.Hosting.Internal.Host[2] |
@szafrir
Is that a correct summary? Could you please post the output of:
|
@dorssel Correct - except that reinserting the USB drive is still required under 1.3.1 : see below |
@dorssel the registry key doesn't seem to be there in v1.3.1 |
@szafrir
|
@dorssel Here is the device:
|
@szafrir That's a lot of hubs in sequence. Is that some kind of docking device? Could you try the same device in a port "closer" to the root controller? Does this machine have a root that is not 3.1 that you could try, maybe a USB 2 port? Because I suspect it is some kind of incompatibility with a 3.1 hub. And as a second test. What happens if you "disable device" in device manager? Because that is how 1.3.0 works: disable device, change driver, re-enable device. In the current master it does something different: pause device, change driver, unpause device. That works with devices that are disabled to begin with as well. If you are able to disable the device manually, can you try attach from the current master again? |
@dorssel |
@dorssel |
@szafrir And then there is: 1.2.0 worked (!). All the changes in 1.3.x are to circumvent the problems other people had with the 1.2.0 strategy: USB Reset Port. You are the first to report that 1.2.0 works, but 1.3.1 (master) does not... I think it may have to do with "reboot required". That's what I am currently suppressing and ignoring altogether. I think this device just doesn't like to be dynamically configured. I am working on a generic workaround for all of this: permanently changing the driver. In that case the device is never available to Windows, it is always assigned to the sharing driver. Quite drastic, but works always, even if reboot is required upon binding. If you are interested, see #164. I have one more question: can you figure out if this is device or machine related? In other words, does this happen for all devices on this computer, or only for that Mass Storage Device? |
@dorssel I hope it helps... |
@szafrir |
@dorssel |
@szafrir with the learning that only SanDisk devices are affected maybe you could change the issue title to make this obvious? |
@szafrir |
@szafrir |
@szafrir |
@dorssel sorry for the long silence... And then you can't see the device anymore in Device Manager |
@szafrir |
@dorssel when I just do the bind --force it makes the device disappear. I'm not sure I'm doing things correctly - It has been a while... |
@szafrir |
@dorssel - I can give a reboot a try. Obviously it is not a solution but it can test your theory. |
@dorssel |
@dorssel BTW - It didn't get to the stage when it asks for the wsl password |
@dorssel I don't know if it may help - but here is the error event (Port reset Failed): Device settings for USB\VID_0000&PID_0001\b&3aae6739&0&2 were not migrated from previous OS installation due to partial or ambiguous device match. Last Device Instance Id: USB\VID_03F0&PID_8140\070A99A3E09B9455 |
Thanks for trying. Too bad it didn't work. |
Thank you. Maybe with the next version :) |
@szafrir |
@dorssel I'm travelling. I'll try in a couple of weeks... |
@szafrir |
Hello dorssel, I also have a SanDisk USB flash drive, it‘s still not working with version 2.3.0, failed to attach device and popup "USB Device not recognized" in Windows. Rerun "usbipd wsl list" it says unknown USB device (port reset failed).
|
@Nehcknarf |
SanDisk USB flash drive is at FAT32 without encryption. State of unknown USB device (port reset failed):
Is Port User Connectable: yes
ConnectionStatus: FailedEnumeration
*!*ERROR: bLength of 0 incorrect, should be 18 Normal state:
Is Port User Connectable: yes Device Power State: PowerDeviceD0
English product name: " SanDisk 3.2Gen1" ConnectionStatus:
bLength: 0x12
bLength: 0x07
bLength: 0x07
bLength: 0x09
bLength: 0x09
bLength: 0x07 ===>SuperSpeed Endpoint Companion Descriptor<===
bLength: 0x07 ===>SuperSpeed Endpoint Companion Descriptor<===
bLength: 0x05
bLength: 0x07
bLength: 0x0A |
@Nehcknarf I'll add the SanDisk Ultra Flair (0781:5591) and SanDisk Ultra Fit (0781:5583) as incompatible to the list ... sorry ... |
Added as incompatible in https://github.com/dorssel/usbipd-win/wiki/Tested-Devices. |
Thanks for the clue, it works at USB2.0 port! `PS C:\Users\Nehcknarf> usbipd wsl list PS C:\Users\Nehcknarf> usbipd wsl attach --busid=1-7 |
@Nehcknarf |
When trying to attach a USB flash drive (USB Mass Storage Device) the following error is triggered: "usbipd: error: Failed to bind device with ID [id]"
After the error, the device is disabled (removed from the list) and needs to be removed and reinserted to show again.
The text was updated successfully, but these errors were encountered: