[Solved] Keypresses not registering on OS X 10.11 guest (10.13 host)

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

[Solved] Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

The trackpad is working but the keyboard is not on my El Capitan (OS X 10.11) guest in Virtualbox 6.0.4 running on a High Sierra (MacOS 10.13) host.

Everything else seems fine. Have not been able to install the Darwin Guest Additions since I need to type an admin password on the guest to do so.

Perhaps relevant: this VM was originally a Parallels guest, which was imported into VMWare Fusion, confirmed to work, and then exported from there into OVF format to be imported into VirtualBox.

Zipped logs attached.

Any ideas appreciated.
Attachments
MacOS Server 5.2-2019-03-02-00-42-44.log.zip
(29.9 KiB) Downloaded 22 times
Last edited by socratis on 9. Mar 2019, 23:41, edited 1 time in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by socratis »

Open a Terminal, and with no VM running, type the command:
  • 
    VBoxBugReport "<VMname>"
where "<VMname>" is the actual name of the VM that you have a problem with. This will generate a "YYYY-MM-DD-hh-mm-ss-bugreport.tgz" file in the current directory (most probably your home directory). Attach that file in your response.

My gut feeling? Your USB filters are not set up correctly...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

Thanks, socratis. Please see attached.
socratis wrote: My gut feeling? Your USB filters are not set up correctly...
I saw various references to USB filters in searches but I don't think I've any setup (see attached screengrab).
Attachments
Screen Shot 2019-03-02 at 8.11.30 am.jpg
Screen Shot 2019-03-02 at 8.11.30 am.jpg (124.34 KiB) Viewed 2435 times
2019-03-01-22-39-13-bugreport.tgz
(130.84 KiB) Downloaded 27 times
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

Some further observations: I can start the guest in single-user mode using

Code: Select all

VBoxManage setextradata "MacOS Server 5.2" VBoxInternal2/EfiBootArgs "-s"
on the host, but stil no keyboard. So this seems to indicate to me its nothing to do with a rogue kext or the like on the guest.
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

Just for the archives, I created a new VM and attached the existing VDI. This resolved the issue.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by socratis »

Sorry I haven't replied earlier, too much of a backlog...
You created a new VM and you attached the old VDI? And it worked? :shock:
Can you repeat the BugReport collection process for the new VM? So I can compare them and see what's going on? TIA...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

Yup that's exactly what I did. Please see bug report attached and a comparison of the old and new showvminfo below:

Code: Select all

$ VBoxManage showvminfo "MacOS Server 5.2" #old
Name:            MacOS Server 5.2
Groups:          /
Guest OS:        Mac OS X 10.11 El Capitan (64-bit)
UUID:            b82da8b5-39b3-401c-8b9d-fe3a37814d35
Config file:     /Users/damon/VirtualBox VMs/MacOS Server 5.2/MacOS Server 5.2.vbox
Snapshot folder: /Users/damon/VirtualBox VMs/MacOS Server 5.2/Snapshots
Log folder:      /Users/damon/VirtualBox VMs/MacOS Server 5.2/Logs
Hardware UUID:   b82da8b5-39b3-401c-8b9d-fe3a37814d35
Memory size:     2048MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         ich9
Firmware:        EFI
Number of CPUs:  1
PAE:             on
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: Minimal
State:           powered off (since 2019-03-06T09:50:26.034000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      30
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SCSI
Storage Controller Type (1):            LsiLogic
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  16
Storage Controller Port Count (1):      16
Storage Controller Bootable (1):        on
SATA (0, 0): /Users/damon/VirtualBox VMs/MacOS Server 5.2/MacOS_Server_5.2_VM-disk1.vdi (UUID: 7bc8451f-abb2-430f-bef3-4feaed9b30fc)
SATA (1, 0): /Users/damon/VirtualBox VMs/MacOS Server 5.2/MacOS_Server_5.2_VM-disk2.vdi (UUID: 5dbfd52e-300d-46f9-92fe-3e4808cf3119)
SATA (2, 0): Empty
NIC 1:           MAC: 08002712D522, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
NIC 9:           disabled
NIC 10:           disabled
NIC 11:           disabled
NIC 12:           disabled
NIC 13:           disabled
NIC 14:           disabled
NIC 15:           disabled
NIC 16:           disabled
NIC 17:           disabled
NIC 18:           disabled
NIC 19:           disabled
NIC 20:           disabled
NIC 21:           disabled
NIC 22:           disabled
NIC 23:           disabled
NIC 24:           disabled
NIC 25:           disabled
NIC 26:           disabled
NIC 27:           disabled
NIC 28:           disabled
NIC 29:           disabled
NIC 30:           disabled
NIC 31:           disabled
NIC 32:           disabled
NIC 33:           disabled
NIC 34:           disabled
NIC 35:           disabled
NIC 36:           disabled
Pointing Device: USB Multi-Touch
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Audio playback:  disabled
Audio capture: disabled
Clipboard Mode:  disabled
Drag and drop Mode: disabled
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            enabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

Capturing:          not active
Capture audio:      not active
Capture screens:    0
Capture file:       /Users/damon/VirtualBox VMs/MacOS Server 5.2
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25
Capture options:    ac_enabled=false

Guest:

Configured memory balloon size:      0 MB


Code: Select all

$ VBoxManage showvminfo "MacOS Server.app 5.2" #new
Name:                        MacOS Server.app 5.2
Groups:                      /
Guest OS:                    Mac OS X 10.11 El Capitan (64-bit)
UUID:                        d4c828d3-3c7d-46af-87f8-5f91839dc274
Config file:                 /Users/damon/VirtualBox VMs/MacOS Server.app 5.2/MacOS Server.app 5.2.vbox
Snapshot folder:             /Users/damon/VirtualBox VMs/MacOS Server.app 5.2/Snapshots
Log folder:                  /Users/damon/VirtualBox VMs/MacOS Server.app 5.2/Logs
Hardware UUID:               d4c828d3-3c7d-46af-87f8-5f91839dc274
Memory size                  2048MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        enabled
CPUProfile:                  host
Chipset:                     ich9
Firmware:                    EFI
Number of CPUs:              1
PAE:                         enabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               DVD
Boot Device 2:               HardDisk
Boot Device 3:               Not Assigned
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         UTC
Hardw. virt.ext:             enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x unr. exec.:             enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   Minimal
State:                       powered off (since 2019-03-06T12:30:10.000000000)
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      3
Storage Controller Bootable (0):        on
SATA (0, 0): /Users/damon/VirtualBox VMs/MacOS Server 5.2/MacOS_Server_5.2_VM-disk1.vdi (UUID: 7bc8451f-abb2-430f-bef3-4feaed9b30fc)
SATA (1, 0): Empty
SATA (2, 0): /Users/damon/VirtualBox VMs/MacOS Server 5.2/MacOS_Server_5.2_VM-disk2.vdi (UUID: 5dbfd52e-300d-46f9-92fe-3e4808cf3119)
NIC 1:                       MAC: 08002733BA5E, Attachment: Bridged Interface 'en0: Ethernet', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:                       MAC: 080027E9EFE4, Attachment: Bridged Interface 'en1: Wi-Fi (AirPort)', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
NIC 9:                       disabled
NIC 10:                      disabled
NIC 11:                      disabled
NIC 12:                      disabled
NIC 13:                      disabled
NIC 14:                      disabled
NIC 15:                      disabled
NIC 16:                      disabled
NIC 17:                      disabled
NIC 18:                      disabled
NIC 19:                      disabled
NIC 20:                      disabled
NIC 21:                      disabled
NIC 22:                      disabled
NIC 23:                      disabled
NIC 24:                      disabled
NIC 25:                      disabled
NIC 26:                      disabled
NIC 27:                      disabled
NIC 28:                      disabled
NIC 29:                      disabled
NIC 30:                      disabled
NIC 31:                      disabled
NIC 32:                      disabled
NIC 33:                      disabled
NIC 34:                      disabled
NIC 35:                      disabled
NIC 36:                      disabled
Pointing Device:             USB Tablet
Keyboard Device:             USB Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: CoreAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              disabled
Audio capture:               enabled
Clipboard Mode:              disabled
Drag and drop Mode:          disabled
VRDE:                        disabled
OHCI USB:                    enabled
EHCI USB:                    enabled
xHCI USB:                    disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:<none>

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                /Users/damon/VirtualBox VMs/MacOS Server.app 5.2/MacOS Server.app 5.2.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             ac_enabled=false

Guest:

Configured memory balloon size: 0MB


Please let me know if you need anything else.
Attachments
2019-03-06-22-51-18-bugreport.tgz
(138.06 KiB) Downloaded 22 times
oneofthedamons
Posts: 15
Joined: 1. Mar 2019, 17:09

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by oneofthedamons »

I should add, you can probably see from the logs that the #old dump below was from VirtualBox 5 and the #new dump was from VirtualBox 6, but please note I tested on both as part of the troubleshooting process with the same results. Also tried all 3 variations of pointing device.

I do note that #old has

Code: Select all

Keyboard Device: PS/2 Keyboard
whereas #new has

Code: Select all

Keyboard Device:             USB Keyboard
but I can't see where this is specified in the UI?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Keypresses not registering on OS X 10.11 guest (10.13 host)

Post by socratis »

oneofthedamons wrote:but I can't see where this is specified in the UI?
Ha! It's not!!! :)

It's not part of the UI, since the only time that you'll have a "USB keyboard" is when you have an OSX guest. In all other cases, the keyboard is set to "PS/2 Keyboard". There is a command that you use to change it if you want to:
  • VBoxManage modifyvm <uuid|vmname> --keyboard ps2|usb
What happened in your case is:
oneofthedamons wrote:this VM was originally a Parallels guest, which was imported into VMWare Fusion, confirmed to work, and then exported from there into OVF format to be imported into VirtualBox.
Somewhere in the process, the recipe was modified as to set the keyboard as a PS/2 one. Or it could be that it works with other virtualization software, maybe you had installed something similar to the Guest Additions (GAs) for the other virtualizers. Can't tell from where I'm standing.

And I always suggest that when in doubt about the settings, that you should create a new, throwaway, unmodified VM and compare the outputs of the two commands:
  • 
    VBoxManage showvminfo <UnmodifiedVM>
    VBoxManage showvminfo <YourVM>
But that was a good detective work. 8)
Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply