Re: [qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-03-05 Thread Allen Larocque
OK, we've made progress. However, I'm not sure why this change has happened.

Now aplay -l sees two audio devices - one built-in, one HDMI.

Dom[0] volume control now sees a 'built in audio Analog Stereo' (hardware) and 
'Simultaneous output to built-in Audio' (virtual?). 

When sound is playing , the volume bars fluctuate as expected, but still no 
sound coming out.

- A 


On Sunday, 4 March 2018 18:43:51 UTC-8, awokd  wrote:
> On Mon, March 5, 2018 2:34 am, Allen Larocque wrote:
> 
> 
> > 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High
> > Definition Audio Controller (rev 04)
> 
> > Kernel driver in use: snd_hda_intel
> > Kernel modules: snd_hda_intel
> 
> Looks like it loaded fine. In Dom0 volume control, is it selected as your
> Output Device? Can't think of any other reason why it wouldn't show in
> aplay -l.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/4ad8ed11-7a9d-46b5-aad9-636f0763fe40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-03-04 Thread Allen Larocque
On Sunday, 4 March 2018 17:56:27 UTC-8, awokd  wrote:
> On Mon, March 5, 2018 1:23 am, Allen Larocque wrote:
> > Thanks Awokd,
> > Wow, a lot of output in journalctl!
> >
> >
> > There was an audio related error in "journalctl - b":
> > [Pulseaudio]pid.c:Daemon already runninge
> >
> >
> > Nothing referring to alsa however.
> 
> Was expecting there'd be some indication why the driver didn't load. Can
> you do a "sudo lspci -vvv", look for your audio device, and what it says
> for "kernel driver in use" or if that line is missing?


Hm, here's the output from sudo lspci -vvv:

00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High 
Definition Audio Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Zenbook Prime UX31A
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- https://groups.google.com/d/msgid/qubes-users/dad2a118-67df-47d9-b744-8cce1ce5c2ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-03-04 Thread Allen Larocque
Thanks Awokd,
Wow, a lot of output in journalctl!

There was an audio related error in "journalctl - b":
[Pulseaudio]pid.c:Daemon already running

Nothing referring to alsa however.

- A 

On Saturday, 3 March 2018 03:57:31 UTC-8, awokd  wrote:
> On Fri, March 2, 2018 4:00 am, Allen Larocque wrote:
> 
> > I checked the qvm-pci lists and the audio driver isn't assigned to any
> > VMs. This is a fresh install with the sys-USB VM on.
> 
> You wrote "driver" here- you meant "device", right? Double check your VM
> settings > Devices and make sure it's not assigned to any VM. If that
> results in unassigning it from one or more, reboot afterwards.
> 
> > As far as I can summarize the problem now:
> > 1. lspci shows the audio device.
> > 2. aplay-l shows 'no audio device'
> 
> It should, if dom0 recognizes it. Look through "sudo journalctl -b" for
> errors related to your audio device.
> 
> > 3. Pulseaudio output and config tabs show no audio devices (except the
> > virtual one 'simultaneous output').
> >
> > I've been interpreting this as a driver issue? But unsure how to fix/ get
> > the appropriate drivers
> 
> Journalctl should give you more information to review.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f3757a04-a0e4-4bcb-a9c1-5dc06b3cf945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-03-01 Thread Allen Larocque
On Thursday, 1 March 2018 19:04:01 UTC-8, Marek Marczykowski-Górecki  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> > > > > > > On Tuesday, February 27, 2018 at 10:42:30 AM UTC+1, Allen 
> > > > > > > Larocque wrote:
> > > > > > > > Hi Qubes,
> > > > > > > > First time installer here, trying to get my sound to work. 
> > > > > > > > Strangely, speakers are broken, but headphones work fine.
> > > > > > > > 
> > > > > > > > Anytime I move my sound device from 'available' to 'selected' 
> > > > > > > > in a given VM, the VM won't load and I get the 'qeexec demon' 
> > > > > > > > error. Same thing when I move various other devices over 
> > > > > > > > (tested with USB ones). I should need the audio device moved 
> > > > > > > > over in order for it to work in a given VM, right?
> > > > > > > > 
> > > > > > > > Any thoughts? Running 3.2 on a Zenbook UX31A.
> 
> On Thu, Mar 01, 2018 at 03:31:22PM -0800, Allen Larocque wrote:
> > Hi Yuraeitha,
> > Thanks for your continued help!
> > 
> > Ah, I think there is a misunderstanding: there is no USB soundcard as far 
> > as I understand it; only what is on the mainboard. So there should only be 
> > one soundcard.
> > 
> > I am currently running a sys-usb VM however!
> > 
> > Under DOM0 pauvaudio volume control, under the 'output devices' tab, there 
> > is no 'hardware' devices listed, only the 'simultaneous output' virtual 
> > device. The virtual device however is still showing fluctuating volume bar, 
> > so it's 'hearing' things correctly.
> > 
> > Strangely too, now my headphones don't seem to work (they did previously).
> 
> Generally you shouldn't need to attach sound card to specific VM -
> that's what "devices" tab in VM settings is. If you do that, only that
> VM will have access to it and none of others.
> 
> What should should do instead, is to leave sound card in dom0 (unassign
> from any VM you've assigned to - see qvm-pci list output), then you need
> to reboot to get dom0 driver attached to the device. After this,
> headphones should work again.
> 
> Then, lets debug speakers issue - open pulseaudio volume control - now
> you should have 'Output Devices' and 'Configuration' tabs. In both of
> them you'll see settings related to what output should be used - try
> changing it there.
> 
> - -- 
> 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?
> -BEGIN PGP SIGNATURE-
> 
> iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlqYvuoACgkQ24/THMrX
> 1ywAyAf/Q2s3oe/pmBIFBWDPphvErTY9hYjMGN8wXIcDIEqfPcB7mxk2rzrL67x3
> ZgPoviJVT0QW0yr/ZtdBnGZtK/Z9J/0/3cdEqpJekvazZL0mYz5k8PmCQaaeP7yL
> gGrHw7e30M+AZvA/AW5fQkGkEaJUizSdP1GgDe2FpMtkj7v3dbvCPpLTse6csd6r
> JJNBXxEkoD3PdNaCJGrDm65iNW1GJy/pSrbVeUBKouFSZUPcpVhYfUpKgA/Y+xR0
> xmub02qCMcT/qp2a5wRbIYZ8zTVPHq2eFCs0wcAZpsT83uG3lunrAtr2fCjPMiO3
> VC3PIbai+zJ0bC6dYPmCHKANI5nY7A==
> =v5Nw
> -END PGP SIGNATURE-




Thanks Marek.

I checked the qvm-pci lists and the audio driver isn't assigned to any VMs. 
This is a fresh install with the sys-USB VM on.

As far as I can summarize the problem now:
1. lspci shows the audio device.
2. aplay-l shows 'no audio device'
3. Pulseaudio output and config tabs show no audio devices (except the virtual 
one 'simultaneous output').

I've been interpreting this as a driver issue? But unsure how to fix/ get the 
appropriate drivers

- A 

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/dbd166cf-ad76-4f1a-b265-0f4b1f5f6be0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-03-01 Thread Allen Larocque
Hi Yuraeitha,
Thanks for your continued help!

Ah, I think there is a misunderstanding: there is no USB soundcard as far as I 
understand it; only what is on the mainboard. So there should only be one 
soundcard.

I am currently running a sys-usb VM however!

Under DOM0 pauvaudio volume control, under the 'output devices' tab, there is 
no 'hardware' devices listed, only the 'simultaneous output' virtual device. 
The virtual device however is still showing fluctuating volume bar, so it's 
'hearing' things correctly.

Strangely too, now my headphones don't seem to work (they did previously).
Cheers,
- A 



On Wednesday, 28 February 2018 11:28:49 UTC-8, Yuraeitha  wrote:
> On Tuesday, February 27, 2018 at 7:55:09 PM UTC+1, Allen Larocque wrote:
> > Thanks for the help.
> > 
> > The intel audio pci device is indeed listed in the qvm-pci list, and the 
> > pulseaudio manager is 'connected', However, under 'devices' there's nothing 
> > about the intel device - just 'combined monitor' as the source
> > 
> > 
> > On Tuesday, 27 February 2018 10:09:37 UTC-8, Yuraeitha  wrote:
> > > On Tuesday, February 27, 2018 at 6:58:11 PM UTC+1, Allen Larocque wrote:
> > > > Thanks Yuraeitha for the thoughtful reply!
> > > > 
> > > > Hm. It doesn't seem to work in the other templates. I think it is a 
> > > > driver issue. I've tried volume etc.; and switching through the 
> > > > pulseaudio menus shows only 'simultaneous output' devices (which DO 
> > > > have actively fluctuating 'volume bars' when playback is happening!). 
> > > > Under 'config' there is 'no sound cards available for configuration'. 
> > > > I've been trying some things and let me try to clarify:
> > > > 
> > > > 'lspci' lists '00:1b:0 Audio device: Intel Corporation 7 Serices/c210 
> > > > Series Chipset Family High Definition Audio Controller (rev04)'
> > > > I interpret that as the audio card being on the chipset (hence 'plugged 
> > > > in' automatically).
> > > > 
> > > > 'aplay -l' however lists "no soundcards found". So alsa doesn't see it?
> > > > 
> > > > Alsa is a deeper level than pulseaudio generally, right? So if alsa 
> > > > doesn't see it then it makes sense that pulseaudio doesn't either.
> > > > 
> > > > So: how to get alsa/pulseaudio to see it?
> > > > 
> > > > Thanks again for the gracious help!
> > > > - Allen
> > > > 
> > > > On Tuesday, 27 February 2018 04:16:15 UTC-8, Yuraeitha  wrote:
> > > > > On Tuesday, February 27, 2018 at 10:42:30 AM UTC+1, Allen Larocque 
> > > > > wrote:
> > > > > > Hi Qubes,
> > > > > > First time installer here, trying to get my sound to work. 
> > > > > > Strangely, speakers are broken, but headphones work fine.
> > > > > > 
> > > > > > Anytime I move my sound device from 'available' to 'selected' in a 
> > > > > > given VM, the VM won't load and I get the 'qeexec demon' error. 
> > > > > > Same thing when I move various other devices over (tested with USB 
> > > > > > ones). I should need the audio device moved over in order for it to 
> > > > > > work in a given VM, right?
> > > > > > 
> > > > > > Any thoughts? Running 3.2 on a Zenbook UX31A.
> > > > > > 
> > > > > > Thanks,
> > > > > > Allen
> > > > > 
> > > > > Also if you moved the soundcard to a direct pass-through, and the 
> > > > > soundcard hardware does not support the PCI pass-through feature. 
> > > > > Then you need to make a full restart of Qubes OS (fully power down 
> > > > > power in order to clean hardware memory). This is due to security 
> > > > > reasons. If this is hitting you, then you may want to first undo the 
> > > > > pass-through you made of your soundcard, and then make a full restart 
> > > > > before trying the above suggestions.
> > > 
> > > np's :)
> > > 
> > > Try compare "qvm-pci list" with lspci, it's the same list, but it'll show 
> > > you if the Qubes tools register the sound card. Also try look in the 
> > > Qubes menu --> Systems Tools --> Pulseaudio Manager. See if the sound 
> > > server is connected or disconnected here.
> > > 
> > > I can't write much more right now as I'm on the road and need to close 
> > > the lid and move now, but checking the

[qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-02-27 Thread Allen Larocque
Thanks for the help.

The intel audio pci device is indeed listed in the qvm-pci list, and the 
pulseaudio manager is 'connected', However, under 'devices' there's nothing 
about the intel device - just 'combined monitor' as the source


On Tuesday, 27 February 2018 10:09:37 UTC-8, Yuraeitha  wrote:
> On Tuesday, February 27, 2018 at 6:58:11 PM UTC+1, Allen Larocque wrote:
> > Thanks Yuraeitha for the thoughtful reply!
> > 
> > Hm. It doesn't seem to work in the other templates. I think it is a driver 
> > issue. I've tried volume etc.; and switching through the pulseaudio menus 
> > shows only 'simultaneous output' devices (which DO have actively 
> > fluctuating 'volume bars' when playback is happening!). Under 'config' 
> > there is 'no sound cards available for configuration'. 
> > I've been trying some things and let me try to clarify:
> > 
> > 'lspci' lists '00:1b:0 Audio device: Intel Corporation 7 Serices/c210 
> > Series Chipset Family High Definition Audio Controller (rev04)'
> > I interpret that as the audio card being on the chipset (hence 'plugged in' 
> > automatically).
> > 
> > 'aplay -l' however lists "no soundcards found". So alsa doesn't see it?
> > 
> > Alsa is a deeper level than pulseaudio generally, right? So if alsa doesn't 
> > see it then it makes sense that pulseaudio doesn't either.
> > 
> > So: how to get alsa/pulseaudio to see it?
> > 
> > Thanks again for the gracious help!
> > - Allen
> > 
> > On Tuesday, 27 February 2018 04:16:15 UTC-8, Yuraeitha  wrote:
> > > On Tuesday, February 27, 2018 at 10:42:30 AM UTC+1, Allen Larocque wrote:
> > > > Hi Qubes,
> > > > First time installer here, trying to get my sound to work. Strangely, 
> > > > speakers are broken, but headphones work fine.
> > > > 
> > > > Anytime I move my sound device from 'available' to 'selected' in a 
> > > > given VM, the VM won't load and I get the 'qeexec demon' error. Same 
> > > > thing when I move various other devices over (tested with USB ones). I 
> > > > should need the audio device moved over in order for it to work in a 
> > > > given VM, right?
> > > > 
> > > > Any thoughts? Running 3.2 on a Zenbook UX31A.
> > > > 
> > > > Thanks,
> > > > Allen
> > > 
> > > Also if you moved the soundcard to a direct pass-through, and the 
> > > soundcard hardware does not support the PCI pass-through feature. Then 
> > > you need to make a full restart of Qubes OS (fully power down power in 
> > > order to clean hardware memory). This is due to security reasons. If this 
> > > is hitting you, then you may want to first undo the pass-through you made 
> > > of your soundcard, and then make a full restart before trying the above 
> > > suggestions.
> 
> np's :)
> 
> Try compare "qvm-pci list" with lspci, it's the same list, but it'll show you 
> if the Qubes tools register the sound card. Also try look in the Qubes menu 
> --> Systems Tools --> Pulseaudio Manager. See if the sound server is 
> connected or disconnected here.
> 
> I can't write much more right now as I'm on the road and need to close the 
> lid and move now, but checking these might get us a little closer with more 
> information.
> 
> I can confirm I see my own soundcards with "aplay -l", so this command should 
> indeed be working in Qubes it seems?
> 
> It sounds like a problem that is out of my league though, but I'll try to 
> help where I can.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a2e3120e-34a5-4c0e-981b-6e5a71121930%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: qrexec demon fails to load any VM when I attach any device

2018-02-27 Thread Allen Larocque
Thanks Yuraeitha for the thoughtful reply!

Hm. It doesn't seem to work in the other templates. I think it is a driver 
issue. I've tried volume etc.; and switching through the pulseaudio menus shows 
only 'simultaneous output' devices (which DO have actively fluctuating 'volume 
bars' when playback is happening!). Under 'config' there is 'no sound cards 
available for configuration'. 
I've been trying some things and let me try to clarify:

'lspci' lists '00:1b:0 Audio device: Intel Corporation 7 Serices/c210 Series 
Chipset Family High Definition Audio Controller (rev04)'
I interpret that as the audio card being on the chipset (hence 'plugged in' 
automatically).

'aplay -l' however lists "no soundcards found". So alsa doesn't see it?

Alsa is a deeper level than pulseaudio generally, right? So if alsa doesn't see 
it then it makes sense that pulseaudio doesn't either.

So: how to get alsa/pulseaudio to see it?

Thanks again for the gracious help!
- Allen

On Tuesday, 27 February 2018 04:16:15 UTC-8, Yuraeitha  wrote:
> On Tuesday, February 27, 2018 at 10:42:30 AM UTC+1, Allen Larocque wrote:
> > Hi Qubes,
> > First time installer here, trying to get my sound to work. Strangely, 
> > speakers are broken, but headphones work fine.
> > 
> > Anytime I move my sound device from 'available' to 'selected' in a given 
> > VM, the VM won't load and I get the 'qeexec demon' error. Same thing when I 
> > move various other devices over (tested with USB ones). I should need the 
> > audio device moved over in order for it to work in a given VM, right?
> > 
> > Any thoughts? Running 3.2 on a Zenbook UX31A.
> > 
> > Thanks,
> > Allen
> 
> Also if you moved the soundcard to a direct pass-through, and the soundcard 
> hardware does not support the PCI pass-through feature. Then you need to make 
> a full restart of Qubes OS (fully power down power in order to clean hardware 
> memory). This is due to security reasons. If this is hitting you, then you 
> may want to first undo the pass-through you made of your soundcard, and then 
> make a full restart before trying the above suggestions.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7659bd70-21fb-44a3-a349-bcde532a5cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] qrexec demon fails to load any VM when I attach any device

2018-02-27 Thread Allen Larocque
Hi Qubes,
First time installer here, trying to get my sound to work. Strangely, speakers 
are broken, but headphones work fine.

Anytime I move my sound device from 'available' to 'selected' in a given VM, 
the VM won't load and I get the 'qeexec demon' error. Same thing when I move 
various other devices over (tested with USB ones). I should need the audio 
device moved over in order for it to work in a given VM, right?

Any thoughts? Running 3.2 on a Zenbook UX31A.

Thanks,
Allen

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5b5e6e40-9282-4a5e-9ed9-2fb1acfade10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.