I have a fresh installation of 4.1 and initially I was able to connect my usb mouse to sys-usb, but then I tried to get a keyboard working. I tried 3 different working usb keyboards and have the same problem with each.
Also, now I cannot get the same usb mouse working because I cannot remember what I did but I think it was a multiple-step process of connecting it to sys-usb and then to a specific Qube. Between my first success and my second failed try, the system has been rebooted.
Have I done something wrong? Why doesn’t it give more information?
From checking the documentation, to try to get the keyboard working, I added
sys-usb dom0 allow usbcore.authorized_default=0
to /etc/qubes-rpc/policy/qubes.InputKeyboard using Dom0 terminal
I know it says to replace sys-usb with Qube name but I tried that it didn’t work either.
I also checked my /etc/qubes-rpc/policy/qubes.InputMouse file to confirm that it has
sys-usb dom0 ask,default_target=dom0
I also tried replacing sys-usb with the Qube name, personal, and have the same issue.
When I plug in a mouse or keyboard, it recognizes the device with brand name, and it says it’s available. Then I can go to the usb devices and see it and hover to see the list of Qubes that I could attach to. Once I pick one, like personal or anon-whonix I get this popup:
Error Attaching device my_device_name_here to personal failed. Error: QubesException - Device attached failed:
It ends like that with no further text.
The same thing happens in the command line. I can see the brand names of my devices when I do qvm-usb but when I try the attach command, it says “Device attached failed:” without explanation.
(But the command line worked for me once to connect the mouse. I may have had to do 2 commands to make it work.)