Re: [qubes-users] Problems connecting USB to WIn7 VM

2020-03-16 Thread drbgward


On Tuesday, 17 March 2020 09:31:12 UTC+11, Sven Semmler wrote:
>
> 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. 
>
> /Sven 
>
> -- 
>  public key: https://www.svensemmler.org/0x8F541FB6.asc 
> fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6 
>

Thank you again Sven
I'll give it a go hopefully this afternoon if I get a chance,
 

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/81b281e7-7f00-4ab1-afe5-84c01c90e6f8%40googlegroups.com.


Re: [qubes-users] Problems connecting USB to WIn7 VM

2020-03-16 Thread Sven Semmler
On Mon, Mar 16, 2020 at 02:34:36PM -0700, drbgw...@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. 

/Sven

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

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200316222426.GC1105%40app-email-private.


signature.asc
Description: PGP signature


Re: [qubes-users] Problems connecting USB to WIn7 VM

2020-03-16 Thread drbgward
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

On Tuesday, 17 March 2020 06:11:06 UTC+11, Sven Semmler wrote:
>
> On Mon, Mar 16, 2020 at 10:55:11AM -0700, redpo...@gmail.com  
> wrote: 
> > 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?   
>
> 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 
>
>

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/8286571d-0504-45b7-882c-90d302718476%40googlegroups.com.


Re: [qubes-users] Problems connecting USB to WIn7 VM

2020-03-16 Thread Sven Semmler
On Mon, Mar 16, 2020 at 10:55:11AM -0700, redpoll...@gmail.com wrote:
> 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?  

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

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200316191045.GA1105%40app-email-private.


signature.asc
Description: PGP signature