Recent ThinkPad X1 Carbons replaced the right Ctrl key with a “Copilot” key. But instead of implementing it as a single, remappable scancode like any sane manufacturer would, they hardwired an absolute mess into the firmware.
What actually happens when you press it:
The embedded controller fires a rapid sequence:
Left Shift down (0x2a) Left Win/Meta down (0xe05b) F23 down (0xe06e) F23 up (0xe0ee) Left Meta up (0xe0db) Left Shift up (0xaa) It’s a hardwired Win+Shift+F23.
To make a USB Host Device optional on startup within KVM, edit the XML and add startupPolicy="optional" to the source node. This will ensure your usb stick, yubikey, or whatever, it won’t stop your VM from booting if it isn’t present.
Example:
<hostdev mode="subsystem" type="usb" managed="yes"> <source startupPolicy="optional"> <vendor id="0x1050"/> <product id="0x0402"/> </source> <address type="usb" bus="0" port="4"/> </hostdev>
I’ve been having a strange issue with a PCMCIA card on my wife’s computer. Every time the machine is rebooted, you are required to “Scan for Hardware Changes” in device manager.
It does not automatically detect that the PCMCIA card is still plugged in. After searching high and low for a solution, I thought about seeing if I could write a script that would automatically run a hardware scan at logon.