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
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:

storris
Posts: 3
Joined: 2012-04-22 18:57

Re: Debian Squeeze: No Sound

#66 Post by storris »

zedwards wrote: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.

Perfect thank you.

Now, I just need to convince every single Icon and the Minimize/Maximise/Close boxes to reappear/work

dupko
Posts: 1
Joined: 2012-06-25 13:41

Re: Debian Squeeze: No Sound

#67 Post by dupko »

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

PLS. HELP!!!!!!!

:)
i have the same problem :cry:
Image

tstanton
Posts: 1
Joined: 2012-08-27 04:51

Re: Debian Squeeze: No Sound

#68 Post by tstanton »

zedwards wrote: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.
I had a channel in alsamixer labeled "Beep." It was muted. Unmuting it seems to have fixed my sound as well. Thanks!

diegoiee
Posts: 1
Joined: 2012-10-30 00:22

Re: Debian Squeeze: No Sound

#69 Post by diegoiee »

All you need to do is : apt-get purge alsa*

sbrothy
Posts: 4
Joined: 2010-03-12 15:06

Re: Debian Squeeze: No Sound

#70 Post by sbrothy »

I also have no sound. I using a fresh squeeze install:

Code: Select all

# alsactl init
Unknown hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100200" "0x103c" "0x3577"
Hardware is initialized using a guess method

Code: Select all

# aplay piano2.wav
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:654: audio open error: No such file or directory
Following some of the instructions here I did

Code: Select all

# 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)
2 cards...

Code: Select all

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
... so I tried to create the suggested /etc/asound.conf as:

Code: Select all

pcm.!default front:SB
I also tried "Generic" but that didn't work. Rebooted and now

Code: Select all

# aplay piano2.wav
Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Also where the test option in gstreamer-properties gave an error message before it now actually looks like it's playing but still no sound!.

I'm going nuts! Can someone shed some light on this?

sbrothy
Posts: 4
Joined: 2010-03-12 15:06

Re: Debian Squeeze: No Sound

#71 Post by sbrothy »

Never mind. My problem was solved by putting

Code: Select all

options snd-hda-intel model=MyModel
into /etc/modprobe.d/sound.conf as described here:

https://help.ubuntu.com/community/HdaIntelSoundHowto

For my own future reference it's

options snd-hda-intel model=hp

and also put:

pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

in /etc/asound.conf

Reboot. Et voila.

ridingfish
Posts: 1
Joined: 2013-08-06 21:32

Re: Debian Squeeze: No Sound

#72 Post by ridingfish »

I had the same problem. Fresh install of squeezy and no sound. My configuration is the following:

Code: Select all

# lspci | grep -i audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)

# lsmod | grep snd
snd_usb_audio          50678  0 
snd_usb_lib            11200  1 snd_usb_audio
snd_seq_midi            3576  0 
snd_seq_midi_event      3684  1 snd_seq_midi
snd_rawmidi            12513  2 snd_usb_lib,snd_seq_midi
snd_hwdep               4054  1 snd_usb_audio
snd_intel8x0           19595  1 
snd_ac97_codec         79152  1 snd_intel8x0
ac97_bus                 710  1 snd_ac97_codec
snd_pcm                47226  3 snd_usb_audio,snd_intel8x0,snd_ac97_codec
snd_seq                35495  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12270  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34431  11 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
usbcore                99530  8 snd_usb_audio,snd_usb_lib,gspca_pac7311,gspca_main,usbhid,uhci_hcd,ehci_hcd
soundcore               3450  1 snd
snd_page_alloc          5061  2 snd_intel8x0,snd_pcm

# alsactl init
Unknown hardware: "ICH4" "Realtek ALC202 rev 0" "AC97a:414c4740" "0x1014" "0x1f00"
Hardware is initialized using a guess method

# cat /proc/asound/cards
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with ALC202 at irq 17
 1 [U0x93a0x2621   ]: USB-Audio - USB Device 0x93a:0x2621
                      USB Device 0x93a:0x2621 at usb-0000:00:1d.0-2, full speed

# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 093a:2621 Pixart Imaging, Inc. PAC731x Trust Webcam
Bus 002 Device 002: ID 04b3:310b IBM Corp. Red Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I went through all the thread with no luck. At the end, I solved by opening the "Volume Control: Intel 82801DB-ICH4 (Alsa mixer)", moving to the "Switches" tab and deselecting the "Jack Detect" field!

Hope it could solve for someone else too.

Post Reply