Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Squeeze: No Sound

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
mosesx
Posts: 3
Joined: 2011-02-08 22:39

Re: Debian Squeeze: No Sound

#46 Post by mosesx »

deuxcroix wrote:Hi guys, I sadly mst say none of the solutions given worked for me.
My on board sound chip is broken, so I installed a USB sound card, which I prefer not to change.
The USB sound card is listed in alsamixer, Gnome mixer, and wherever it may be, for I am certain the system knows about it.
I still cannot hear any sound, and my alsamixer's PCM volume meter is set at its maximum of -0.06. THIS is odd in the first place.
Had the same problem, my Solution is from:http://gstreamer-devel.966125.n4.nabble ... 77658.html

So actually gnome provides to set the default audio sink through the gstreamer-properties (which was/is (?) usually located under System>>Preferences>>Multimedia but is not there in Squeeze. You can call it from the command line.

Code: Select all

$ gstreamer-properties
Select your alsa as plugin and your usb-sound card as device. This will change the gconf key "audiosink". According to the thread mentioned Rhythmbox/totem/... will ignore that setting and use "musicaudiosink" instead which is not set by gstreamer-properties.

To adjust that open gconf (applications>>System Tools>>Configuration Editor) and under
system>>gstreamer>>0.10>>default
copy the value from "audiosink" (which was adjusted by gstreamer-properties) to "musicaudiosink".

Worked like a charme for me. There also is a bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598314

deuxcroix
Posts: 2
Joined: 2007-05-28 22:29
Contact:

Re: Debian Squeeze: No Sound

#47 Post by deuxcroix »

Thank you @mosesx for the tip!

It worked well for me.
The problem I have now is with the concurrent access to sound card. It seems I can't have two audio outputs at the same time. And it is quite annoying.
I found somewhere a post about concurrency and /dev/dsp, I willl return and post if something goes well.
Do this problem applies for you, too?

mosesx
Posts: 3
Joined: 2011-02-08 22:39

Re: Debian Squeeze: No Sound

#48 Post by mosesx »

The problem I have now is with the concurrent access to sound card. It seems I can't have two audio outputs at the same time. And it is quite annoying.
I found somewhere a post about concurrency and /dev/dsp, I willl return and post if something goes well.
Do this problem applies for you, too?
Yep. It's weird however, everything worked fine under Lenny. I would say it's not the right audiosink yet. My lenny entry in gconf for "musicaudiosink" was

Code: Select all

halaudiosink udi=/org/freedesktop/Hal/devices/usb_device_ccd_77_noserial_if0_alsa_playback_0
.

That however does not work anymore.

mosesx
Posts: 3
Joined: 2011-02-08 22:39

Re: Debian Squeeze: No Sound

#49 Post by mosesx »

The problem I have now is with the concurrent access to sound card. It seems I can't have two audio outputs at the same time. And it is quite annoying.
Found this:
http://ptspts.blogspot.com/2009/03/how- ... -have.html

The first two paragraphs did it for me:
Use

Code: Select all

aplay -l | awk '/^card/{print$3}'|sort|uniq

in a terminal to find out the name of your usb sound device. As I realized this hw:1,0, or better the number assigned to the sound card can change from reboot to reboot but the name does not.

Than for global setting put

Code: Select all

defaults.pcm.!card Headset
defaults.ctl.!card Headset
defaults.pcm.!device 0
defaults.ctl.!device 0
into /etc/asound.conf. Replace Headset by the name of your soundcard, in my case U0xcc0x77.

Than I reverted the changes in gconf and set all keys containing audiosink to autodetect. And you have to restart alsa by

Code: Select all

/etc/init.d/alsa-utils restart
or restart the computer.

Now all gnome programs use the usb and mixing works. Hope that helps.

Short and useless general complain: Why is there now way to set the default soundcard via gnome-sound-properties as it used to be?

greyowl
Posts: 1
Joined: 2011-02-12 15:05

Re: Debian Squeeze: No Sound

#50 Post by greyowl »

Penguin Skinner wrote:Try running 'alsactl init' (and BTW don't be surprised if it returns some kind of error message saying it can't identify your card and is guessing at the settings; it guess pretty good. :) )
Thank you! this made my sound work using vlc media player. Im using debian squeeze on emachine em350 intel atom450

lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

lsmod | grep snd
snd_hda_codec_realtek 163294 1
snd_hda_intel 16811 1
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4054 1 snd_hda_codec
snd_pcm 47226 2 snd_hda_intel,snd_hda_codec
snd_seq 35463 0
snd_timer 12258 2 snd_pcm,snd_seq
snd_seq_device 3673 1 snd_seq
snd 34375 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm

alsactl init
Unknown hardware: "HDA-Intel" "Realtek ALC272" "HDA:10ec0272,10250349,00100001" "0x1025" "0x0349"
Hardware is initialized using a guess method

User avatar
Arkhos
Posts: 99
Joined: 2011-01-19 13:16

Re: Debian Squeeze: No Sound

#51 Post by Arkhos »

ironcitadel wrote:I believe the problem is with pulseaudio and not alsa. I noticed that the sound was totally muted each time I logged in to Gnome. I googled around a bit for an answer and found something that works for me. In the file /etc/pulse/default.pa I commented out the line "load-module module-console-kit", rebooted and the system sounds started playing.
Thanks this solved my problem. My new issue now is to make the sound noise less while using skype. Any ideas on this one? or how to make skype communication better?

Thanks.

User avatar
Arkhos
Posts: 99
Joined: 2011-01-19 13:16

Re: Debian Squeeze: No Sound

#52 Post by Arkhos »

I just lost my sound again while using Rhythmbox. Any clear solution???

PLS. HELP!!!!!!!

:)

User avatar
Arkhos
Posts: 99
Joined: 2011-01-19 13:16

Re: Debian Squeeze: No Sound

#53 Post by Arkhos »

Arkhos wrote:I just lost my sound again while using Rhythmbox. Any clear solution???

PLS. HELP!!!!!!!

:)
I finally solved my problem by just uninstalling pulseaudio and set my gstreamer-properties to ALSA with this setup it removed the noise heard while using SKYPE on MIC.
I hope this would last and be stable enough to not revisit the problem again.

Thanks.

abozhilov
Posts: 1
Joined: 2011-03-10 23:11

Re: Debian Squeeze: No Sound

#54 Post by abozhilov »

I had the same problem as many of you.
Someone was wrote that if I delete the `.` dirs in my home directory it will solve the problem. As he was wrote it solved the problem, but it's not very elegant solution.
I solved the problem in a little bit different way.

Code: Select all

fuser -km /dev/snd 


I run as root and after restart I had sound. Probably I think it's a little bit safe if I kill only users processes, but I haven't tried yet.

Hope this helps.

paivakil
Posts: 434
Joined: 2009-02-15 11:57

Re: Debian Squeeze: No Sound

#55 Post by paivakil »

Wild guess - for those complaining of no sound after an upgrade:-

Applications like vlc and totem (other xine based applications too) store device data in respective configuration files in users home directory. Probably, moving away the configuration files and restarting the applications may help.
It's not the software that's free; it's you.

OldMicro
Posts: 8
Joined: 2011-02-26 00:43

Re: Debian Squeeze: No Sound - Solved

#56 Post by OldMicro »

I was having sound problems after upgrading Google-Chrome.
I am running Squeeze with Xfce on an old vprMatrix computer. I noticed Alsa mixer in the menu and set all the controls to max, but no change. Then I went to the Aumix terminal version and set pcm and pcm2 to max and I have plenty of volume. I hope this will help others.

Polaris96
Posts: 555
Joined: 2009-06-17 18:37

Re: Debian Squeeze: No Sound

#57 Post by Polaris96 »

did anyone actually find a resolution for the

Code: Select all

root@Polaris:# alsactl init
alsactl: parse:1655: Unable to open file '/usr/share/alsa/init/ca0106': No such file or directory
issue?

EVERYTHING is scrambled, now. sound hasn't worked in ages and I've been using the motherboard audio for playback, but i can't get the mic channel to feed anything except alsamixer.

I'm going nuts, here. i really loathe multimedia issues, and Alsa's documentation is god awful!

btw. I doubt it's kde or pulseaudio. i have neither.
for as long as the world remains. for as long as time remains. so, too, will I remain. To serve. To help. And to make my contribution. Also, never forget our family at debianuserforums.org If we can't solve your problem, they probably can.

brenden1096
Posts: 20
Joined: 2011-03-27 11:58

Re: Debian Squeeze: No Sound

#58 Post by brenden1096 »

I had this issue on my laptop. I tried almost everything trying to figure out what was wrong. Use the kernel from backports.

Code: Select all

deb http://backports.debian.org/debian-backports squeeze-backports main
Install the kernel from backports and that hopefully will fix the issue. :p

thoronaug
Posts: 1
Joined: 2011-08-31 21:38

Re: Debian Squeeze: No Sound

#59 Post by thoronaug »

I finally found the problem with the sound in a fresh Debian Squeeze and I want to share because could help some people here.

I've recently bought a little nettop and after installing Squeeze I realized sound wasn't working. I've searched on google for hours, and read several threads in several forums. Finally, a simple command gave me the solution: lspci.

Code: Select all

root@debianVantDomo:~# lspci|grep -i audio
00:01.1 Audio device: ATI Technologies Inc Device 1314
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
I have two audio devices. Further investigation lead me to know first of them is an HDMI audio interface and the other is the audio card I wanted to use. The problem is Debian takes first of them as default sound device.
We can easily change the system default sound device creating (if is not present) or editing /etc/asound.conf (or ~/.asoundrc) with the following line:

Code: Select all

pcm.!default front:<name>
where <name> is the name of the card you want to use.

You can get card names using:

Code: Select all

aplay -l | awk '/^card/{print$3}'|sort|uniq
or more complete information :

Code: Select all

aplay -l
Then, restart the system and it's done!
I hope this will be helpful.

jack520
Posts: 2
Joined: 2011-07-30 07:47

Re: Debian Squeeze: No Sound

#60 Post by jack520 »

bmc5311 wrote:squeeze - amd64 2.6.30-1
- gnome

had all the same problem as most of you today.
i tried all of the suggestions in this thread, no joy.

here's what i did
- i had amarok installed
- apt-get autoremove amarok
- logged out and logged back in again and my sound was back to normal.
is kde the culprit? i only run a few kde apps, k3b and k9 copy, was giving amarok a try because songbird has been broken since i upgraded to squeeze.
i'm not smart enough to know why it worked.... hopefully it'll provide another piece of the puzzle for one of you smart folks :D
thinkpad x200 /testing amd64/openbox
optiplex 755 /testing amd64/openbox

http://www.debianuserforums.org/Coach Purses
I am a new here ,look forward to make more friends here ,thank you.

colorfull
Posts: 1
Joined: 2011-09-26 21:04

Re: Debian Squeeze: No Sound

#61 Post by colorfull »

ironcitadel wrote:I believe the problem is with pulseaudio and not alsa. I noticed that the sound was totally muted each time I logged in to Gnome. I googled around a bit for an answer and found something that works for me. In the file /etc/pulse/default.pa I commented out the line "load-module module-console-kit", rebooted and the system sounds started playing.


It works for me but uncomment the line "load-module module-alsa-sink"

zedwards
Posts: 1
Joined: 2011-10-05 23:58

Re: Debian Squeeze: No Sound

#62 Post by zedwards »

Had the same problem, not sure if this is covered in the previous 5 pages, but:

run alsamixer
then type 'm' to unmute (which is signified by the 2 m's below each volume control.

M3TA4.net
Posts: 1
Joined: 2012-04-16 23:19

Re: Debian Squeeze: No Sound

#63 Post by M3TA4.net »

I had the same problem...

I found if I reset alsa then my usb headphones would work. So I created a script to load each time on startup.

This is what I did exactly.
http://www.m3ta4.net/hd/debian/partsix/ ... rtsix.html

and now I have sound working. I know this isnt the fix. But a great work around.

RTFM
Posts: 42
Joined: 2012-04-01 17:37

Re: Debian Squeeze: No Sound

#64 Post by RTFM »

Hi,

I have a fresh new Squeeze installation (Debian 6.0.4) with all available updates installed.

Before that I used Debian Lenny. In Debian Lenny I could hear sound well.

In Debian Squeeze sound output is very very quiet. I can hear sound if I put the volume of my stereo amplifier to a very high volume, but sound is very very quiet.

I did not change the sound hardware in my computer when I installed Debian Squeeze.

The following sound devices are part of my machine:

- a HDA Intel onboard sound device
- a Soundblaster Live 5.1 sound device

Debian Lenny was configured to only use the Soundblaster card for sound generation, and it worked well.

In my Debian Squeeze installation I was first confronted with the fact that /proc/asound/cards listed both sound devices, and the HDA Intel onboard sound device was the default device.

Note that I want to use the Soundblaster 5.1 Live card for sound generation, not the HDA intel onboard sound device.

So first I ensured that the HDA Intel sound device is not listed anymore in the /proc/asound/cards file. I achieved this by blacklisting the drivers for the HDA Intel sound device, i.e. I put the following lines into /etc/modprobe.d/alsa-base-blacklist.conf:

Code: Select all

blacklist snd_hda_intel
blacklist snd_hda_snd
blacklist snd_hda_codec
After that, after a reboot, the command

Code: Select all

cat /proc/asound/cards
showed and still shows:

Code: Select all

0 [Live           ]: EMU10K1 - SB Live! 5.1
                      SB Live! 5.1 (rev.7, serial:0x80641102) at 0xcf00, irq 20
So this is what I wanted: The HDA Intel sound device is not detected anymore.

The command

Code: Select all

lsmod | grep snd
gives now:

Code: Select all

snd_emu10k1_synth       4024  0 
snd_emux_synth         21906  1 snd_emu10k1_synth
snd_seq_virmidi         2955  1 snd_emux_synth
snd_seq_midi_emul       3554  1 snd_emux_synth
snd_emu10k1           105040  3 snd_emu10k1_synth
snd_seq_midi            3576  0 
snd_seq_midi_event      3684  2 snd_seq_virmidi,snd_seq_midi
snd_rawmidi            12513  3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_ac97_codec         79200  1 snd_emu10k1
ac97_bus                 710  1 snd_ac97_codec
snd_pcm                47226  2 snd_emu10k1,snd_ac97_codec
snd_page_alloc          4977  2 snd_emu10k1,snd_pcm
snd_util_mem            1548  2 snd_emux_synth,snd_emu10k1
snd_hwdep               4054  2 snd_emux_synth,snd_emu10k1
snd_seq                35327  5 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_midi_event
snd_timer              12270  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device          3673  5 snd_emu10k1_synth,snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq
snd                    34387  14 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_seq_device
soundcore               3450  1 snd
Seems fine to me.

The command

Code: Select all

aplay -l
gives

Code: Select all

**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Live [SB Live! 5.1], Gerät 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Sub-Geräte: 32/32
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
  Sub-Gerät #2: subdevice #2
  Sub-Gerät #3: subdevice #3
  Sub-Gerät #4: subdevice #4
  Sub-Gerät #5: subdevice #5
  Sub-Gerät #6: subdevice #6
  Sub-Gerät #7: subdevice #7
  Sub-Gerät #8: subdevice #8
  Sub-Gerät #9: subdevice #9
  Sub-Gerät #10: subdevice #10
  Sub-Gerät #11: subdevice #11
  Sub-Gerät #12: subdevice #12
  Sub-Gerät #13: subdevice #13
  Sub-Gerät #14: subdevice #14
  Sub-Gerät #15: subdevice #15
  Sub-Gerät #16: subdevice #16
  Sub-Gerät #17: subdevice #17
  Sub-Gerät #18: subdevice #18
  Sub-Gerät #19: subdevice #19
  Sub-Gerät #20: subdevice #20
  Sub-Gerät #21: subdevice #21
  Sub-Gerät #22: subdevice #22
  Sub-Gerät #23: subdevice #23
  Sub-Gerät #24: subdevice #24
  Sub-Gerät #25: subdevice #25
  Sub-Gerät #26: subdevice #26
  Sub-Gerät #27: subdevice #27
  Sub-Gerät #28: subdevice #28
  Sub-Gerät #29: subdevice #29
  Sub-Gerät #30: subdevice #30
  Sub-Gerät #31: subdevice #31
Karte 0: Live [SB Live! 5.1], Gerät 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Sub-Geräte: 8/8
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
  Sub-Gerät #2: subdevice #2
  Sub-Gerät #3: subdevice #3
  Sub-Gerät #4: subdevice #4
  Sub-Gerät #5: subdevice #5
  Sub-Gerät #6: subdevice #6
  Sub-Gerät #7: subdevice #7
Karte 0: Live [SB Live! 5.1], Gerät 3: emu10k1 [Multichannel Playback]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Seems fine to me.

In my normal user account I used the command

Code: Select all

alsamixer
to set the volumes right for Master, PCM and Wave. I put these channels to the value "80". I ensured that these channels are not muted.

Amarok is not installed.

I uninstalled the following packages:

Code: Select all

pulseaudio gnome-audio gstreamer0.10-pulseaudio libasound2-plugins libpulse-browse0 pulseaudio-util
Note that my desktop environment is KDE, not GNOME.

My normal user account is part of the audio group:

Code: Select all

id <my normal user account>
uid=1001(<my normal user account>) gid=1001(<my normal user account>) Gruppen=1001(<my normal user account>),29(audio)
When I start the test sound button in KDE system settings > Multimedia, then sound output is very very quiet.

In a shell belonging to my normal user account a mp3 file can successully be played with mpg123 and mplayer, but the sound is still very very quiet.

mpg123 does not show any errors while the mp3 file is played.

mplayer gives the following error messages while the mp3 file is played:

Code: Select all

Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
I do not have any remote control, so this is okay.
But to what do the lines

Code: Select all

mplayer: could not connect to socket
mplayer: No such file or directory
refer? Might this be a hint about that something is wrong with my sound configuration? Or do they refer to the missing joystick (seems so)?

But my general question is: How do I get a reasonable volume? Currently sound is very very quiet.
Note that during all the configuration changes that I applied, there was either no sound output at all, or it was (and is) very very quiet.
During all my configuration changes I never could hear a reasonable volume.

RTFM
Posts: 42
Joined: 2012-04-01 17:37

Re: Debian Squeeze: No Sound

#65 Post by RTFM »

RTFM wrote:But my general question is: How do I get a reasonable volume? Currently sound is very very quiet.
Note that during all the configuration changes that I applied, there was either no sound output at all, or it was (and is) very very quiet.
During all my configuration changes I never could hear a reasonable volume.
Problem solved: I took a nap, When I woke up I remembered that I had cleaned that external audio mixer device from dust before I installed Debian Squeeze. And I thought that I might had changed some settings of that external audio mixer device. And yes, I was right: I changed the input channel at that external mixer device, and voila: now I can hear sound well while Squeeze is running :mrgreen:

Post Reply