Custom sys-usb on Qubes 3.2

230 views
Skip to first unread message

mar...@grrlz.net

unread,
May 9, 2017, 10:27:38 AM5/9/17
to qubes...@googlegroups.com
Hi there,

I've had to install Qubes without sys-usb because some of the devices
attached to one of the usb buses would not work (touchscreen, memory
socket), even after reassigning the relevant USB bus o dom0 as I used to
do in Qubes 3.1.

After installing Qubes 3.2 without sys-usb, I created a service vm for
usb devices and on the VM services configuration tab I assigned the
second USB which carries two USB ports to this newly created "custom
sys-usb" VM.

However, when I start this VM and then plug-in my USB stick, the do not
show anywhere, not even in dom0, as if the second USB bus had vanished.

What can I do to selectivly assign USB buses to sys-usb and make them
work?

Thanks in advance,
A

cooloutac

unread,
May 9, 2017, 3:44:43 PM5/9/17
to qubes-users, mar...@grrlz.net

do lsusb and look at your devices. see what bus numbers they on.

then do readlink /sys/bus/usb/devices/usb# # = whatever number you saw from lsusb.

Then add those controllers you want to sys-usb.

Delete the sys-usb and recreate it. if you having problems create it with qubesctl command.

cooloutac

unread,
May 9, 2017, 3:47:56 PM5/9/17
to qubes-users, mar...@grrlz.net
On Tuesday, May 9, 2017 at 10:27:38 AM UTC-4, mar...@grrlz.net wrote:

https://www.qubes-os.org/doc/usb/ if you already used qubesctl doublecheck that.<

in 3.2 you can try just adding the
"single usb device". https://www.qubes-os.org/doc/assigning-devices/

mar...@grrlz.net

unread,
May 10, 2017, 12:35:01 PM5/10/17
to cooloutac, qubes-users
_______________________________________________________________________


I did what you suggested but instead of doing it from the command line,
I did it directly from Qubes Manager on the VM Services configuration
tab with the result I described on my first email.
The USB devices are not available on my "custom" sys-usb and neither on
dom0. It looks as if the whole bus had been disabled....

cooloutac

unread,
May 10, 2017, 2:21:57 PM5/10/17
to qubes-users, raah...@gmail.com, mar...@grrlz.net
Maybe they are hidden from dom0 see here: https://www.qubes-os.org/doc/usb/

Shut down the USB qube.
In Qubes Manager, right-click on the USB qube and select “Remove VM.”
Open the file /etc/default/grub in dom0.
Find the line(s) that begins with GRUB_CMDLINE_LINUX.
If rd.qubes.hide_all_usb appears anywhere in those lines, remove it.
Save and close the file.
Run the command grub2-mkconfig -o /boot/grub2/grub.cfg in dom0.
Reboot.

cooloutac

unread,
May 10, 2017, 2:22:22 PM5/10/17
to qubes-users, raah...@gmail.com, mar...@grrlz.net
delete all your usb qubes if you have more then one and reboot. start over.
Reply all
Reply to author
Forward
0 new messages