again usb problems

65 views
Skip to first unread message

haaber

unread,
Mar 26, 2017, 5:55:53 PM3/26/17
to qubes-users
Hello,
I need some help with USB. I cant mount them apart in sys-usb.
Concretely, I have the following contradicting informations:

On one hand:

[ me@dom0 ~]$ qvm-usb -l
sys-usb:3-2 13fe:4100 _USB_DISK_2.0_070A273523959238
[ me@dom0 ~]$ qvm-usb -a private sys-usb:3-2
ERROR: qubes-usb-proxy not installed in the VM

Although

[user @ private ]
sudo apt-get install qubes-usb-proxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
qubes-usb-proxy is already the newest version.

The AppVM "private" runs on a up-to-date debian8 template. How can I
narow down the problem? Thank you! Bernhard

Unman

unread,
Mar 26, 2017, 7:04:25 PM3/26/17
to haaber, qubes-users
What template are you using for sys-usb?
Have you checked that you have qubes-usb-proxy installed there?

haaber

unread,
Mar 27, 2017, 2:17:45 AM3/27/17
to Unman, qubes-users
Hi Unman, thank you for helping.
the template for sys-usb is a fedora-24-minimal clone, that I called
fedora-24-usb. It has qubes-usb-proxy-1.5.0-1 installed.

Bernhard

Vít Šesták

unread,
Mar 28, 2017, 11:34:55 AM3/28/17
to qubes-users
What about the target (“private”) VM? Does it have qubes-usb-proxy installed?
Message has been deleted

haaber

unread,
Mar 28, 2017, 4:39:10 PM3/28/17
to qubes...@googlegroups.com
Hi Vit,

yes, sys-usb, has it installed, 'private' VM as well.

The error message is clearly not correct. This is why I ask how to find
out better what goes wrong ... Thx Bernhard

Unman

unread,
Mar 28, 2017, 6:46:15 PM3/28/17
to haaber, qubes-users
Hello Bernhard,

Can you check that you have /etc/qubes-rpc/qubes.USB present in both the
sys-usb and the "private" qube.

As you are using a disk, you could try using qvm-block to attach the
storage - can you try that for me? (You can also use the "Block devices"
menu from the Qubes Manager icon.)

unman

haaber

unread,
Mar 29, 2017, 3:26:39 AM3/29/17
to Unman, qubes-users
Hello Unman,

1) /etc/qubes-rpc/qubes.USB is present (also -attach & -detach) in
sys-usb and in private

2) the "DISK" was a usb-key - that my mother took home in the meantime.
But the problem is generic, so I just grabbed another USB key (this time
from my wife :)

[ me@dom0 ~]$ qvm-usb
sys-usb:3-3.4 058f:6366 Generic_Flash_Card_Reader_Writer_058F63666438

[ me@dom0 ~]$ qvm-usb -a private sys-usb:3-3.4
ERROR: qubes-usb-proxy not installed in the VM

3) qvm-block test:

[ me@dom0 ~]$ qvm-block -l
sys-usb:sda Card_Reader () 29 GiB
sys-usb:sda1 Card_Reader () 29 GiB

[ me@dom0 ~]$ qvm-block -a private sys-usb:sda1

[ user@private] lsblk
xvdi 202:128 1 29.1G 0 disk

[ user@private] mount /dev/xvdi /mnt

works perfect ! Thank you Unman. It does solve USB-key / USB-disc
problems at least ... (and insures backups :)



On the other hand, of course, my built-in camera

sys-usb:2-1.7 05c8:0369 SunplusIT_INC._HP_HD_Webcam

won't be available in my " phone & video " qube. So there remains a
little path to go. If you have another hint for that?

Thanks, Bernard

Reply all
Reply to author
Forward
0 new messages