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

[macOS] USB Passthrough broken ??? #104

Open
FlyingThaCat opened this issue Jul 13, 2024 · 2 comments
Open

[macOS] USB Passthrough broken ??? #104

FlyingThaCat opened this issue Jul 13, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working Help Wanted Extra attention is needed Investigating The reported issue is under investigation Need More Info Further information is requested

Comments

@FlyingThaCat
Copy link

Describe the Issue

i tried to run it with ./main.py first but it kept getting error like
usb_desc_get_descriptor: 3 unknown type 33 (len 10)
and then i tried following this
foxlet/macOS-Simple-KVM#128
and adding this
-usb -device usb-host,productid=0x0043,vendorid=0x2341 \
and it still broken

i tried to add it to virt-manager and try pass it from the gui it detected on mac os system information
but after few second it just disconnected or sometime it just crashed like this
qemu-system-x86_64: ../hw/usb/core.c:563: usb_packet_check_state: Assertion !"usb packet state check failed"' failed.`

Reproduce the Issue

create vm and enable the usb passthrough

Expectation

Usb Flashdrive showing and working on mac os

Screenshots

Operating System

Fedora Linux 40 (Workstation Edition)

Kernel

6.8.5-301.fc40.x86_64

Processor

Intel® Core™ i5-8350U

RAM (in GB)

16

GPU(s)

Intel® UHD Graphics 620

Version

v0.12.1

Branch

main

Generated Script File

No response

Generated XML File (if applicable)

No response

Generated Log File

No response

Additional Information

No response

@FlyingThaCat FlyingThaCat added Bug Something isn't working Pending The issue or pull request is being reviewed labels Jul 13, 2024
@FlyingThaCat
Copy link
Author

i tried to use this
-device qemu-xhci,id=xhci
-device usb-host,bus=xhci.0,hostdevice=/dev/bus/usb/BUS/DEVICE

and it works

@Coopydood Coopydood added Help Wanted Extra attention is needed Need More Info Further information is requested Investigating The reported issue is under investigation and removed Pending The issue or pull request is being reviewed labels Jul 17, 2024
@giaur500
Copy link

It does not work in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help Wanted Extra attention is needed Investigating The reported issue is under investigation Need More Info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants