Skip to content
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

Closed
szafrir opened this issue Dec 18, 2021 · 45 comments
Closed

SanDisk USB Drive Partial Functionality #167

szafrir opened this issue Dec 18, 2021 · 45 comments
Labels
documentation Improvements or additions to documentation hardware Incompatible device or hub

Comments

@szafrir
Copy link

szafrir commented Dec 18, 2021

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.

@dorssel
Copy link
Owner

dorssel commented Dec 18, 2021

@szafrir
Can you please run with debug logging, see https://github.com/dorssel/usbipd-win/wiki/Troubleshooting.

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.

@szafrir
Copy link
Author

szafrir commented Dec 18, 2021

@dorssel - Thank you. 1.2.0 Works.

here is the logging for 1.3.0:
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: UsbIpServer.Server[1000]
new connection from 172.17.91.18
dbug: UsbIpServer.ConnectedClient[1000]
Received opcode: OP_REQ_IMPORT
fail: UsbIpServer.ConnectedClient[3]
An exception occurred while communicating with the client:
System.IO.FileNotFoundException: Unable to find the specified file.
at UsbIpServer.ConfigurationManager.GetVBoxDevice(BusId busId) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConfigurationManager.cs:line 295
at UsbIpServer.VBoxUsbMon.ClaimDeviceOnce(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 141
at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 151
at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 157
at UsbIpServer.ConnectedClient.HandleRequestImportAsync(CancellationToken cancellationToken) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConnectedClient.cs:line 139
dbug: UsbIpServer.Server[1000]
connection closed

@szafrir szafrir mentioned this issue Dec 18, 2021
@szafrir
Copy link
Author

szafrir commented Dec 18, 2021

@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.
Otherwise everything works now. Thank you.

@dorssel
Copy link
Owner

dorssel commented Dec 20, 2021

@szafrir

the service has to be restarted after every detach of the usb drive

Do I understand correctly that the usbipd-win service crashes? That is certainly a bug. It may have to do with the way we detect unplug events. That has changed since 1.3.0. And then again, in the master tree.

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.

@21494
Copy link

21494 commented Dec 29, 2021

same here with last version:

usbip: error: Attach Request for 2-7 failed - Request Failed
usbipd: error: Failed to attach device with ID '2-7'.

lOGS:

fail: UsbIpServer.ConnectedClient[3]
      An exception occurred while communicating with the client:
      System.IO.FileNotFoundException: Unable to find the specified file.
         at UsbIpServer.ConfigurationManager.GetVBoxDevice(BusId busId) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConfigurationManager.cs:line 295
         at UsbIpServer.VBoxUsbMon.ClaimDeviceOnce(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 141
         at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 151
         at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 157
         at UsbIpServer.ConnectedClient.HandleRequestImportAsync(CancellationToken cancellationToken) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConnectedClient.cs:line 148

@dorssel
Copy link
Owner

dorssel commented Dec 29, 2021

@21494
Could you please post the output of:

reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36fc9e60-c465-11cf-8056-444553540000}" /v UpperFilters

@21494
Copy link

21494 commented Dec 29, 2021

UpperFilters REG_MULTI_SZ USBPcap
I would like to keep USBPcap
Thank you

@dorssel
Copy link
Owner

dorssel commented Dec 29, 2021

@21494
Then you'll have to wait a few weeks. I'm working on a change that will work around this problem, but filters like usbpcap are incompatible with the current version of usbipd-win.

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@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
With 1.2.0 It attaches the device but I have to restart the service after every detach to be able to re-attach.
is the log:

dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: UsbIpServer.Server[1000]
new connection from 172.17.88.170
dbug: UsbIpServer.ConnectedClient[1000]
Received opcode: OP_REQ_IMPORT
fail: UsbIpServer.ConnectedClient[3]
An exception occurred while communicating with the client:
System.IO.FileNotFoundException: Unable to find the specified file.
at UsbIpServer.ConfigurationManager.GetVBoxDevice(BusId busId) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConfigurationManager.cs:line 295
at UsbIpServer.VBoxUsbMon.ClaimDeviceOnce(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 141
at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 151
at UsbIpServer.VBoxUsbMon.ClaimDevice(ExportedDevice device) in D:\a\usbipd-win\usbipd-win\UsbIpServer\VBoxUsbMon.cs:line 157
at UsbIpServer.ConnectedClient.HandleRequestImportAsync(CancellationToken cancellationToken) in D:\a\usbipd-win\usbipd-win\UsbIpServer\ConnectedClient.cs:line 148
dbug: UsbIpServer.Server[1000]
connection closed

@dorssel
Copy link
Owner

dorssel commented Dec 30, 2021

@szafrir
OK, just to make sure:

  • 1.2.0 works, but you have to restart the service after detach
  • 1.3.0 gives a "FileNotFound" exception during attach
    After the "FileNotFound" error, the device is disabled and needs to be re-plugged before it works again.
  • current master build also gives a "FileNotFound" exception during attach
    Is the replugging necessary here as well (I suspect it is not, this was changed between 1.3.0 and current master).

Is that a correct summary?

Could you please post the output of:

reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36fc9e60-c465-11cf-8056-444553540000}" /v UpperFilters

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel Correct - except that reinserting the USB drive is still required under 1.3.1 : see below
image

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel the registry key doesn't seem to be there in v1.3.1

@dorssel
Copy link
Owner

dorssel commented Dec 30, 2021

@szafrir
Interesting. Can you find the 7-4 device in Windows Device Manager? Select it (single click) and then "View by connection". Then do the (failed) attach on 1.3.1.

  • What hub(s) is the device connected to?
  • What is the USB version of the device and of the hub? (2/3/3.1)
  • What is the state (error code in device manager properties) after the attach failed?

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel
first the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{36fc9e60-c465-11cf-8056-444553540000} exists. when I search it without the /v UpperFilters.

Here is the device:

image
The device is usb v3.1
After the failed attach the device is doesn't show in the device manager at all.
I don't know if it means anything but I have this warning event on the device:
image

@dorssel
Copy link
Owner

dorssel commented Dec 30, 2021

@szafrir
The UpperFilters not existing (or being empty) is a good thing. The fact that it does not exist at all just means that you never had a single driver (not even in the past) that installed a filter.

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?

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel
On 1.3.1
First test - Same results, on the root as well.
Second test - attachment worked and drivers replaced, both on the root and through the nested hubs.

This is the root:
image

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel
Another phenomenon - the device is removed after detach. i.e. It has to be physically removed and reinserted before another attach. The service, though, doesn't have to be restarted.

@dorssel
Copy link
Owner

dorssel commented Dec 30, 2021

@szafrir
Thanks for all the testing. So it appears that both "disable-change-enable" (1.3.0) and "pause-change-unpause" (1.3.1) do not work programmatically, but "manual disable" + "pause-change-unpause" does work. And then the reverse makes the device disappear...

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?

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel
Here is something you may find interesting:
Since the whole thing is a bit strange... I tried a Samsung USB Drive. It worked with no issues at all. Including the detach.
SanDisk works only when disabled and the detach does half the job (it removes your driver but doesn't install back the original)

I hope it helps...

@dorssel
Copy link
Owner

dorssel commented Dec 30, 2021

@szafrir
OK, so it is device specific. I think we'll leave it here; not much more I can do about it now. Once the '--force' option is released you may give that a try. But I am afraid this SanDisk device just doesn't play nice...
Thanks for the testing and accurate reports!

@szafrir
Copy link
Author

szafrir commented Dec 30, 2021

@dorssel
I tried another SanDisk - same result.
Thank you for investing in this nice software! I really like it because I used to forward COM to tcp-rfc2217 to flash MCUs (which I program as a hobby) and now you made it much simpler.

@mi-hol
Copy link

mi-hol commented Jan 4, 2022

@szafrir with the learning that only SanDisk devices are affected maybe you could change the issue title to make this obvious?

@szafrir szafrir changed the title USB Drive cannot be attached SanDisk USB Drive Partial Functionality Jan 6, 2022
@dorssel dorssel added documentation Improvements or additions to documentation hardware Incompatible device or hub labels Jan 8, 2022
@dorssel
Copy link
Owner

dorssel commented Jan 17, 2022

@szafrir
I've just finished a PR that may solve your problem with the SanDisk. See #164, the installer is at https://github.com/dorssel/usbipd-win/actions/runs/1705631433. Could you give that a go?
You will have to "force-bind" the drive with "usbipd bind --busid BUSID --force".
Also, once bound (forced or not), wsl attach/detach no longer require admin rights...

@dorssel
Copy link
Owner

dorssel commented Jan 23, 2022

@szafrir
Could you please try PR #224, the installer is at https://github.com/dorssel/usbipd-win/actions/runs/1734739747.

@dorssel
Copy link
Owner

dorssel commented Feb 11, 2022

@szafrir
Could you please test the SanDisk with latest release (version 2.1.0)?

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@dorssel sorry for the long silence...

No luck with 2.1 :
image

And then you can't see the device anymore in Device Manager

@dorssel
Copy link
Owner

dorssel commented Feb 19, 2022

@szafrir
This is with bind --force?

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@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...
image

@dorssel
Copy link
Owner

dorssel commented Feb 19, 2022

@szafrir
For this "strange" device, we expect that. bind --force will immediately set the driver. That also resets the port, which causes the device to disappear (probably it just crashes internally). But a reboot should fix that. Then, after reboot, the VBoxUsb driver should be loaded, and the attach should work (in theory).

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@dorssel - I can give a reboot a try. Obviously it is not a solution but it can test your theory.

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@dorssel
Negative. Same thing. Surprisingly, when after boot the device was not visible. I had to remove and reinsert it to see it with "usbipd wsl list"

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@dorssel BTW - It didn't get to the stage when it asks for the wsl password

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

@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
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Location Path:
Migration Rank: 0xF000FFFFFFFFF132
Present: false
Status: 0xC0000719

@dorssel
Copy link
Owner

dorssel commented Feb 19, 2022

Thanks for trying. Too bad it didn't work.

@szafrir
Copy link
Author

szafrir commented Feb 19, 2022

Thank you. Maybe with the next version :)

@dorssel
Copy link
Owner

dorssel commented Mar 26, 2022

@szafrir
Version 2.2.0 has been released. Could you give that SanDisk another try? Don't think it has been solved, but you never know...

@szafrir
Copy link
Author

szafrir commented Mar 30, 2022

@dorssel I'm travelling. I'll try in a couple of weeks...

@dorssel
Copy link
Owner

dorssel commented May 13, 2022

@szafrir
Version 2.3.0 has been released. Since 2.2.0 there is new port reset behavior upon attach/detach. Could you give that a try?

@Nehcknarf
Copy link

Nehcknarf commented May 23, 2022

@szafrir Version 2.3.0 has been released. Since 2.2.0 there is new port reset behavior upon attach/detach. Could you give that a try?

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).
Env: Win11 with WSL2 preview + Ubuntu 22.04

PS C:\Users\Nehcknarf> usbipd --version
2.3.0+42.Branch.master.Sha.3d9f5c5acc4e133ab8147684ad1463cbaec43240
PS C:\Users\Nehcknarf> usbipd wsl list
BUSID  VID:PID    DEVICE                                                        STATE
1-8    046d:c52b  Logitech USB Input Device, USB 输入设备                       Not attached
1-14   0cf3:e009  Qualcomm QCA9377 Bluetooth                                    Not attached
1-17   0781:5591  USB 大容量存储设备                                            Not attached

PS C:\Users\Nehcknarf> usbipd wsl attach --busid=1-17
usbipd: info: Using default distribution 'Ubuntu-22.04'.
usbip: error: Attach Request for 1-17 failed - Device in error state

usbipd: error: Failed to attach device with busid '1-17'.
PS C:\Users\Nehcknarf> usbipd wsl list
BUSID  VID:PID    DEVICE                                                        STATE
1-8    046d:c52b  Logitech USB Input Device, USB 输入设备                       Not attached
1-14   0cf3:e009  Qualcomm QCA9377 Bluetooth                                    Not attached
1-17   0000:0001  未知 USB 设备(端口重置失败)                                   Not attached

@dorssel
Copy link
Owner

dorssel commented May 26, 2022

@Nehcknarf
Thanks for these details. Interesting to see that the device ID changes from 0781:5591 to 0000:0001. Obviously, this device has some weird initialization mode, maybe for firmware updates, or else maybe because of the password function it has. Can you try usbview.exe on the device when it is in this state? See https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/usbview.

@Nehcknarf
Copy link

Nehcknarf commented May 27, 2022

SanDisk USB flash drive is at FAT32 without encryption.
There are logs of usbview below.

State of unknown USB device (port reset failed):

[Port17] FailedEnumeration : 未知 USB 设备(端口重置失败)

Is Port User Connectable: yes
Is Port Debug Capable: yes
Companion Port Number: 1
Companion Hub Symbolic Link Name: USB#ROOT_HUB30#4&35c66ab&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
Protocols Supported:
USB 1.1: no
USB 2.0: no
USB 3.0: yes

   ---===>Device Information<===---

ConnectionStatus: FailedEnumeration
Current Config Value: 0x00 -> Device Bus Speed: SuperSpeed
Device Address: 0x00
Open Pipes: 0
*!*ERROR: No open pipes!

      ===>Device Descriptor<===

*!*ERROR: bLength of 0 incorrect, should be 18
bLength: 0x00
bDescriptorType: 0x00
bcdUSB: 0x0000
bDeviceClass: 0x00
*!*ERROR: Device enumeration failure

Normal state:

[Port17] : USB 大容量存储设备

Is Port User Connectable: yes
Is Port Debug Capable: yes
Companion Port Number: 1
Companion Hub Symbolic Link Name: USB#ROOT_HUB30#4&35c66ab&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
Protocols Supported:
USB 1.1: no
USB 2.0: no
USB 3.0: yes

Device Power State: PowerDeviceD0

   ---===>Device Information<===---

English product name: " SanDisk 3.2Gen1"

ConnectionStatus:
Current Config Value: 0x01 -> Device Bus Speed: SuperSpeed
Device Address: 0x05
Open Pipes: 2

      ===>Device Descriptor<===

bLength: 0x12
bDescriptorType: 0x01
bcdUSB: 0x0320
bDeviceClass: 0x00 -> This is an Interface Class Defined Device
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x09 = (9) Bytes
idVendor: 0x0781 = Western Digital, Sandisk
idProduct: 0x5591
bcdDevice: 0x0100
iManufacturer: 0x01
English (United States) " USB"
iProduct: 0x02
English (United States) " SanDisk 3.2Gen1"
iSerialNumber: 0x03
English (United States) "050190f1bd293708f538fdbda0eb9d1126b2c8c784c85fc77bb4cccd3b4e6c618ec500000000000000000000c881ca1f0083161091558107a5aa0c6a"
bNumConfigurations: 0x01

      ---===>Open Pipes<===---

      ===>Endpoint Descriptor<===

bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0400
bInterval: 0x00

      ===>Endpoint Descriptor<===

bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x02 -> Direction: OUT - EndpointID: 2
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0400
bInterval: 0x00

   ---===>Full Configuration Descriptor<===---

      ===>Configuration Descriptor<===

bLength: 0x09
bDescriptorType: 0x02
wTotalLength: 0x002C -> Validated
bNumInterfaces: 0x01
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0x80 -> Bus Powered
MaxPower: 0x70 = 896 mA

      ===>Interface Descriptor<===

bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x08 -> This is a Mass Storage USB Device Interface Class
bInterfaceSubClass: 0x06
bInterfaceProtocol: 0x50
iInterface: 0x00

      ===>Endpoint Descriptor<===

bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0400
bInterval: 0x00

===>SuperSpeed Endpoint Companion Descriptor<===
bLength: 0x06
bDescriptorType: 0x30
bMaxBurst: 0x01
bmAttributes: 0x00The bulk endpoint does not define streams (MaxStreams == 0)
wBytesPerInterval: 0x0000

      ===>Endpoint Descriptor<===

bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x02 -> Direction: OUT - EndpointID: 2
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0400
bInterval: 0x00

===>SuperSpeed Endpoint Companion Descriptor<===
bLength: 0x06
bDescriptorType: 0x30
bMaxBurst: 0x0F
bmAttributes: 0x00The bulk endpoint does not define streams (MaxStreams == 0)
wBytesPerInterval: 0x0000

      ===>BOS Descriptor<===

bLength: 0x05
bDescriptorType: 0x0F
wTotalLength: 0x0016
bNumDeviceCaps: 0x02

      ===>USB 2.0 Extension Descriptor<===

bLength: 0x07
bDescriptorType: 0x10
bDevCapabilityType: 0x02
bmAttributes: 0x00000002 -> Supports Link Power Management protocol

      ===>SuperSpeed USB Device Capability Descriptor<===

bLength: 0x0A
bDescriptorType: 0x10
bDevCapabilityType: 0x03
bmAttributes: 0x00
wSpeedsSupported: 0x0E
-> Supports full-speed operation
-> Supports high-speed operation
-> Supports SuperSpeed operation
bFunctionalitySupport: 0x01 -> lowest speed = full-speed
bU1DevExitLat: 0x0A -> less than 10 micro-seconds
wU2DevExitLat: 0x0100 -> less than 256 micro-seconds

@dorssel
Copy link
Owner

dorssel commented May 27, 2022

@Nehcknarf
Thanks, this confirms that the device locks up completely after a port reset (returns 0x00 for everything). Not much we can do about that. The port reset is required to simulate an unplug/replug to let the VBoxUsb driver take over. You could try using this device in a USB2 port instead of a USB3 port ... but no guarantees ...

I'll add the SanDisk Ultra Flair (0781:5591) and SanDisk Ultra Fit (0781:5583) as incompatible to the list ... sorry ...

@dorssel
Copy link
Owner

dorssel commented May 27, 2022

Added as incompatible in https://github.com/dorssel/usbipd-win/wiki/Tested-Devices.
Not solvable ... Closing ...

@dorssel dorssel closed this as completed May 27, 2022
@Nehcknarf
Copy link

Nehcknarf commented May 27, 2022

@Nehcknarf Thanks, this confirms that the device locks up completely after a port reset (returns 0x00 for everything). Not much we can do about that. The port reset is required to simulate an unplug/replug to let the VBoxUsb driver take over. You could try using this device in a USB2 port instead of a USB3 port ... but no guarantees ...

I'll add the SanDisk Ultra Flair (0781:5591) and SanDisk Ultra Fit (0781:5583) as incompatible to the list ... sorry ...

Thanks for the clue, it works at USB2.0 port!

`PS C:\Users\Nehcknarf> usbipd wsl list
BUSID VID:PID DEVICE STATE
1-7 0781:5591 USB 大容量存储设备 Not attached
1-8 046d:c52b Logitech USB Input Device, USB 输入设备 Not attached
1-14 0cf3:e009 Qualcomm QCA9377 Bluetooth Not attached

PS C:\Users\Nehcknarf> usbipd wsl attach --busid=1-7
usbipd: info: Using default distribution 'Ubuntu-22.04'.
PS C:\Users\Nehcknarf> usbipd wsl list
BUSID VID:PID DEVICE STATE
1-7 0781:5591 USB 大容量存储设备 Attached - Ubuntu-22.04
1-8 046d:c52b Logitech USB Input Device, USB 输入设备 Not attached
1-14 0cf3:e009 Qualcomm QCA9377 Bluetooth Not attached`

@dorssel
Copy link
Owner

dorssel commented May 27, 2022

@Nehcknarf
Wow, didn't expect that, to be honest ...
I'll add that info to the device list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation hardware Incompatible device or hub
Projects
None yet
Development

No branches or pull requests

5 participants