Trying to connect phone to Qubes os(4.0)

44 views
Skip to first unread message

Tae Hwan Kim

unread,
Dec 16, 2019, 11:41:09 PM12/16/19
to qubes-users
Hi.
I am trying to connect my android phone to my work vm in qubes os. So I tried this.

1. Changed AppVM(work) to HVM because PVH mode no PCI passthrough which I am trying to do.
2.
lsusb

Bus 001 Device 002: ID 1004:61f9 LG Electronics
3. And then I did
readlink  /sys/bus/usb/devices/usb1

and it returned
../../../devices/pci0000:00/0000:00:14.0/usb1

4. finally
qvm-pci attach --persistent work dom0:00_14.0

But it says "empty response" and doesn't work.
I followed this step.
Am I doing right? In the result of lsusb says my usb connected in Bus 001 so I did
readlink /sys/bus/usb/devices/usb1 instead of usb3(in document). Did I do it correctly?

In final step I just changed : to _ like 00:14.0 to 00_14.0.
I tried dom0:00:14.0 but doesn't work

awokd

unread,
Dec 19, 2019, 11:03:49 AM12/19/19
to qubes...@googlegroups.com
Tae Hwan Kim:
> Hi.
> I am trying to connect my android phone to my work vm in qubes os. So I
> tried this.
>
> 1. Changed AppVM(work) to HVM because PVH mode no PCI passthrough which I
> am trying to do.
> 2.
> lsusb
>
> Bus 001 Device 002: ID 1004:61f9 LG Electronics
> 3. And then I did
> readlink /sys/bus/usb/devices/usb1
>
> and it returned
> ../../../devices/pci0000:00/0000:00:14.0/usb1
>
> 4. finally
> qvm-pci attach --persistent work dom0:00_14.0

This looks valid.

> But it says "empty response" and doesn't work.
> I followed this step <https://www.qubes-os.org/doc/usb-devices/>.
> Am I doing right? In the result of lsusb says my usb connected in Bus 001
> so I did
>
> readlink /sys/bus/usb/devices/usb1 instead of usb3(in document). Did I do it correctly?
>
Is your USB controller already assigned somewhere else, like sys-usb by
default? If so, you should try to assign just the USB device to your
work qube first instead of the controller with qvm-usb (see --help for
options). If you have and it isn't working, you might need to shutdown
sys-usb before you can re-assign a controller it is using. qvm-pci by
itself will show which devices are assigned to different qubes in the
USED BY column. You will often need to include the no-strict-reset
option with USB controllers.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Tae Hwan Kim

unread,
Dec 19, 2019, 11:09:58 PM12/19/19
to qubes-users
Thanks for your help.
I  just created sys-usb app vm following this guide.
And sys-usb app vm finds phone automatically, so I just attach it to work vm.
Reply all
Reply to author
Forward
0 new messages