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

USB2 guest fixes - tested on Catalina, spice, Intel #223

Closed
wants to merge 5 commits into from

Conversation

jpmorrison
Copy link

  • fixes for usb/redirection for USB2 guests, uhci is needed for low speed devices.
  • I've tested with Catalina. I'm not sure if any other guests have USB3 problems
  • Mouse workaround for spice remote viewer/macos
  • AuthenticIntel looks like a typo - if not then old Intels show GenuineIntel

@jpmorrison jpmorrison mentioned this pull request Nov 12, 2021
@flexiondotorg
Copy link
Member

Thanks for this, I've got a commit that is inspired by this which should address all these issues 👍

@jpmorrison
Copy link
Author

"full" speed USB devices aren't redirecting from Spice - not finding the ohci device I think.

Spice redirection does work with the full intel-ich9-echci/uhci

However usb-ehci might be better for Facetime + Spice redirected USB UVC laptop cam. I was able to get clear but laggy video with Facetime+Catalina (lag might be crappy wifi and my ancient hardware).

Note that Spice supports a separate channel for video streams/codecs so this is more of a guest video driver optimisation issue.

For example these redirect from spice client.

  • redirected usb audio works pretty well

  • redirected bluetooth is recognised by OSX and you can pair a device. Reliability issues though - again could be my environment

      |__ Port 3: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
          ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
      |__ Port 3: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 12M
          ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
      |__ Port 3: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 12M
          ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
      |__ Port 3: Dev 4, If 3, Class=Human Interface Device, Driver=usbhid, 12M
          ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
      |__ Port 1: Dev 37, If 0, Class=Wireless, Driver=btusb, 12M
          ID 04ca:3005 Lite-On Technology Corp. Atheros Bluetooth
      |__ Port 1: Dev 37, If 1, Class=Wireless, Driver=btusb, 12M
          ID 04ca:3005 Lite-On Technology Corp. Atheros Bluetooth
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants