On newer versions of RHEL (9+) the keyboard on the ILO virtual console will die shortly after reboot.
$ journalctl -k | egrep -i 'dmar|iommu|remap'
Reports lots of INTR-REMAP errors
and
$ lsusb
Does not show the ILO virtual keyboard as connected when the console is open.
The fix is to add this parameter to the kernel command line
# grubby --update-kernel=ALL --args="intremap=nosid"
# grubby --info=ALL
to verify it has been added, then reboot.
Opening and closing console should now work and you'll see the keyboard connected
[paul@einstein ~]$ lsusb
Bus 003 Device 010: ID 03f0:7029 HP, Inc Virtual Keyboard
And the following lines in the system messages file
Sep 20 15:53:57 einstein kernel: usb 3-1: new full-speed USB device number 10 using uhci_hcd
Sep 20 15:53:57 einstein kernel: usb 3-1: New USB device found, idVendor=03f0, idProduct=7029, bcdDevice= 0.02
Sep 20 15:53:57 einstein kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 20 15:53:57 einstein kernel: usb 3-1: Product: Virtual Keyboard
Sep 20 15:53:57 einstein kernel: usb 3-1: Manufacturer: BMC
Sep 20 15:53:57 einstein kernel: input: BMC Virtual Keyboard as /devices/pci0000:00/0000:00:1c.7/0000:01:00.4/usb3/3-1/3-1:1.0/0003:03F0:7029.0011/input/input21
Sep 20 15:53:57 einstein kernel: hid-generic 0003:03F0:7029.0011: input,hidraw0: USB HID v1.01 Keyboard [BMC Virtual Keyboard ] on usb-0000:01:00.4-1/input0
Sep 20 15:53:57 einstein kernel: input: BMC Virtual Keyboard as /devices/pci0000:00/0000:00:1c.7/0000:01:00.4/usb3/3-1/3-1:1.1/0003:03F0:7029.0012/input/input22
Sep 20 15:53:57 einstein kernel: hid-generic 0003:03F0:7029.0012: input,hidraw1: USB HID v1.01 Mouse [BMC Virtual Keyboard ] on usb-0000:01:00.4-1/input1
Sep 20 15:53:57 einstein systemd-logind[999]: Watching system buttons on /dev/input/event1 (BMC Virtual Keyboard )