USB keyboard in sys-usb

I’ve followed the guide here USB qubes | Qubes OS and setup a USB qubes for my keyboard.

I see my keyboard in the list of USB devices in the menu dropdown. However, unlike my mouse, Qubes doesn’t ask me if I wish to attach it. It just works whenever it’s plugged in. Is this normal behavior?

I see my keyboard in the list of USB devices in the menu dropdown. However, unlike my mouse, Qubes doesn't ask me if I wish to attach it. It just works whenever it's plugged in. Is this normal behavior? Yes, it is.

You ran a salt state usb-keyboard, which you can find in
/srv/formulas/base/virtual-machines-formula/qvm
You can inspect this file in dom0.

The first section sets up a Qubes RPC policy -
it uses file.prepend to make sure that the necessary RPC rule is
prepended to the policy file, and it allows your sys-usb to send
keyboard events to dom0.

You can check this by looking at the policy file itself, where you will see the
entry that has been created…

1 Like