no user sound in sid

Getting your soundcard to work, using Debian on non-i386 hardware, etc

no user sound in sid

Postby rplantz » 2009-07-29 20:54

I upgraded from lenny to sid and lost my sound.

In my user account, I have no sound.

As su my sound works great when I use the alsa tests:
Code: Select all
debian:/home/bob# speaker-test -Dplug:surround51 -c6 -twav

speaks through both my left and right speakers, and
Code: Select all
debian:/home/bob# debian:/home/bob# aplay ring.wav
Playing WAVE 'ring.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

plays the ring sound. This would indicate that my drivers are working just fine.

But as user I get:
Code: Select all
bob@debian:~$ speaker-test -Dplug:suround51 -c6 -twave

speaker-test 1.0.20

Playback device is plug:suround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM suround51
Playback open error: -2,No such file or directory
^C

and
Code: Select all
bob@debian:~$ aplay -vv ring.wav
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

aplay: main:608: audio open error: Connection refused
bob@debian:~$


This would seem to be some sort of privileges issue, but Administration -> Users and Groups shows that I (as user) have "Use audio devices" User Privileges.
Given how each of us started life, our similarities are much more remarkable than our differences.
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26

Re: no user sound in sid

Postby anarchyinc666 » 2009-07-29 21:04

Have you tried;
Code: Select all
alsactl init

other than that I can be of no assistance, alsaconf no long works after update from .17 to .20 of alsa-utils.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s: a- C++++ UL++++ P+ L+++ E-- W+++ N- o-- K- w++
O- M-- V-- PS+++ PE+++ Y PGP+++ t-- 5-- X+++ R* tv+++ b DI++++ D
G e+ h---- r+++ y++++
------END GEEK CODE BLOCK------

Debian-SID Xfce
User avatar
anarchyinc666
 
Posts: 303
Joined: 2008-10-22 13:44

Re: no user sound in sid

Postby rplantz » 2009-07-29 21:29

Yes, and I get (alsactl only runs under root):
Code: Select all
debian:~# alsactl init
Unknown hardware: "NFORCE" "Realtek ALC658D" "AC97a:414c4781" "0x147b" "0x1c14"
Hardware is initialized using a guess method
/usr/share/alsa/init/default:51: control element not found
/usr/share/alsa/init/default:52: missing closing brace for format
/usr/share/alsa/init/default:52: error parsing CTL attribute
/usr/share/alsa/init/default:52: invalid rule
debian:~#


And my user sound is still broken.
Given how each of us started life, our similarities are much more remarkable than our differences.
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26

Re: no user sound in sid

Postby rplantz » 2009-07-30 02:03

Oops. I discovered that if I spell "surround" correctly, as in
Code: Select all
bob@debian:~$ speaker-test -Dplug:surround51 -c6 -twave

speaker-test 1.0.20

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 3 to 5461
Period size range from 3 to 5461
Using max buffer size 5460
Periods = 4
was set period_size = 1365
was set buffer_size = 5460
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
^C

both my speakers work just fine in user space. However, I still get an error with
Code: Select all
bob@debian:~$ aplay ring.wav
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

aplay: main:608: audio open error: Connection refused

as non-root user.
Given how each of us started life, our similarities are much more remarkable than our differences.
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26

Re: no user sound in sid

Postby rplantz » 2009-08-16 18:39

I installed pulseaudio and had sound for a while.

Then I installed xfce4 and user sound went away, both in xfce and in gnome.

I'm in xfce now. I get:
Code: Select all
bob@debian:~$ cat /etc/group | grep audio
audio:x:29:bob,pulse
bob@debian:~$


The test:
Code: Select all
bob@debian:~$ speaker-test -Dplug:surround51 -c6 -twave

speaker-test 1.0.20

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 3 to 5461
Period size range from 3 to 5461
Using max buffer size 5460
Periods = 4
was set period_size = 1365
was set buffer_size = 5460
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 8.531208
 0 - Front Left
^C
bob@debian:~$

shows that my speakers are working in user land. But
Code: Select all
bob@debian:~$ aplay ring.wav
Playing WAVE 'ring.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
bob@debian:~$

is silent even though PulseAudio Volume Meter (Playback) shows high levels of sound.

If I become root, I hear ring.wav just fine, but the PulseAudio Volume Meter shows nothing. (I'm not surprised that the PulseAudio meter doesn't show anything when I'm root since it was launched in user land.)

What am I doing wrong?
Given how each of us started life, our similarities are much more remarkable than our differences.
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26

Re: no user sound in sid

Postby hm_shurt » 2009-09-25 14:44

If you find a solution, please post it. I am having an identical problem on my Gentoo system since an upgrade to Pulse 0.9.15-r2. Gentoo also switched at this point from a system-level launch of pulseaudio to a user-level launch.

I suspect it is a config problem, since so few users seem to be having it. I also suspect it may have something to do with hal or dbus, but so far no proof.
hm_shurt
 
Posts: 1
Joined: 2009-09-25 14:27


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable