-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
USB device not recognized #3975
Comments
Here (using UTM 3.1.5, same macOS M1 version), a USB stick is recognized, but an external harddisk (the small blue Samsung T7 2TB) formatted to exFAT is not recognized. |
Same here. When playing with More details: M1. Debian VM. Using |
I'm having the same issue on my device, an iPhone SE 2, 14.4. |
@zwb124 Is this issue new to 3.2.1? Can the same device be recognized in 3.1.5? |
yes,3.2.1,it seems good in 3.1.5,I don't remember. |
@zwb124 Is your device USB 3.0 and did you enable USB 3.0? |
yes,it is enable |
Do you get any error message? Can you enable logging in QEMU settings and provide the log? |
No,There are no error messages,The VM did not respond when the USB device was plugged in Here is the log: |
You got the pop up when you plugged it in and the second pop up to allow attaching of the usb? |
no pop up https://github.com/zwb124/tempfile/blob/main/output.mp4?raw=true |
I can't seem to access that. Is it hosted in a private repo? Anyways are you saying you were able to see the popup on 3.1.5 but on 3.2.1 there is no popup? |
yes,it is |
Can you reupload the video so it is not private? |
I changed it to public |
Thank you. If you remove the drive from your computer. Then, while UTM is in the foreground, plug in the USB drive again. Do you see a prompt from UTM asking if you want to attach the drive? (Both on 3.1.5 as well as on 3.2.1) |
Another thing: did you download the release from https://github.com/utmapp/UTM/releases or from TestFlight. |
3.1.5 yes, 3.2.1 no response in any case |
Oh! This isn't a UTM issue at all. I just updated to macOS 12.3.1 and I get the same issue (USB drives not detected, some other USB devices work fine). This seems to be a macOS bug... Can you confirm by running 3.1.5 on 12.3.1? |
Okay, I just unplugged and re-plugged in the drive and it still works so never mind the macOS bug theory... |
Can you confirm two things?
|
1、USB 3.0 and 2.0 have this problem |
Do you have a USB 2.0 only hub you can test by plugging your USB 3.0 device into? |
USB 2.0 USB flash disk and 3.0 portable hard disk have this problem in utm 3.2.1,utm 3.1.5 both ok |
Can you download this and run:
And post the output? |
[3:21] ~/Downloads % ./testlibusb
Dev (bus 2, device 1): 0951 - 1643 speed: 480M
Manufacturer: Kingston
Product: DataTraveler G3
[3:21] ~/Downloads % sudo ./testlibusb
Dev (bus 2, device 1): 0951 - 1643 speed: 480M
Manufacturer: Kingston
Product: DataTraveler G3
[3:21] ~/Downloads %
2022年5月7日 15:18,osy ***@***.******@***.***>> 写道:
testlibusb.zip<https://github.com/utmapp/UTM/files/8644646/testlibusb.zip>
Can you download this and run:
$ xattr -d com.apple.quarantine testlibusb
$ ./testlibusb
$ sudo ./testlibusb
And post the output?
—
Reply to this email directly, view it on GitHub<#3975 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALLJ5Z4XPUVVZ6GWKBSQGB3VIYKNRANCNFSM5U6XKXMA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Can you run |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Okay, as I am unable to reproduce this bug, I will have to move it to the future. If other people are experiencing this issue (including other people in this thread), please reply with the following: What is the USB device that is having issues? An stick with Bar Ilan Responsa software |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I'm having this issue with the latest version of UTM (v3.2.3) on MacOS 12.4 (Apple Silicon). UTM just doesn't recognize any USB device, even in the USB device menu in the top-right of VM windows.
|
@chrisx8 are the two devices that gets listed in testlibusb what you expect? Are you plugging them directly into your computer or through a usb hub (or a hub in your display)? |
@osy testlibusb listed everything I plugged in. Everything is plugged in directly to the laptop (MacBook Pro 14", M1 Pro). |
Can you do this after clicking the USB button on the toolbar and not seeing any devices:
|
@osy I did this for both v3.1.5 (works as expected) and v3.2.3 (no USB detected). See Sample output below: |
It was quite a journey but I finally managed to find the root cause: https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/157 |
And this is why you shouldn't update all your dependencies at once. I had to sift through QEMU, libusbredir, libusb, spice-gtk and finally find the root cause which is a bad logic (introduced 2 years ago!!) that always ignores USB devices with address 0x1. Now the question is how come nobody else who uses SPICE ran into this before? Is there something on Linux that precludes devices from having address 0x1? |
Due to bad logic in SPICE, any device with address 0x1 is ignored. Fixes #3975
The USB problem has been solved. Thank you very much! |
What is the USB device that is having issues? SanDisk 3.2Gen1 or every other usb stick i try UTM 4.0.9 macOS Ventura 13.0 m1 iMac thats my first time using UTM Do you see your device listed when you click the USB icon? If so, do you get an error message when you select it? When i select usb 3.0 in vm settings there is nothing just the utm pop up to allow the stick to connect to the vm nothing more. not in device manager etc. when i select usb 2.0 i get a error message in my vm (win11) that there is a problem with this device(there is no problem its working fine on macos and on my laptop(win10)) its says: USB device not recognized. Follow #3975 (comment) and post the results. Last login: Thu Oct 27 18:10:05 on ttys000 |
I also can't get any USB external drives to show. But more confusingly, i NEVER have the input menu available that is showing for everyone else on the left sidebar. I've updated to the latest beta in an attempt to get it working, but still not INPUT option in the menu... Not sure what i'm doing wrong here. I've taken an image from above, showing the highlighted input option in the sidebar menu. This is what i don't have, no matter what i do. |
You can try adjusting each setting in the input options one by one, then start the virtual machine, and after that, close the virtual machine. Then set the input options back to their original settings and start the virtual machine again to see if the issue is fixed. If not, you can continue modifying the settings and repeat the above steps until the issue is resolved. |
Having the same issues as @binnichtaktiv. My devices are shown correctly in USB list. But, as soon as I select one, I get a popup in Windows, stating it's unrecognized. Samsung Evo - ExFat format. Using UTM 4.1.6, Windows 11 arm on MacOS 13.3.1, M1 arm |
Why is this issue closed? It is clearly still an issue? |
Hi there! |
Does flashing software or firmware on your phone work in UTM? They do open and work fine, but those applications are not able to detect my Android phone. Is there a workaround? By the way, I have used the Mi Flash Tool, but sadly, it has no Mac alternatives. My device is a M2 running Sonoma 14.1. Any suggestions are accepted; let me know if there is a workaround for this issue. I do get the pop-ups asking for permission, but the flash tool is not detecting them.By the way, I also installed adb tools. |
Have same issue. 500GB SSD is well seen on VMWare Fusion , from where i did a backup of Windows 10 to this SSD, and then when conecting same SSD to UTM, windows on UTM can not see it saying device is not recognized. As well MacOS when SSD connected to it sees it well. |
that's crazy: i have used another type-c to type-c cable and mentioned above by me SSD got connected to the Windows on UTM!! |
Funny enough, same thing happened to me. I was using the manufacturer's cable, which is a beefy USB3 type c cable. Switching to a USB2 one made my drive available in the linux VM (I can see it with |
utm 3.2.1 cannot recognize any USB devices in vm
Configuration
The text was updated successfully, but these errors were encountered: