Hello fellow alsa users!

I have a M-Media CM8768  based PCI soundcard. It has 8 channels. On this card there are jacks for all 8 speakers in addition to line in and mic.

I am having problems getting all the channels to work correctly.

If I do:

 speaker-test -D surround71 -c8 -twav

all channels work - center front , sides L/R, rear L/R and center rear     --  except the front left and right

also, if i do

speaker-test -D surround51 -c6 -twav

the selected channels work  fine  --  except the front left and right.


but  if i do

speaker-test -D front -c2 -twav

the front speakers work (only)

aplay -D surround51 -c6 A6channelfile.wav

yields the same results.


I do not have an .asoundrc file (i think that may be needed? to route thees channels?)


Also I had a ensoniq card with 4 channels that worked fine before I got this one.
All I really need is 5.1 for now..

I was up till 4:00AM with this I hope some one can help :)

Below is gobs of info on my setup. Let me know if you  need more.


Thanks in advance
Stan


__________________________________________________________
ALSA Audio Debug v0.1.0 - Tue Feb 24 16:08:07 EST 2009
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux lasercon 2.6.23.1lx #1 Tue Nov 25 00:31:47 EST 2008 i686 i686 i386 GNU/Linux

Loaded Modules --------------------------------------------
snd_seq_midi            6016  0
snd_cmipci             29216  1
snd_seq_dummy           2692  0
snd_seq_oss            25856  0
snd_seq_midi_event      5760  2 snd_seq_midi,snd_seq_oss
snd_seq                40176  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            33280  0
snd_mixer_oss          12672  1 snd_pcm_oss
snd_pcm                58376  2 snd_cmipci,snd_pcm_oss
snd_page_alloc          7304  1 snd_pcm
snd_opl3_lib            7808  1 snd_cmipci
snd_timer              16516  3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep               6148  1 snd_opl3_lib
snd_mpu401_uart         6144  1 snd_cmipci
snd_rawmidi            17408  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          6028  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd                    38916  14 snd_cmipci,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

Modprobe Conf ---------------------------------------------
options snd-ens1371 index=0
options snd-cmipci index=0
alias snd-card-0 snd-cmipci
options snd-card-0 index=0

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23 06:09:18 2007 UTC).
 0 [CMI8768        ]: CMI8738-MC8 - C-Media CMI8768
                      C-Media CMI8768 at 0xb800, irq 11
  2:        : timer
  3:        : sequencer
  4: [ 0- 0]: raw midi
  5: [ 0- 2]: digital audio playback
  6: [ 0- 2]: digital audio capture
  7: [ 0- 1]: digital audio playback
  8: [ 0- 0]: digital audio playback
  9: [ 0- 0]: digital audio capture
 10: [ 0]   : control
00-02: CMI8738-MC8 : C-Media PCI IEC958 : playback 1 : capture 1
00-01: CMI8738-MC8 : C-Media PCI 2nd DAC : playback 1
00-00: CMI8738-MC8 : C-Media PCI DAC/ADC : playback 1 : capture 1
Client info
  cur  clients : 4
  peak clients : 4
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
    Connecting To: 15:0
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)
Client  15 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (-we-)
    Connected From: 0:1
Client  16 : "C-Media CMI8768" [Kernel]
  Port   0 : "C-Media CMI8768 MIDI" (RWeX)

Registers -------------------------------------------------
C-Media CMI8768 at 0xb800, irq 11

00: 00 00 00 00
04: 10 90 00 00
08: 0f 00 09 00
0c: 00 00 00 2b
10: 80 00 00 00
14: 00 00 00 00
18: 40 a0 80 08
1c: 00 00 00 00
20: 10 00 08 00
24: 00 01 00 00
90: 20 09 00 00

Mixer -----------------------------------------------------

Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 29 [94%]
  Front Right: Playback 29 [94%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 225 [88%] [-6.00dB] [on] Capture [off]
  Front Right: Playback 225 [88%] [-6.00dB] [on] Capture [off]
Simple mixer control 'Synth',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 23 [74%] [on] Capture [off]
  Front Right: Playback 23 [74%] [on] Capture [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Line-In Mode',0
  Capabilities: enum
  Items: 'Line-In' 'Rear Output' 'Bass Output'
  Item0: 'Line-In'
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 24 [77%] [on] Capture [on]
  Front Right: Playback 24 [77%] [on] Capture [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 31 Capture 0 - 7
  Mono: Playback 0 [0%] [off] Capture 0 [0%] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'Mic-In Mode',0
  Capabilities: enum
  Items: 'Mic-In' 'Center/LFE Output'
  Item0: 'Mic-In'
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 0 [0%] [off]
Simple mixer control 'IEC958 5V',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Copyright',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Monitor',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Phase Inverse',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Select',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Valid',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Loop',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Four Channel Mode',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0c  pcmC0D1p  pcmC0D2p  timer
midiC0D0   pcmC0D0p  pcmC0D2c  seq

CPU -------------------------------------------------------
model name    : Pentium III (Coppermine)
cpu MHz        : 551.268

RAM -------------------------------------------------------
MemTotal:       191756 kB
SwapTotal:      524280 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
00:04.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
00:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)