KVM qemu with Mac OSX Ventura keyboard off

Welcome, I use Mac OSX on OpenSuse using the github repo but when I run the machine the hard drive shows and I was able to select the Ventura OS by Keyboard but after getting the login screen it doesn’t work!

Is there a missing config I should add or edit ?

@Abuabdellah can you describe the keyboard connection in use, wireless, USB (2 or 3?), bluetooth, other?

It is Logitech Classic Keyboard 200 USB.

Did you try a earlier release, I have Catalina running, ventura I need to investigate some more…

Is it plugged into a USB 2 or 3 port? What is your hardware, I’m on HP Z440 desktop system with nvidia graphics.

Using that repo only Ventura I remember it is type 2.

The host machine is Macbook Pro 2012.

So your using an external keyboard? If so you need to specify the id’s in OpenCore-Boot.sh args

So on my other qemu setups I used lsusb to get the vendor and product id and used this as an arg for the external usb keyboard;

-device usb-host,vendorid=0x05af,productid=0x0808

Currently I removed its usage but also without it doesn’t work but the idea is clear, I’ll see if that fix it.

I tested it without success by using the following:


-device usb-ehci,id=ehci
  -device usb-kbd,bus=ehci.0
  -device usb-mouse,bus=ehci.0
  -device nec-usb-xhci,id=xhci
  -global nec-usb-xhci.msi=off
  -device usb-host,vendorid=05ac,productid=0252  # 2 USD USB Sound Card
  # -device usb-host,vendorid=0x8086,productid=0x0808  # 2 USD USB

Hi
What about the vendor and product id for the keyboard?

The other option if bandwidth is not an issue is to install Catalina and upgrade to Ventura (about 12GB download…)?

Welcome, I used it and mentioned on the previous post:

-device usb-host,vendorid=05ac,productid=0252
-mb@localhost:~/OSX-KVM> lsusb 
Bus 004 Device 006: ID 05ac:0252 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 004 Device 005: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 004 Device 009: ID 05ac:821d Apple, Inc. Bluetooth USB Host Controller
Bus 004 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 004 Device 003: ID 0424:2513 Microchip Technology, Inc. (formerly SMSC) 2.0 Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 007: ID 0b0e:2304 GN Netcom Jabra BIZ 2300
Bus 002 Device 012: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I prefer to find a solution for this use case, I remember it was working because I installed twitter from the store. but after moving the image to KVM instance it doesn’t work!

Hi
That is the internal keyboard? You advised an external logitech keyboard? I don’t see that in the output? Plus if adding, use a preceding 0x to them.

I already mentioned that in my previous post that I removed it which means I don’t use it now.

I’ll try the prefix…

Ahh ok, but can you try and see if that works. On my system ventura only showed half the display, but keyboard was working as could blindly type, in your case I think the external one may help.

No without success by using the prefix, also I used a hardware which mentions the integrated keyboard of apple but without success!

@Abuabdellah Hmmm, not really sure. I got Ventura running I cranked up the cores to 8 and 16GB of RAM. I also modified the script to use standard vga;

  # -device VGA,vgamem_mb=128
  -vga std

Bear in mind I’m on a desktop here, not a laptop…

I got it working after removing some config lines using GUI QEMU.

1 Like