New Qubes OS user, installed latest 4.3 on new build, then installed fedora-42 template, switched all qubes to it and uninstalled original fedora-xfce template.
All is running nicely.
Next I did the following:
Updated dom0 and created sys-usb with sudo qubesctl state.sls qvm.usb-keyboard
Ensured that “usbcore.authorized_default=0” is in /etc/default/grub
Ensured that “rd.qubes.hide_all_usb” is not in /etc/default/grub
On reboot I have my USB keyboard at LUKS screen but once I get to user password screen keyboard is dead. (presumably once sys-usb starts)
E key at boot screen, added “qubes.skip_autostart”, can now boot into system with keyboard and mouse functioning properly.
All 4 of my USB controllers are attached to sys-usb. (Qube Manager, sys-usb, settings, devices)
lsusb in dom0 shows my keyboard, mouse and everything else.
When I attempted to start the sys-usb qube I got a popup:
[Dom0] Error starting Qube!
Cannot connect to qrexec agent for 60 seconds, see /var/log/xen/console/guest-sys-usb.log for details
I looked into this log, the last latest line reads:
[ 0.479089] Kernel panic - not syncing: fatal exception
I originally installed with 6.12.59.1.fc41 fedora-xcfe using sys-usb from installer and had no issues with sys-usb and booting but audio did not work. Audio now works with my current setup but sys-usb issue of course.
guest-sys-usb.log (108 KB)
I originally installed with 6.12.59.1.fc41 fedora-xcfe using sys-usb from installer and had no issues with sys-usb and booting but audio did not work. Audio now works with my current setup but sys-usb issue of course.
Do you use audio via sys-usb? If not, it seems the audio is related to dom0 kernel version, which can be different than sys-usb one. You can change sys-usb kernel version in its settings (advanced tab).
As for the crash, can you share more details about the hardware? Specifically:
CPU model
sudo lspci -vnn output - at least the entries about USB controllers connected to sys-usb
If you get sys-usb to boot with the older kernel, output of sudo lspci -vxxxnn from inside sys-usb would be useful too.
I didn’t use audio via sys-usb specifically and didn’t know I had to; do I? (remember, I’m new!)
I just tried now and audio now not working again, system doesn’t see my earbuds when I plug them in there is and no sound even though Audio mixer shows stream activity. This definitely worked before I attempted to install sys-usb after fedora-42 template install. (detected earbuds when plugging in then too)
CPU is AMD 9700X. lspci.log (13.4 KB)
Note: I renamed attached lspci.txt to lspci.log as I was unable to attach txt file.
Is there another way I can attempt to set up sys-usb or should I consider reinstalling OS again form scratch?
sys-usb now starting with keyboard enabled for luks and user login
I then followed advice from posts in this thread to set keyboard and mouse to ‘always ask’ in Qubes Global Config USB Devices settings.
Now after luks and login I do get sys-usb popups asking me to allow keyboard adn mouse but have no way no 'OK" them as both keyboard and mouse don’t work until these are OK’d.
Is there a terminal command to set Qubes Global Config USB Devices settings for keyboard and mouse to ‘enable’?
Since you got sys-usb working, can you share sudo lspci -vxxxnn output from within sys-usb (don’t forget about sudo this time)? It would help debugging what happened on the newer kernel.