Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect external USB audio interface to Windows HVM: vchan timeout #2335

Closed
nic4123 opened this issue Sep 25, 2016 · 8 comments
Closed

connect external USB audio interface to Windows HVM: vchan timeout #2335

nic4123 opened this issue Sep 25, 2016 · 8 comments
Labels
C: other T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@nic4123
Copy link

nic4123 commented Sep 25, 2016

Qubes OS version (e.g., R3.1):

R3.2rc3

Actual behavior:

[ndm@dom0 ~]$ qvm-usb
sys-net :2-1.6    04f2:b217 Chicony_Electronics_Co.__Ltd._Integrated_Camera
sys-net:3-1.1     0582:0074 Roland_EDIROL_UA-25
[ndm@dom0 ~]$ qvm-usb -a w7 sys-net:3-1.1
ERROR: Device attach failed: vchan connection timeout (or error)
[ndm@dom0 ~]$
@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: other labels Sep 25, 2016
@andrewdavidwong andrewdavidwong added this to the Release 3.2 milestone Sep 25, 2016
@marmarek
Copy link
Member

This isn't error I'd expect. But anyway qvm-usb does not support Windows
VMs, yet.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@marmarek
Copy link
Member

@omeg it looks like handling non-existing services is broken. In such a case, qrexec-agent should connect back data vchan and just send non-zero exit code (Linux use 127 for non-existing commands).

@nic4123
Copy link
Author

nic4123 commented Sep 26, 2016

Can i have audio on working on Windows HVM if i run USB external audio interface through PCI e.g.: "qvm-pci -w7 00:1a.0"?

@marmarek
Copy link
Member

In theory yes, in practice, it is broken currently: #1659

@omeg
Copy link
Member

omeg commented Sep 27, 2016

@omeg omeg closed this as completed Sep 27, 2016
@omeg omeg reopened this Sep 27, 2016
@omeg
Copy link
Member

omeg commented Sep 27, 2016

Well, the original problem isn't fixed...

@tonsimple
Copy link

tonsimple commented Jan 22, 2017

Just decided to leave a little comment here https://sourceforge.net/p/usbip/discussion/418507/thread/86c5e473/ in case someone specifically needs to pass a printer to a windows VM and is in the process of pulling their hairs out :)

It's doable using USBIP windows client from here and Fedora-24's usbip module

It does not work for webcams and flash drives however (something mysteriously broken in USBIP, either kernel module in fedora or windows client)
Fedora's printer sharing must work, but printer must be bound to usbip driver before printer sharing (cusp) starts up (so it must be called from rc.local early on)
Also, bind first then start usbipd -D

(of course, you'd need to allow networking between your usb-vm and windows vm...)

EDITED TO ADD:
using Debian 8 allowed to share a usb webcam via usbip too (also, Debian's usbip is all kinds of less quirky)
Haven't tested with usb audio tho
#2597 (comment)

@andrewdavidwong
Copy link
Member

This issue is being closed because:

If anyone believes that this issue should be reopened, please let us know in a comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: other T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

5 participants