You are not logged in.

#1 2009-05-14 20:08:08

martibs
Member
Registered: 2006-08-24
Posts: 11

Problems with audio setup

I have just installed Archlinux on my Intel 64-bit PC, with an onboard audio controller. The installation went smooth, and when I got to the point of configuring the audio, I went for ALSA, as I've had some experience with it from another distro. I followed the walkthrough on the Archlinux wiki, however I ran into some problems. First off, I didn't know which module was the right one for my audio controller. At first I tried snd_intel8x0, but I later changed this to snd_hda_intel, as that was the one which showed up when I ran alsaconf. This is a little difficult to explain, but at some point, sound did actually come out of my speakers, but after a series of reboots (due to some complications with X), I didn't have sound anymore. My problem is that, as far as I can see, my audio configuration is as it should be, I just can't hear any sound. The reason why I figure the configuration is correct, is that everything "works" in gnome-volume-control. It says "HDA Intel (Alsa mixer)" and I can adjust volume for Master (however, not PCM). Another sign is that when I play a audio or video file in Totem, the volume control is working, which is not the case when audio is unavailable. However, when I run alsaconf now, it says it doesn't find any supported PCI card (which it did before).

What am I missing here? Why do I not have any sound? Am I using the wrong module? Here's some (useful) info:

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
# lsmod | grep snd
snd_hda_intel          29256  0 
snd_pcm_oss            42656  0 
snd_hda_codec_realtek   256852  1 
snd_hda_codec          68112  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep               8632  1 snd_hda_codec
snd_seq_oss            33760  0 
snd_seq_midi_event      7248  1 snd_seq_oss
snd_seq                57024  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7268  2 snd_seq_oss,snd_seq
snd_mixer_oss          16784  1 snd_pcm_oss
snd_ac97_codec        121720  0 
ac97_bus                1904  1 snd_ac97_codec
snd_pcm                80920  4 snd_hda_intel,snd_pcm_oss,snd_hda_codec,snd_ac97_codec
snd_timer              22816  2 snd_seq,snd_pcm
snd                    65928  12 snd_hda_intel,snd_pcm_oss,snd_hda_codec_realtek,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7680  1 snd
snd_page_alloc          9760  2 snd_hda_intel,snd_pcm
# ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 10 2009-05-14 21:54 controlC0
crw-rw---- 1 root audio 116,  9 2009-05-14 21:54 hwC0D0
crw-rw---- 1 root audio 116,  8 2009-05-14 21:54 pcmC0D0c
crw-rw---- 1 root audio 116,  7 2009-05-14 21:54 pcmC0D0p
crw-rw---- 1 root audio 116,  6 2009-05-14 21:54 pcmC0D1c
crw-rw---- 1 root audio 116,  5 2009-05-14 21:54 pcmC0D1p
crw-rw---- 1 root audio 116,  4 2009-05-14 21:54 pcmC0D2c
crw-rw---- 1 root audio 116,  3 2009-05-14 21:46 seq
crw-rw---- 1 root audio 116,  2 2009-05-14 21:46 timer
# grep MODULES= /etc/rc.conf
MODULES=(!pcspkr !snd_pcsp snd_hda_intel)
# amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-46.50dB] [on]
  Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-46.50dB] [on]
  Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-46.50dB] [on]
  Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-16.50dB] [on]
  Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-16.50dB] [on]
  Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'

Last edited by martibs (2009-05-14 20:13:00)

Offline

#2 2009-05-17 12:52:29

fishonadish
Member
Registered: 2006-11-04
Posts: 125

Re: Problems with audio setup

You have a lot of channels set to 0% volume there. Gnome-volume-control only shows a few channels by default (which is why you can only change 'Master' in it at the moment) - click preferences and make sure everything is selected.  Then turn up the volume in channels like 'Front' and 'Surround' to see if that's the issue.

Fishonadish

Offline

#3 2009-05-17 13:05:59

daJense
Member
Registered: 2009-05-17
Posts: 45

Re: Problems with audio setup

Also, make sure your user belongs to the group audio

Offline

#4 2009-05-17 17:21:08

martibs
Member
Registered: 2006-08-24
Posts: 11

Re: Problems with audio setup

I've now unmuted ALL of the channels, and my user was already in the audio group. Still no sound...

Offline

#5 2009-05-17 20:43:36

daJense
Member
Registered: 2009-05-17
Posts: 45

Re: Problems with audio setup

Do you get any sound doing a

aplay /usr/share/sounds/alsa/Rear_Center.wav

Trying to determine if you have a generall sound problem or if X just has a problem with your setup.

Offline

#6 2009-05-18 05:42:05

martibs
Member
Registered: 2006-08-24
Posts: 11

Re: Problems with audio setup

Did not get any sound from the shell, neither as user nor root.

As I modprobe the snd_hda_intel module, I do hear a small noise/tick from my speakers.

Offline

#7 2009-05-20 16:45:38

daJense
Member
Registered: 2009-05-17
Posts: 45

Re: Problems with audio setup

sorry, can't help you ...

Offline

#8 2009-05-20 17:06:15

martibs
Member
Registered: 2006-08-24
Posts: 11

Re: Problems with audio setup

I've now installed OSS, and sound is working. I'd rather use ALSA, though. Oh well...

Offline

Board footer

Powered by FluxBB