You are not logged in.

#1 2010-01-29 18:04:15

raymboard
Member
Registered: 2010-01-22
Posts: 61

speaker-test doesn't work.

Hi.

I can play sound but speaker-test doesn't work:

$ speaker-test

speaker-test 1.0.22

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_direct.c:1608:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument
ALSA lib pcm_direct.c:1608:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument
ALSA lib pcm_direct.c:1608:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument
ALSA lib pcm_direct.c:1608:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument
ALSA lib pcm_direct.c:1608:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument

audio group does exist.


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#2 2010-01-29 18:21:31

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: speaker-test doesn't work.

You are in the group of audio.
See in:

groups

Last edited by n0dix (2010-01-29 18:21:56)

Offline

#3 2010-01-29 19:00:57

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: speaker-test doesn't work.

Yes I am in that group:

audio:x:92:raymond

It does work as root though.

Last edited by raymboard (2010-01-29 19:01:28)


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#4 2010-01-29 19:38:10

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: speaker-test doesn't work.

raymboard wrote:

Yes I am in that group:

audio:x:92:raymond

Hahaha, please give me a penny for every time I've seen this mistake and I'll be a millionaire. You're ignoring *timing*. See that "groups" command that you were just referred to? Run it. Yes, run it, and post the exact results. The *exact* results, not some results you think might be relevant instead. Then reboot your PC, which is far easier to explain than "log out and log in again".

Offline

#5 2010-01-29 20:51:27

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: speaker-test doesn't work.

7 10 91 92 93 95 98 100 1000


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#6 2010-01-29 20:54:39

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: speaker-test doesn't work.

OK, I did that and it still doesn't work.


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#7 2010-01-29 21:03:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: speaker-test doesn't work.

raymboard wrote:

7 10 91 92 93 95 98 100 1000

What? Look at what I get:

$ groups
cdrom audio video games usb users vboxusers

So, what planet is your Unix from?

Offline

#8 2010-01-29 21:13:25

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: speaker-test doesn't work.

Archlinux.


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#9 2012-10-09 06:55:55

lisztinf
Member
From: Pisa
Registered: 2012-09-07
Posts: 5

Re: speaker-test doesn't work.

Hello,
  I had the very same problem.

It's a permission problem of /etc/group. Namely, you get that behaviour when /etc/group does not have read permissions for others.
Just check

 $ ls -l /etc/group 

and you should see 'rw-------'

You can solve that easily:

 # chmod a+r /etc/group 

This mess surely showed up when you replaced your old /etc/group with a /etc/group.pacnew after a system upgrade.

Offline

Board footer

Powered by FluxBB