Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196925

Re: Audio - Dummy Output, except for root

From Kent West <westk@acu.edu>
Newsgroups linux.debian.user
Subject Re: Audio - Dummy Output, except for root
Date 2018-06-25 21:40 +0200
Message-ID <w4Fvc-7Hv-9@gated-at.bofh.it> (permalink)
References <w4B8e-4Vc-15@gated-at.bofh.it> <w4C4h-5vf-3@gated-at.bofh.it> <w4DWq-6Fi-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jun 25, 2018 at 12:57 PM, Kent West <westk@acu.edu> wrote:

>
>
> On Mon, Jun 25, 2018 at 10:57 AM, Brian <ad44@cityscape.co.uk> wrote:
>
>> On Mon 25 Jun 2018 at 09:58:29 -0500, Kent West wrote:
>>
>>
>> > So audio works for root, but not for my normal user (even after being
>> added
>> > to the "audio" group).
>>
>>
>
> In tinkering further, I find that when I run "alsamixer" from my normal
> user account, it shows my card and chip to be "PulseAudio", and if I press
> F6 to "Select sound card", I get an option of "- default" (where it's set),
> "0 HDA Intel PCH", and "1 HDA NVidia". If I run "alsamixer" from my root
> account, it shows my card and chip to be "HDA Intel PCH" and "Realtek
> ALC269VB".
>
> I suspect I'm on the trail to fixing my problem, but I can't figure out
> how to change my default sound card. I can change it in alsamixer, but as
> soon as I get out of alsamixer and then go back in, it's back to "-
> default".
>

As I tinkered/thought further, I realize "- default" is probably where the
alsamixer settings need to be. The problem is not that alsamixer is looking
to the wrong card; it's that alsamixer's "- default" is looking to the
wrong card.

I just discovered "pulsemixer" (aptitude install pulsemixer), and when I
run it as a normal user, I see that there's a place to tell it what card to
use. When I try to change cards, I find that the Intel PCH is not listed.
Hmmm....

When I try to run "pulsemixer" as root, either from a TTY or from a second
X session, I get a "can't connect to pulseaudio" type of error message. I
haven't tried it yet as root as an only X session (as I've got real work
going on as my normal user in that first X session, and don't want to
interrupt it at the moment).

I don't understand the relationship between alsa and pulseaudio, but I
*think* that in general terms, alsa is more of the fundamental driver base
upon which pulseaudio then sits and relies. So it seems to me that root has
access to the alsa driver for the Intel PCH, but my normal user no longer
has that access.





-- 
Kent West                    <")))><
Westing Peacefully - http://kentwest.blogspot.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 17:00 +0200
  Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 17:10 +0200
  Re: Audio - Dummy Output, except for root Brian <ad44@cityscape.co.uk> - 2018-06-25 18:00 +0200
    Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 20:00 +0200
      Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 21:40 +0200
        Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 22:50 +0200
          Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 23:10 +0200
            Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-25 23:20 +0200
              Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-26 00:00 +0200
                Re: Audio - Dummy Output, except for root Kent West <westk@acu.edu> - 2018-06-26 00:40 +0200
              Re: Audio - Dummy Output, except for root deloptes <deloptes@gmail.com> - 2018-06-26 00:40 +0200

csiph-web