Denied qubes.InputKeyboard from sys-usb to dom0

Hello

I have Qubes 4.2 installed on an Hp Probook 640 G5 laptop. I start the system and once logged in I connect the computer to an HP docking station via the USB-C port to which I have connected an external monitor via HDMI, a keyboard and a mouse.

The external monitor recognizes it without problems, but the problem is that it recognizes the keyboard and mouse (“Device available. Device 046a:00a:00a1_…) but they don’t work “Denied: qubes.InputKeyboard. Denied qubes.InputKeyboard from sys-usb to dom0”

Is there a way to solve this so that it recognizes the external keyboard that I have connected to the dock?

Hi Ciber – and welcome to this forum! :slight_smile:

You could try something like this from a dom0 terminal:

echo "Better make a backup .. :-)"
sudo cp /etc/qubes-rpc/policy/qubes.InputKeyboard /root/ 

echo "sys-usb dom0 ask,user=root,default_target=dom0" | sudo tee -a  /etc/qubes-rpc/policy/qubes.InputKeyboard

:slight_smile:

1 Like

Alternatively, you can set the policies using the Global Settings GUI and can be reverted without a script or need for a backup.

1 Like

Hello, thank you very much for your response. I just started this and I don’t know how to configure the policies using the Global Configuration GUI. If you can tell me how to do it. I think I need a manual or tutorial to learn more about Qubes and not be wondering about things, maybe I could solve it like this. All the best.

OK. Perfect. Changing the policies using the Global Configuration GUI, it worked the first time. Thank you very much. Regards.
1 Like