I am having difficulties getting ALSA to work on my Debian sarge
system running the 2.6.3 kernel.  I have a ASUS A7N8X motherboard with
the NVIDIA nForce2 chipset.  My speakers are hooked up to the "line out"
jack on the motherboard.

xmms works with the Output Plugin set to "OSS Driver 1.2.9", but I get
no sound if it is set to "ALSA 1.2.9 output plugin".

aplay works, but only if I use "-Dplug:front", or "-Dplughw".

$ aplay explosion.wav 
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
Stereo
  [NO SOUND]

$ aplay -Dfront test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
Stereo
Warning: rate is not accurate (requested = 22050Hz, got = 48000Hz)
         please, try the plug plugin (-Dplug:front)
  [SOUND, BUT DISTORTED]

$ aplay -Dplug:front test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
Stereo
  [SOUND!]

$ aplay -Drear explosion.wav 
ALSA lib pcm.c:1833:(snd_pcm_open_conf) Invalid type for PCM rear
definition (id: rear, value: cards.pcm.rear)
aplay: main:502: audio open error: Invalid argument
  [NO SOUND]

$ aplay -Dplughw test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
Stereo
  [SOUND!]

Any help would be appreciated!

$ uname -a
Linux pixel 2.6.3-1-k7 #2 Tue Feb 24 20:39:50 EST 2004 i686 GNU/Linux

$ dmesg | grep intel8x0
intel8x0_measure_ac97_clock: measured 49228 usecs
intel8x0: clocking to 47417

$ cat /proc/asound/cards
0 [nForce2        ]: NFORCE - NVidia nForce2
                     NVidia nForce2 at 0xe9000000, irq 21

$ cat /proc/asound/modules
0 snd_intel8x0

$ cat /proc/asound/card0/intel8x0
Intel8x0

Global control        : 0x00000002
Global status         : 0x00300100
AC'97 codecs ready    : primary

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05
15:41:49 2004 UTC).
Compiled on Feb 21 2004 for kernel 2.6.3-1-k7.

$ lsmod | grep snd
snd_seq_oss            34624  0 
snd_seq_midi_event      7936  1 snd_seq_oss
snd_seq                55312  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            53732  0 
snd_mixer_oss          19840  2 snd_pcm_oss
snd_intel8x0           34088  2 
snd_ac97_codec         62724  1 snd_intel8x0
snd_pcm               100196  2 snd_pcm_oss,snd_intel8x0
snd_timer              25924  2 snd_seq,snd_pcm
gameport                4736  1 snd_intel8x0
snd_page_alloc         12164  2 snd_intel8x0,snd_pcm
snd_mpu401_uart         7872  1 snd_intel8x0
snd_rawmidi            25120  1 snd_mpu401_uart
snd_seq_device          8136  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    55780  13
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10272  2 snd

$ amixer sget Line
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 29 [94%] [on] Capture [off]
  Front Right: Playback 30 [97%] [on] Capture [off]

$ ls -l /dev/audio0 /dev/dsp0 /dev/mixer0
crw-rw----    1 root     audio     14,   4 Jul 26  2003 /dev/audio0
crw-rw----    1 root     audio     14,   3 Jul 26  2003 /dev/dsp0
crw-rw----    1 root     audio     14,   0 Jul 26  2003 /dev/mixer0

$ groups
tom tape audio users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to