Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #163396
| From | Gregor Zattler <telegraph@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: ?? user in group audio -- but only root can play sound |
| Date | 2016-01-21 20:40 +0100 |
| Message-ID | <qTtfl-1mO-29@gated-at.bofh.it> (permalink) |
| References | <qREoy-ag-9@gated-at.bofh.it> <qTkF4-3Th-7@gated-at.bofh.it> <qTpOq-7iT-29@gated-at.bofh.it> <qTqUa-8kQ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Floris, debian user,
* Floris <jkfloris@dds.nl> [21. Jan. 2016]:
> Op Thu, 21 Jan 2016 16:52:44 +0100 schreef Gregor Zattler
> <telegraph@gmx.net>:
>>* Floris <jkfloris@dds.nl> [21. Jan. 2016]:
>>>Op Sat, 16 Jan 2016 20:06:22 +0100 schreef Gregor Zattler
>>><telegraph@gmx.net>:
>>>>since a few days my normal user, which is in group sound, cannot
>>>>play sound (aplay works but no sound) while root can.
>>>>
>>>>Any ideas how to debug this?
>>>>
>>>>This is a debian testing system with pulseaudio and mpd running.
>>>>
>>>>/dev$ find |xargs ls -ld|grep audio
>>>>crw-rw----+ 1 root audio 14, 4 Jan 16 16:32 ./audio
>>>>lrwxrwxrwx 1 root root 8 Jan 16 16:32 ./char/14:4 ->
>>>>../audio
>>>>crw-rw----+ 1 root audio 14, 3 Jan 16 16:32 ./dsp
>>>>crw-rw----+ 1 root audio 14, 0 Jan 16 16:32 ./mixer
>>>>crw-rw----+ 1 root audio 14, 16 Jan 16 16:32 ./mixer1
>>>>crw-rw----+ 1 root audio 116, 2 Jan 16 16:32 ./snd/controlC0
>>>>crw-rw----+ 1 root audio 116, 6 Jan 16 16:32 ./snd/controlC1
>>>>crw-rw----+ 1 root audio 116, 5 Jan 16 16:32 ./snd/hwC0D0
>>>>crw-rw----+ 1 root audio 116, 10 Jan 16 16:32 ./snd/hwC1D0
>>>>crw-rw----+ 1 root audio 116, 4 Jan 16 19:27 ./snd/pcmC0D0c
>>>>crw-rw----+ 1 root audio 116, 3 Jan 16 19:52 ./snd/pcmC0D0p
>>>>crw-rw----+ 1 root audio 116, 7 Jan 16 19:52 ./snd/pcmC1D3p
>>>>crw-rw----+ 1 root audio 116, 8 Jan 16 19:27 ./snd/pcmC1D7p
>>>>crw-rw----+ 1 root audio 116, 9 Jan 16 19:27 ./snd/pcmC1D8p
>>>>crw-rw----+ 1 root audio 116, 1 Jan 16 16:32 ./snd/seq
>>>>crw-rw----+ 1 root audio 116, 33 Jan 16 16:32 ./snd/timer
>>
>>>Maybe it sounds odd, but does you have sound when you remove yourself
>>>form the audio group?
>>>
>>>In Debian Testing systemd takes care for setting the right rights
>>>That is why you have a "+" at the end of the permissions.
>>
>>Thanks for looking into this. Actually I'm totally unaware of
>>all things systemd. I heard sound when in group audio say two
>>weeks ago.
>>
>>Nonetheless I did a
>>
>>sudo delgroup grfz audio
>>
>>logged in on a VT, played a .wav file with aplay: No sound.
>>
>>
>>>What is the outcome of:
>>>
>>>getfacl /dev/snd/hwC0D0
>>
>>c$ getfacl /dev/snd/hwC0D0
>>getfacl: Removing leading '/' from absolute path names
>># file: dev/snd/hwC0D0
>># owner: root
>># group: audio
>>user::rw-
>>user:grfz:rw-
>>group::rw-
>>mask::rw-
>>other::---
>>
>>Did not know this command but output looks good to me.
>>
> You are right, the right permissions are set.
>
> Do you have an .asoundrc file in your home directory?
>
> If you have one remove it.
> and try aplay again
>
> If you doesn't have one create one with:
>
> pcm.pulse {
> type pulse
> }
>
> ctl.pulse {
> type pulse
> }
>
> and try
> aplay -Dpulse foo.wav
There was no ~/.asoundrc. I filled one with your example and
tried aplay -D pulse ... --> no sound
> success,
this would be fine :-)
I also looked into the systems log files:
/var/log$ sudo cat $(ls -1tr|tail -n 12)|grep "Jan 21 " |egrep -i "so?u?nd|audio|pulse" |grep " 20:"
Jan 21 20:27:25 len kernel: [ 12.357828] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.357901] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.357969] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.358036] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.375636] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3232: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jan 21 20:27:25 len kernel: [ 12.375737] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375830] snd_hda_codec_realtek hdaudioC0D0: hp_outs=2 (0x16/0x15/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375917] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
Jan 21 20:27:25 len kernel: [ 12.375982] snd_hda_codec_realtek hdaudioC0D0: inputs:
Jan 21 20:27:25 len kernel: [ 12.376047] snd_hda_codec_realtek hdaudioC0D0: Dock Mic=0x19
Jan 21 20:27:25 len kernel: [ 12.376112] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a
Jan 21 20:27:25 len kernel: [ 12.376176] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
Jan 21 20:27:25 len kernel: [ 12.410551] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
Jan 21 20:27:25 len kernel: [ 12.412497] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
Jan 21 20:27:25 len kernel: [ 12.412695] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Jan 21 20:27:25 len kernel: [ 12.412780] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
Jan 21 20:27:25 len kernel: [ 12.412855] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
Jan 21 20:27:25 len kernel: [ 12.498071] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 21 20:27:25 len kernel: [ 12.514065] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input14
Jan 21 20:27:25 len kernel: [ 12.514138] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input15
Jan 21 20:27:25 len kernel: [ 12.514204] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input16
Jan 21 20:27:25 len kernel: [ 12.357828] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.357901] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.357969] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.358036] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.375636] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3232: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jan 21 20:27:25 len kernel: [ 12.375737] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375830] snd_hda_codec_realtek hdaudioC0D0: hp_outs=2 (0x16/0x15/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375917] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
Jan 21 20:27:25 len kernel: [ 12.375982] snd_hda_codec_realtek hdaudioC0D0: inputs:
Jan 21 20:27:25 len kernel: [ 12.376047] snd_hda_codec_realtek hdaudioC0D0: Dock Mic=0x19
Jan 21 20:27:25 len kernel: [ 12.376112] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a
Jan 21 20:27:25 len kernel: [ 12.376176] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
Jan 21 20:27:25 len kernel: [ 12.410551] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
Jan 21 20:27:25 len kernel: [ 12.412497] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
Jan 21 20:27:25 len kernel: [ 12.412695] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Jan 21 20:27:25 len kernel: [ 12.412780] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
Jan 21 20:27:25 len kernel: [ 12.412855] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
Jan 21 20:27:25 len kernel: [ 12.498071] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 21 20:27:25 len kernel: [ 12.514065] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input14
Jan 21 20:27:25 len kernel: [ 12.514138] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input15
Jan 21 20:27:25 len kernel: [ 12.514204] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input16
Jan 21 20:26:10 len systemd[1]: Starting Store Sound Card State...
Jan 21 20:26:11 len systemd[1]: Started Store Sound Card State.
Jan 21 20:27:25 len systemd[1]: Reached target Sound Card.
Jan 21 20:27:25 len systemd[1]: Starting Restore Sound Card State...
Jan 21 20:27:25 len systemd[1]: Started Restore Sound Card State.
Jan 21 20:26:10 len systemd[1]: Starting Store Sound Card State...
Jan 21 20:26:11 len systemd[1]: Started Store Sound Card State.
Jan 21 20:27:25 len systemd[1]: Reached target Sound Card.
Jan 21 20:27:25 len systemd[1]: Starting Restore Sound Card State...
Jan 21 20:27:25 len kernel: [ 12.357828] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.357901] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.357969] snd_hda_intel: unknown parameter 'vid' ignored
Jan 21 20:27:25 len kernel: [ 12.358036] snd_hda_intel: unknown parameter 'pid' ignored
Jan 21 20:27:25 len kernel: [ 12.375636] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3232: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jan 21 20:27:25 len kernel: [ 12.375737] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375830] snd_hda_codec_realtek hdaudioC0D0: hp_outs=2 (0x16/0x15/0x0/0x0/0x0)
Jan 21 20:27:25 len kernel: [ 12.375917] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
Jan 21 20:27:25 len kernel: [ 12.375982] snd_hda_codec_realtek hdaudioC0D0: inputs:
Jan 21 20:27:25 len kernel: [ 12.376047] snd_hda_codec_realtek hdaudioC0D0: Dock Mic=0x19
Jan 21 20:27:25 len kernel: [ 12.376112] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a
Jan 21 20:27:25 len kernel: [ 12.376176] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
Jan 21 20:27:25 len kernel: [ 12.410551] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
Jan 21 20:27:25 len kernel: [ 12.412497] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
Jan 21 20:27:25 len kernel: [ 12.412695] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Jan 21 20:27:25 len kernel: [ 12.412780] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
Jan 21 20:27:25 len kernel: [ 12.412855] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
Jan 21 20:27:25 len kernel: [ 12.498071] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 21 20:27:25 len kernel: [ 12.514065] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input14
Jan 21 20:27:25 len kernel: [ 12.514138] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input15
Jan 21 20:27:25 len kernel: [ 12.514204] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input16
Jan 21 20:27:25 len systemd[1]: Started Restore Sound Card State.
Jan 21 20:19:20 len sudo: grfz : TTY=pts/7 ; PWD=/var/log ; USER=root ; COMMAND=/bin/egrep -i so?u?nd|audio|pulse syslog
I cannot read the gibberish but there are at least no error
messages.
I feel helpless.
Ciao, Gregor
--
-... --- .-. . -.. ..--.. ...-.-
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-16 20:10 +0100
Re: ?? user in group audio -- but only root can play sound Ric Moore <wayward4now@gmail.com> - 2016-01-18 21:10 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-18 22:30 +0100
Re: ?? user in group audio -- but only root can play sound Jude DaShiell <jdashiel@panix.com> - 2016-01-19 04:30 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-19 12:50 +0100
Re: ?? user in group audio -- but only root can play sound Alexis <flexibeast@gmail.com> - 2016-01-19 13:10 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-19 18:30 +0100
Re: ?? user in group audio -- but only root can play sound Chris Bannister <cbannister@slingshot.co.nz> - 2016-01-20 07:10 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-21 17:00 +0100
Re: ?? user in group audio -- but only root can play sound <tomas@tuxteam.de> - 2016-01-21 21:50 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-21 11:30 +0100
Re: ?? user in group audio -- but only root can play sound Jude DaShiell <jdashiel@panix.com> - 2016-01-21 12:40 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-21 16:10 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-21 17:00 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-21 18:10 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-21 20:40 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-21 21:50 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-21 22:00 +0100
Re: ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-22 00:10 +0100
Re: ?? user in group audio -- but only root can play sound Jude DaShiell <jdashiel@panix.com> - 2016-01-22 00:20 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-22 10:30 +0100
Re: ?? user in group audio -- but only root can play sound Jude DaShiell <jdashiel@panix.com> - 2016-01-22 13:50 +0100
Re: ?? user in group audio -- but only root can play sound <tomas@tuxteam.de> - 2016-01-22 15:50 +0100
Re: ?? user in group audio -- but only root can play sound Jude DaShiell <jdashiel@panix.com> - 2016-01-22 17:20 +0100
Re: ?? user in group audio -- but only root can play sound Ric Moore <wayward4now@gmail.com> - 2016-01-22 19:40 +0100
Re: ?? user in group audio -- but only root can play sound Gene Heskett <gheskett@shentel.net> - 2016-01-22 15:50 +0100
Re: ?? user in group audio -- but only root can play sound Gene Heskett <gheskett@shentel.net> - 2016-01-22 15:50 +0100
Re: ?? user in group audio -- but only root can play sound Floris <jkfloris@dds.nl> - 2016-01-22 21:00 +0100
Re: ?? user in group audio -- but only root can play sound Gene Heskett <gheskett@shentel.net> - 2016-01-22 23:20 +0100
SOLVED ?? user in group audio -- but only root can play sound Gregor Zattler <telegraph@gmx.net> - 2016-01-22 21:50 +0100
Re: SOLVED ?? user in group audio -- but only root can play sound Ric Moore <wayward4now@gmail.com> - 2016-01-23 04:30 +0100
csiph-web