On Fri, May 01, 2020 at 10:33:08PM +0200, Olaf Klinke wrote:
> > >     and my keyboard / mouse uses sys-usb. I need to have this appVM
> > >     running to use the peripheral obviously. But, since the appVM
> > >     running, I can't update the templateVM?

if you really _need_ sys-usb (== only keyboard is USB), i would
recommend disabling sys-usb autostart anyways.
then replacing the template can be done on next reboot before
starting sys-usb.

or do that scripted shutdown/prefs/start dance. 
but that can be a bit tricky for various reasons.
and i would recommend to try it with autostart disabled anyways, 
just in case.


> I do not have a sys-usb, since I installed Qubes OS while using a USB
> keyboard. Which domain are my USB devices attached to? The Qubes

you should configure a sys-usb anyways.
        https://www.qubes-os.org/doc/usb-qubes/
just two qubesctl calls. (plus one qvm-prefs to disable autostart)



> documentation is not explicit about that, it only says removing the
> sys-usb qube will attach the devices directly to dom0. Is that the way
> Qubes configures itself when installing without PS/2 keyboard? 

yes, your usb will be directly attached to dom0 currently.
and that is not a recommended configuration.
otoh, it means you dont have to worry about replacing the template. ;)


some hints regarding the whole scripted replacement plan though...

> qvm-stop --wait $QUBE_WITH_USB 

... there is no qvm-stop.


> sleep 10

10sec is _very_ optimistic for a full sys-usb boot and settling
the USB situation. i would recommend something like 120sec.




-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200501210256.GB990%40priv-mua.

Reply via email to