Hello, I’m not getting my usb devices to work the way I’d like and looking for a little help. Just trying to get my keyboard and mouse functioning in dom0, “passed through” up to dom0 so that I can still use the usb device VM for hdd, sdd, usb disk, etc, just having the KB+M be available in dom0. And I don’t need them for for luks decryption, I will just decrypt with the laptop keyboard.
I’m following along at the qubes-doc for usb qubes:
Qubes-Doc: USB
I’m on a thinkpad t460p with a docking station. I have my usb keyboard and mouse plugged into the two usb ports on the right side on the laptop itself, not via dock. Plugging in the dock will add usb devices to my usb vm “usb” (which was cloned from sys-usb, just renamed), but the usb ports on the side don’t seem to modify or change - as expected.
Actions
Configs & Changes I’ve made to configuration files from following the Qubes Doc USB KB/M guide:
USB VM template already has qubes-input-proxy-sender
and qubes-usb-proxy
usb autostart
set my usb vm to autostart
[user@dom0 ~]$ qvm-prefs --set usb autostart True
/etc/qubes-rpc/policy/qubes.InputMouse
I added the top line to allow the mouse.
usb dom0 allow,default_target=dom0
$anyvm $anyvm deny
/etc/qubes-rpc/policy/qubes.InputKeyboard
I added the top line to allow the keyboard
usb dom0 allow
$anyvm $anyvm deny
/etc/default/grub
I appended the GRUB_CMDLINE_LINUX var with usbcore portion, since the statement about USBGuard makes me think I should. but i don’t really care to use KB+M in early boot for luks decryption, I am fine with using laptop keyboard at Plymouth luks prompt; so unsure if this change is necessary for me. I rebuild my efi grub afterwards with grub2-mkconfig
efi command that is in the next section.
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX rd.qubes.hide_all_usb usbcore.authorized_default=0"
so, I have modified /etc/default/grub, then rebuilt efi-grub after making changes to qubes.InputMouse and qubes.InputKeyboard. I’m still not getting any usb or mouse controls working in dom0. other observations, I can see that the light on my mouse turns on, but the NUMLK light indicator doesn’t turn on for my keyboard when I hit it; power to one but not the other?
if there’s any other information I can provide, please let me know.
I don’t use the salt formulas to configure vms because I have custom names for everything and I haven’t had the chance/time to learn salt and reconfigure it, so everything is just apt-update
and qubes-dom0-update
, maybe there’s a configuration issue that way that I have gotten myself into.