Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #163409
| From | Floris <jkfloris@dds.nl> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: ?? user in group audio -- but only root can play sound |
| Date | 2016-01-21 22:00 +0100 |
| Message-ID | <qTuuL-276-17@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <qTkF4-3Th-7@gated-at.bofh.it> <qTpOq-7iT-29@gated-at.bofh.it> <qTqUa-8kQ-3@gated-at.bofh.it> <qTtfl-1mO-29@gated-at.bofh.it> <qTul4-23q-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Op Thu, 21 Jan 2016 21:43:53 +0100 schreef Floris <jkfloris@dds.nl>:
> Op Thu, 21 Jan 2016 20:32:21 +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?
>>>>>>
>
>>>>>
>>>>> In Debian Testing systemd takes care for setting the right rights
>>>>> That is why you have a "+" at the end of the permissions.
>>>>
>>>>
>>>>> 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 :-)
>>
>
> Sorry, now I see you have multiple sound cards.
>
> use aplay -l to show all your cards
>
> for example
> **** List of PLAYBACK Hardware Devices ****
> card 0: MID [HDA Intel MID], device 0: VT1828S Analog [VT1828S Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: MID [HDA Intel MID], device 2: VT1828S Alt Analog [VT1828S Alt
> Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: MID [HDA Intel MID], device 3: VT1828S Digital [VT1828S Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 3: Speaker [Logitech USB Speaker], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> Then test them with:
> $ mplayer -ao alsa:device=hw=0.0 some-music-file
> and change 0.0 to your cards. The first 0 is the card number, the second
> the device number.
> So I can test 0.0, 0.2, 0.3 and 3.0 and replace some-music-file with
> your own music.
> / and * controls the volume
>
> Is there sound on any of the devices?
Edit.
maybe you have only
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II,
III)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 3.0 (03.0) of 231.0 (03:51.0) 0.3%
and still no sound
Then (you can use an other terminal)
$ alsamixer
Use [F6] to select the right soundcard and make sure the volume levels are
set to 100
Floris
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