You are not logged in.

#1 2012-05-14 19:10:13

excelsior
Member
Registered: 2012-05-07
Posts: 5

Can't get sound to work on an Intel 82801 (ICH8)

I've completed a fresh install of Arch on an Acer laptop, and I can't seem to get the sound to work. I followed the steps in the 'Unofficial Beginner's Guide', and installed the alsa-utils, alsa-lib, alsa-plugins and alsa-oss packages. Then, I unmuted the Master, Speaker, Headhpones, PCM, Surround, Center and LFE channels in the alsamixer.

Here's my system's output of aplay -l

 [utkarsh@arch music]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

And here is my system's output for lsmod

[utkarsh@arch music]$ lsmod | grep '^snd'
snd_hda_codec_realtek   114123  1 
snd_hda_intel          23989  0 
snd_hda_codec          92713  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep               6556  1 snd_hda_codec
snd_pcm                74812  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              19222  1 snd_pcm
snd                    59656  6 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek

Does this mean that my drivers are being detected ?

Finally, here is the listing for my system's /dev/snd directory

[utkarsh@arch music]$ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root       60 Apr 26  2007 by-path
crw-rw---- 1 root audio 116,  8 Apr 26  2007 controlC0
crw-rw---- 1 root audio 116,  7 Apr 26  2007 hwC0D0
crw-rw---- 1 root audio 116,  6 Apr 26  2007 hwC0D1
crw-rw---- 1 root audio 116,  5 Apr 26  2007 pcmC0D0c
crw-rw---- 1 root audio 116,  4 Apr 26  2007 pcmC0D0p
crw-rw---- 1 root audio 116,  3 May 15 00:24 pcmC0D1p
crw-rw---- 1 root audio 116,  2 Apr 26  2007 pcmC0D2c
crw-rw---- 1 root audio 116,  1 Apr 26  2007 seq
crw-rw---- 1 root audio 116, 33 Apr 26  2007 timer

Since controlC0 and pcmC0D0p are there, I think the modules have been detected and loaded properly.

But I still can't get any sound.


Also, playing a file on mplayer gives me the following output.

[utkarsh@arch music]$ mplayer *.mp3
MPlayer SVN-r34799-4.6.3 (C) 2000-2012 MPlayer Team
183 audio & 398 video codecs
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.

Playing 1ff17da85235b318ed68bc2c471c233d.mp3.
libavformat version 54.2.100 (internal)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video

Notice the [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory line in the output. I've looked in the /dev directory, and there is obviously, no directory named dsp.

I tried running mplayer after creating a directory named dsp in  dev, but then it gave me a similar output  - [AO OSS] audio_setup: Can't open audio device /dev/dsp: Is a directory

I can't figure out what to do. Any ideas ?

Last edited by excelsior (2012-05-14 19:11:32)

Offline

Board footer

Powered by FluxBB