On 07/01/2016 09:56 AM, Marek Marczykowski-Górecki wrote:
> Are you sure you have qubes-usb-proxy package available in both
> source and target VM? If so, take a look at logs in both VMs (`sudo
> journalctl`) for more details.
Mmm so should I have qubes-usb-proxy in dom0? It doesn't seem to be a
package available to install... Do I need to have the USB controller in
a usbVM to use passthrough?

In the journal of dom0, when an attempt fails, I find this entry:
dom0 qubes.USB+1-4-work[14779]: /bin/sh: /etc/qubes-rpc/qubes.USB: No
such file or directory

which, as far as I can tell, is not meaningful - that file is created by
qubesutils.py in usb_attach() if it does not exist, and then deleted
afterwards. If I create it manually with the same contents it expects,
the file is not deleted and this line does not appear, so I don't think
this means much.

> On my system it looks like phone simulate disconnect + connect each
> time the driver is unbound from it (which is needed also during USB 
> passthrough...). It looks like this:
> 
> [root@sys-usb devices]# ls -l /sys/bus/usb/devices/3-1.2/driver 
> lrwxrwxrwx 1 root root 0 Jul  1 09:48
> /sys/bus/usb/devices/3-1.2/driver ->
> ../../../../../../../bus/usb/drivers/usb [root@sys-usb devices]# echo
> 3-1.2 > /sys/bus/usb/drivers/usb/unbind
> 
> Jul 01 09:50:23 sys-usb kernel: usb 3-1.2: USB disconnect, device
> number 11 Jul 01 09:50:23 sys-usb kernel: usb 3-1.2: new high-speed
> USB device number 12 using ehci-pci (...)
> 
> Unfortunately, this makes it incompatible with USB passthrough.
> Maybe there is a way to prevent such behaviour? Or prevent attaching
> "usb" driver initially, so it will not be necessary to unbind it?
I will try anyway, but if you confirm to me that an usbVM is absolutely
necessary for passthrough (i.e.: it does not work from dom0 because
there's no qubes-usb-proxy) I'll first go buy a PCI-USB adapter.

-- 
Alex

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5bea6e10-b270-b0ee-bdd3-14d505c83b68%40gmx.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to