Problems connecting USB to WIn7 VM

26 views
Skip to first unread message

redpo...@gmail.com

unread,
Mar 16, 2020, 1:55:11 PM3/16/20
to qubes-users
I have successfully installed win7 and things work perfectly, well almost.

For some reason I can't connect a usb to it.  When I try it will tell me that it has (which it hasn't) and then I will get the following error message":
"Error:  QubesVMError Domain Win7:  grexec:  not connected"

Does anybody have any idea what it happening? 

Sven Semmler

unread,
Mar 16, 2020, 3:11:06 PM3/16/20
to redpo...@gmail.com, qubes-users
Attaching USB devices is not supported, but you can attach the entire
USB controller ... that'll work.

Note that Win7 doesn't come with USB 3 support and requires you to
install a dedicated driver.

/Sven

--
public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

signature.asc

drbg...@gmail.com

unread,
Mar 16, 2020, 5:34:36 PM3/16/20
to qubes-users
Thanks Sven
To attach the entire usb controller is that via qubes settings>devices?  I'm not near qubes just now.  I am thinking of the box where there is the list of devices on the left that has a number of usb controllers.  Am I in the right spot?

Thanks

Sven Semmler

unread,
Mar 16, 2020, 6:31:12 PM3/16/20
to drbg...@gmail.com, qubes-users
On Mon, Mar 16, 2020 at 02:34:36PM -0700, drbg...@gmail.com wrote:
> To attach the entire usb controller is that via qubes settings>devices?
> I'm not near qubes just now. I am thinking of the box where there is the
> list of devices on the left that has a number of usb controllers. Am I in
> the right spot?

In general yes. You could try it via the GUI first. Alternatively I'll
describe to you how to do it on the dom0 command line:

1) run 'qvm-pci' to see your available devices
2) if your USB controller is already assigned to e.g. sys-usb then
detach it first by calling 'qvm-pci detach sys-usb dom0:xx_xx.x'
3) then attach it to your windows qube while it is powered down by
calling 'qvm-pci attach win --persistent dom0:xx_xx.x'
4) start your win qube
5) if you get any error messages about being unable to attach the usb
controller or not supporting reset redo step 3) with an additional
parameter like this: 'qvm-pci attach win --persistent --option
no-strict-reset=True dom0:xx_xx.x'

Also: with my USB controller memory of the win qube needs to be 2G or
less. Any more and it crashed the qube. But that might be very specific
to my hardware.

PS: the GUI should give you all the option you need, I just find it
easier to describe it in terms of the command line.
signature.asc

drbg...@gmail.com

unread,
Mar 16, 2020, 7:17:50 PM3/16/20
to qubes-users
Thank you again Sven
I'll give it a go hopefully this afternoon if I get a chance,
 
Reply all
Reply to author
Forward
0 new messages