Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-08-18 20:07 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-08-18 20:07 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox #1 SMP Fri
May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              08-18-2005 22:07 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info #0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info #1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0001191 Center channel and 32-bit emulation bro...
======================================================================

----------------------------------------------------------------------
 marcmerz - 08-18-05 21:56 
----------------------------------------------------------------------
BTW: The Asus P4P800VM Board does not have a NForce Chipset.

----------------------------------------------------------------------
 rlrevell - 08-18-05 22:07 
----------------------------------------------------------------------
So if it doesn't have an nforce chipset then why does changing NFORCE.conf
fix the problem?  What kind of audio chipset does it have?

Many users seem to be under the impression that there are hundreds of ALSA
developers, and that we have access to every device that there's an ALSA
driver for, because the vendors shower us with free hardware so that we
can work on drivers or something.

Anyway please try the attached patch.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox #1 SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386
GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
08-18-05 21:03 robert         Note Added: 0005852                          
08-18-05 21:05 robert         File Added: NFORCE.conf                      
08-18-05 21:27 rlrevell       Note Added: 0005854                          
08-18-05 21:32 rlrevell       Relationship added       duplicate of 0001191
08-18-05 21:56 marcmerz       Note Added: 0005856                          
08-18-05 22:03 rlrevell       File Added: nforce.patch                     
08-18-05 22:07 rlrevell       Note Added: 0005857                          
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-08-22 13:47 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-08-22 13:47 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox #1 SMP Fri
May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              08-22-2005 15:47 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info #0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info #1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0001191 Center channel and 32-bit emulation bro...
======================================================================

----------------------------------------------------------------------
 rlrevell - 08-18-05 22:07 
----------------------------------------------------------------------
So if it doesn't have an nforce chipset then why does changing NFORCE.conf
fix the problem?  What kind of audio chipset does it have?

Many users seem to be under the impression that there are hundreds of ALSA
developers, and that we have access to every device that there's an ALSA
driver for, because the vendors shower us with free hardware so that we
can work on drivers or something.

Anyway please try the attached patch.

----------------------------------------------------------------------
 rraptorr - 08-22-05 15:47 
----------------------------------------------------------------------
What the hell is happening here?
P4P800-VM motherboard DOES NOT HAVE NFORCE chipset.
It can be checked easily by strace -f -e open. It is not even touching
NFORCE.conf, it uses ICH4.conf. I've also downgraded whole alsa-lib to
1.0.8, no change at all. The only working solution is disabling lines with
pbus->dra = 1;.
It looks like the NFORCE issue was by mistake marked as a duplicate of
this one.

PS. Will try 1.0.10rc1 as soon as possible.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox #1 SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386
GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
08-18-05 21:03 robert         Note Added: 0005852                          
08-18-05 21:05 robert         File Added: NFORCE.conf                      
08-18-05 21:27 rlrevell       Note Added: 0005854                          
08-18-05 21:32 rlrevell       Relationship added       duplicate of 0001191
08-18-05 21:56 marcmerz       Note Added: 0005856                          
08-18-05 22:03 rlrevell       File Added: nforce.patch                     
08-18-05 22:07 rlrevell       Note Added: 0005857                          
08-22-05 15:47 rraptorr       Note Added: 0005898                          
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-08-18 19:56 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-08-18 19:56 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox #1 SMP Fri
May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              08-18-2005 21:56 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info #0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info #1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0001191 Center channel and 32-bit emulation bro...
======================================================================

----------------------------------------------------------------------
 rlrevell - 08-18-05 21:27 
----------------------------------------------------------------------
Because the ALSA developers can't possibly regression test every change
with every combination of hardware.  Why is this to hard for people to
understand?

Shouting at the developers isn't going to help.

How about some USEFUL info like a diff?

----------------------------------------------------------------------
 marcmerz - 08-18-05 21:56 
----------------------------------------------------------------------
BTW: The Asus P4P800VM Board does not have a NForce Chipset.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox #1 SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386
GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
08-18-05 21:03 robert         Note Added: 0005852                          
08-18-05 21:05 robert         File Added: NFORCE.conf                      
08-18-05 21:27 rlrevell       Note Added: 0005854                          
08-18-05 21:32 rlrevell       Relationship added       duplicate of 0001191
08-18-05 21:56 marcmerz       Note Added: 0005856                          
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-08-18 19:27 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-08-18 19:27 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox #1 SMP Fri
May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              08-18-2005 21:27 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info #0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info #1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 robert - 08-18-05 21:03 
----------------------------------------------------------------------
The flaw here is caused by alsa-lib-1.0.9.  Alsa-lib-1.0.8 works fine, as
do all of the driver revisions.  Alsa-lib-1.0.9 and alsa-driver-1.0.9b
will work provided that the file /usr/share/alsa/cards/NFORCE.conf is
replaced with the version from alsa-lib-1.0.8.  This is why your attempts
to use different driver versions have failed.  

Swap out the file and things should work fine -- no reboot necessary.

Note to developers:  This worked fine for several revisions.  WHY DID YOU
BREAK IT?

----------------------------------------------------------------------
 rlrevell - 08-18-05 21:27 
----------------------------------------------------------------------
Because the ALSA developers can't possibly regression test every change
with every combination of hardware.  Why is this to hard for people to
understand?

Shouting at the developers isn't going to help.

How about some USEFUL info like a diff?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox #1 SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386
GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
08-18-05 21:03 robert         Note Added: 0005852                          
08-18-05 21:05 robert         File Added: NFORCE.conf                      
08-18-05 21:27 rlrevell       Note Added: 0005854                          
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-08-18 19:03 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-08-18 19:03 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox #1 SMP Fri
May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              08-18-2005 21:03 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info #0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info #1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 phision - 07-10-05 20:08 
----------------------------------------------------------------------
I have da same problem. My motherboard is ASUS P4P800 with integrated audio
controler, using the AD1985 chip. After some hacking around in the
alsa-drivers I found a way to resolve this issue. Below I am talking about
alsa-driver-1.0.9b.

In the file alsa-driver-1.0.9b/alsa-kernel/pci/intel8x0.c, line 2043, in
the function
static int __devinit snd_intel8x0_mixer(intel8x0_t *chip, int ac97_clock,
const char *quirk_override)

I commented the following two lines:

        else
                pbus->dra = 1;

and this resolved the problem with the center and surround not being
heard. I am not sure exactly how this fixes the issue and if this is the
right solution.

Anyway, the rear left and rear right channels still come out of the
center/lfe jack and vice versa (i.e. they are exchanged compared to the
jacks in windows).

----------------------------------------------------------------------
 robert - 08-18-05 21:03 
----------------------------------------------------------------------
The flaw here is caused by alsa-lib-1.0.9.  Alsa-lib-1.0.8 works fine, as
do all of the driver revisions.  Alsa-lib-1.0.9 and alsa-driver-1.0.9b
will work provided that the file /usr/share/alsa/cards/NFORCE.conf is
replaced with the version from alsa-lib-1.0.8.  This is why your attempts
to use different driver versions have failed.  

Swap out the file and things should work fine -- no reboot necessary.

Note to developers:  This worked fine for several revisions.  WHY DID YOU
BREAK IT?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox #1 SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386
GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
08-18-05 21:03 robert         Note Added: 0005852                          
======================================================================




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-07-10 18:08 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-07-10 18:08 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              07-10-2005 20:08 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-26-05 19:45 
----------------------------------------------------------------------
Hi Takashi,

did you have a chance to look at my additional notes/files and comments
from another user?

Thanks and kind regards,
Marcus


----------------------------------------------------------------------
 phision - 07-10-05 20:08 
----------------------------------------------------------------------
I have da same problem. My motherboard is ASUS P4P800 with integrated audio
controler, using the AD1985 chip. After some hacking around in the
alsa-drivers I found a way to resolve this issue. Below I am talking about
alsa-driver-1.0.9b.

In the file alsa-driver-1.0.9b/alsa-kernel/pci/intel8x0.c, line 2043, in
the function
static int __devinit snd_intel8x0_mixer(intel8x0_t *chip, int ac97_clock,
const char *quirk_override)

I commented the following two lines:

        else
                pbus->dra = 1;

and this resolved the problem with the center and surround not being
heard. I am not sure exactly how this fixes the issue and if this is the
right solution.

Anyway, the rear left and rear right channels still come out of the
center/lfe jack and vice versa (i.e. they are exchanged compared to the
jacks in windows).

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
06-26-05 19:45 marcmerz       Issue Monitored: tiwai                       
06-26-05 19:45 marcmerz       Note Added: 0005265                          
06-28-05 10:49 perex          Assigned To              perex =>            
06-28-05 10:49 perex          Category                 0_compilation problem_!!!
=> PCI - intel8x0
07-10-05 19:57 phision        Issue Monitored: phision                     
07-10-05 20:08 phision        Note Added: 0005443                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-23 18:21 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-23 18:21 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-23-2005 20:21 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rraptorr - 06-22-05 22:32 
----------------------------------------------------------------------
Alsa-driver 1.0.6 is not working with recent kernels. I've altered it a
bit, to make it compile and work, but this isn't good solution (by altered
I mean commented out some code:)).

----------------------------------------------------------------------
 marcmerz - 06-23-05 20:21 
----------------------------------------------------------------------
I do not want to put any pressure but is this going to be solved easily?
The reason i ask is, i use this computer as a digital videorecorder and
for the time being, i can not listen to any ac3 DD5.1 broadcastings as
long as i stay with this 'test-setup'. Therefore i would go back to the
OSS opensound driver and check back in a couple of weeks in case this
issue needs more intensive debugging.

Thanks for looking at this problem anyway.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
06-22-05 22:59 marcmerz       Note Edited: 0005152                         
06-23-05 20:21 marcmerz       Note Added: 0005194                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 20:32 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 20:32 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 22:32 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 22:24 
----------------------------------------------------------------------
I tried to install to confirm that Driver 1.06 is working with my setup as
well and got this:

cinemaxx:/usr/src/alsa-driver-1.0.6 # ./configure --with-debug=full
--with-cards=intel8x0 --with-sequencer=yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa-driver-1.0.6
checking cross compile...
checking for directory with kernel source...
/lib/modules/2.6.11.4-20a-smp-matrox/build
checking for kernel version... 2.6.11.4-20a-smp-matrox
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC)
3.3.5 20050117 (prerelease) (SUSE Linux)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building
kernel.

checking for built-in ALSA... "no"
checking for existing ALSA module... "yes"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "yes"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for kernel linux/dma-mapping.h... "yes"
Removing a dummy linux/dma-mapping.h.
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "yes"
Removing a dummy linux/device.h.
checking for kernel linux/jiffies.h... "yes"
Removing a dummy linux/jiffies.h.
checking for kernel linux/compat.h... "yes"
Removing a dummy linux/compat.h.
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
Removing a dummy linux/moduleparam.h.
checking for kernel linux/syscalls.h... "yes"
Removing a dummy linux/syscalls.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... module
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules...
/lib/modules/2.6.11.4-20a-smp-matrox/kernel/sound
checking for verbose printk... on
checking for debug level... full
checking for ISA support in kernel... "yes"
checking for processor type... i586
checking for i386 machine type... default
checking for SMP... "yes"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "yes"
checking for snprintf... "yes"
checking for scnprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "no"
checking for PDE... "yes"
checking for pci_set_consistent_dma_mask... "yes"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "yes"
checking for new remap_page_range... "yes"
checking for kcalloc... "yes"
checking for saved_config_space in pci_dev... "yes"
Removing local linux/pnp.h.
checking for driver version... 1.0.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "yes"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... intel8x0
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
Hacking autoconf.h...


So ./configure went ok but then:


cinemaxx:/usr/src/alsa-driver-1.0.6 # make
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/usr/src/alsa-driver-1.0.6'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/acore'
copying file alsa-kernel/core/info.c
patching file info.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 495
(offset 1 line).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 508
(offset 1 line).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 923
(offset 1 line).
copying file alsa-kernel/core/pcm_native.c
patching file pcm_native.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2735
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 2755
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 2808
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 2835
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 2922
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 2951
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 2980
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=9 succeeded at 3009
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=10 succeeded at 3038
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=11 succeeded at 3061
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=12 succeeded at 3079
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=13 succeeded at 3099
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=14 succeeded at 3115
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=15 succeeded at 3151
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=16 succeeded at 3163
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=17 succeeded at 3201
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=18 succeeded at 3350
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=19 succeeded at 3366
(offset 6 lines).
copying file alsa-kernel/core/control.c
patching file control.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 1237
(offset 309 lines).
copying file alsa-kernel/core/hwdep.c
patching file hwdep.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 321
(offset 29 lines).
copying file alsa-kernel/core/init.c
patching file init.c
copying file alsa-kernel/core/rawmidi.c
patching file rawmidi.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 1338
(offset 22 lines).
copying file alsa-kernel/core/sound.c
patching file sound.c
copying file alsa-kernel/core/timer.c
patching file timer.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 996
(offset 27 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 1809
(offset 76 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 1837
(offset 56 lines).
copying file alsa-kernel/core/memalloc.c
patching file memalloc.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 95
(offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 148
(offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 211
with fuzz 2 (offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 725
(offset -178 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 390
(offset 14 lines).
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 2228
(offset 15 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2406
(offset 15 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 2533
(offset 15 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/oss'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq'
copying file alsa-kernel/core/seq/seq.c
patching file seq.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 51
with fuzz 2 (offset 2 lines).
copying file alsa-kernel/core/seq/seq_clientmgr.c
patching file seq_clientmgr.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2500
(offset 45 lines).
copying file alsa-kernel/core/seq/seq_memory.c
patching file seq_memory.c
make[4]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq/instr'
make[4]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq/instr'
make[4]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq/oss'
copying file alsa-kernel/core/seq/oss/seq_oss.c
patching file seq_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 203
(offset 9 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 312
(offset 9 lines).
make[4]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq/oss'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/i2c'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/i2c/other'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/i2c/other'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/i2c'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/opl3'
copying file alsa-kernel/drivers/opl3/opl3_lib.c
patching file opl3_lib.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 414
(offset -2 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/opl3'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/opl4'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/opl4'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/mpu401'
copying file alsa-kernel/drivers/mpu401/mpu401.c
patching file mpu401.c
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/mpu401'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/vx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/vx'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/isa'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/msnd'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/msnd'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/ad1816a'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/ad1816a'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/ad1848'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/ad1848'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/cs423x'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/cs423x'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/es1688'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/es1688'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/gus'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/gus'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/opti9xx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/opti9xx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/sb'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/sb'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/wavefront'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/wavefront'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/synth'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/synth/emux'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/synth/emux'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/synth'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/pci'
copying file alsa-kernel/pci/intel8x0.c
patching file intel8x0.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 762
(offset 13 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 773
(offset 13 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 2841
(offset 28 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/pdplus'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/pdplus'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/azx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/azx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ac97'
copying file alsa-kernel/pci/ac97/ac97_proc.c
patching file ac97_proc.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 322
with fuzz 1.
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 341
with fuzz 1 (offset 2 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 398
(offset 2 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ac97'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ali5451'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ali5451'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/au88x0'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/au88x0'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/cs46xx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/cs46xx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/emu10k1'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/emu10k1'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ice1712'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ice1712'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/korg1212'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/korg1212'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/mixart'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/mixart'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/nm256'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/nm256'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/rme9652'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/rme9652'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/trident'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/trident'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ymfpci'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ymfpci'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/vx222'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/vx222'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/usb'
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 68
(offset -1 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 1912
(offset 16 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 1929
(offset 16 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 3222
(offset 109 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 3243
(offset 109 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 3265
(offset 109 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/usb/usx2y'
copying file alsa-kernel/usb/usx2y/usbusx2y.c
patching file usbusx2y.c
copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c
patching file usX2Yhwdep.c
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/usb/usx2y'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/usb'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia/vx'
copying file alsa-kernel/pcmcia/vx/vxpocket.c
patching file vxpocket.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 69
with fuzz 1 (offset -4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 176
(offset -5 lines).
copying file alsa-kernel/pcmcia/vx/vx_entry.c
patching file vx_entry.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 151
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 234
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 333
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 387
(offset 4 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia/vx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia/pdaudiocf'
copying file alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c
patching file pdaudiocf.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 29
with fuzz 1.
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 59
with fuzz 1 (offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 81
(offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 193
(offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 280
(offset -6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 378
(offset -6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 449
(offset -6 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia/pdaudiocf'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia'
make[1]: Leaving directory `/usr/src/alsa-driver-1.0.6'
make -C /lib/modules/2.6.11.4-20a-smp-matrox/build
SUBDIRS=/usr/src/alsa-driver-1.0.6/kbuild  modules
make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a'

WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is
 missing; modules will have no modversions.

  CC [M]  /usr/src/alsa-driver-1.0.6/kbuild/../acore/memalloc.o
/usr/src/alsa-driver-1.0.6/acore/memalloc.c:54: error: initializer element
is not constant
/usr/src/alsa-driver-1.0.6/acore/memalloc.c:54: error: (near
initialization for `__param_arr_enable.num')
make[3]: *** [/usr/src/alsa-driver-1.0.6/kbuild/../acore/memalloc.o] Error
1
make[2]: *** [/usr/src/alsa-driver-1.0.6/kbuild/../acore] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.6/kbuild] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a'
make: *** [compile] Error 2


Therefore for the moment i can not test with Alsa Driver 1.06 (got the
tarball from the alsa-project homepage.

@rlrevell
I can confirm that with setting "Surround Jack Mode" to "Independent" i
have only front speaker working, too. It is like rraptorr said, the
P4P800-VM does only have 3 jacks and in 6-channel mode the rear,center/lfe
is shared with mic in,line in.

----------------------------------------------------------------------
 rraptorr - 06-22-05 22:32 
----------------------------------------------------------------------
Alsa-driver 1.0.6 is not working with recent kernels. I've altered it a
bit, to make it compile and work, but this isn't good solution (by altered
I mean commented out some code:)).

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
06-22-05 22:32 rraptorr       Note Added: 0005153                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 20:24 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 20:24 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 22:24 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rraptorr - 06-22-05 21:26 
----------------------------------------------------------------------
With Independent only front is working. Isn't Independent supposed to work
with MoBo's which have separate output and input? P4P800-VM has 3 jacks
and rear,center/lfe is shared with mic in,line in.

----------------------------------------------------------------------
 marcmerz - 06-22-05 22:24 
----------------------------------------------------------------------
I tried to install to confirm that Driver 1.06 is working with my setup as
well and got this:

cinemaxx:/usr/src/alsa-driver-1.0.6 # ./configure --with-debug=full
--with-cards=intel8x0 --with-sequencer=yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa-driver-1.0.6
checking cross compile...
checking for directory with kernel source...
/lib/modules/2.6.11.4-20a-smp-matrox/build
checking for kernel version... 2.6.11.4-20a-smp-matrox
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC)
3.3.5 20050117 (prerelease) (SUSE Linux)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building
kernel.

checking for built-in ALSA... "no"
checking for existing ALSA module... "yes"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "yes"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for kernel linux/dma-mapping.h... "yes"
Removing a dummy linux/dma-mapping.h.
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "yes"
Removing a dummy linux/device.h.
checking for kernel linux/jiffies.h... "yes"
Removing a dummy linux/jiffies.h.
checking for kernel linux/compat.h... "yes"
Removing a dummy linux/compat.h.
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
Removing a dummy linux/moduleparam.h.
checking for kernel linux/syscalls.h... "yes"
Removing a dummy linux/syscalls.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... module
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules...
/lib/modules/2.6.11.4-20a-smp-matrox/kernel/sound
checking for verbose printk... on
checking for debug level... full
checking for ISA support in kernel... "yes"
checking for processor type... i586
checking for i386 machine type... default
checking for SMP... "yes"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "yes"
checking for snprintf... "yes"
checking for scnprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "no"
checking for PDE... "yes"
checking for pci_set_consistent_dma_mask... "yes"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "yes"
checking for new remap_page_range... "yes"
checking for kcalloc... "yes"
checking for saved_config_space in pci_dev... "yes"
Removing local linux/pnp.h.
checking for driver version... 1.0.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "yes"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... intel8x0
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
Hacking autoconf.h...


So ./configure went ok but then:


cinemaxx:/usr/src/alsa-driver-1.0.6 # make
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/usr/src/alsa-driver-1.0.6'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/acore'
copying file alsa-kernel/core/info.c
patching file info.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 495
(offset 1 line).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 508
(offset 1 line).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 923
(offset 1 line).
copying file alsa-kernel/core/pcm_native.c
patching file pcm_native.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2735
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 2755
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 2808
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 2835
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 2922
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 2951
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 2980
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=9 succeeded at 3009
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=10 succeeded at 3038
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=11 succeeded at 3061
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=12 succeeded at 3079
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=13 succeeded at 3099
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=14 succeeded at 3115
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=15 succeeded at 3151
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=16 succeeded at 3163
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=17 succeeded at 3201
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=18 succeeded at 3350
(offset 6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=19 succeeded at 3366
(offset 6 lines).
copying file alsa-kernel/core/control.c
patching file control.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 1237
(offset 309 lines).
copying file alsa-kernel/core/hwdep.c
patching file hwdep.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 321
(offset 29 lines).
copying file alsa-kernel/core/init.c
patching file init.c
copying file alsa-kernel/core/rawmidi.c
patching file rawmidi.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 1338
(offset 22 lines).
copying file alsa-kernel/core/sound.c
patching file sound.c
copying file alsa-kernel/core/timer.c
patching file timer.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 996
(offset 27 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 1809
(offset 76 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 1837
(offset 56 lines).
copying file alsa-kernel/core/memalloc.c
patching file memalloc.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 95
(offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 148
(offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 211
with fuzz 2 (offset 3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 725
(offset -178 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 390
(offset 14 lines).
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 2228
(offset 15 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2406
(offset 15 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 2533
(offset 15 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/oss'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq'
copying file alsa-kernel/core/seq/seq.c
patching file seq.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 51
with fuzz 2 (offset 2 lines).
copying file alsa-kernel/core/seq/seq_clientmgr.c
patching file seq_clientmgr.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 2500
(offset 45 lines).
copying file alsa-kernel/core/seq/seq_memory.c
patching file seq_memory.c
make[4]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq/instr'
make[4]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq/instr'
make[4]: Entering directory `/usr/src/alsa-driver-1.0.6/acore/seq/oss'
copying file alsa-kernel/core/seq/oss/seq_oss.c
patching file seq_oss.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 203
(offset 9 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 312
(offset 9 lines).
make[4]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq/oss'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore/seq'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/acore'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/i2c'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/i2c/other'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/i2c/other'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/i2c'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/opl3'
copying file alsa-kernel/drivers/opl3/opl3_lib.c
patching file opl3_lib.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 succeeded at 414
(offset -2 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/opl3'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/opl4'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/opl4'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/mpu401'
copying file alsa-kernel/drivers/mpu401/mpu401.c
patching file mpu401.c
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/mpu401'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/drivers/vx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers/vx'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/drivers'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/isa'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/msnd'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/msnd'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/ad1816a'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/ad1816a'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/ad1848'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/ad1848'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/cs423x'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/cs423x'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/es1688'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/es1688'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/gus'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/gus'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/opti9xx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/opti9xx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/sb'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/sb'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/isa/wavefront'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa/wavefront'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/isa'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/synth'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/synth/emux'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/synth/emux'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/synth'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/pci'
copying file alsa-kernel/pci/intel8x0.c
patching file intel8x0.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 762
(offset 13 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 773
(offset 13 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 2841
(offset 28 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/pdplus'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/pdplus'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/azx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/azx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ac97'
copying file alsa-kernel/pci/ac97/ac97_proc.c
patching file ac97_proc.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 322
with fuzz 1.
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 341
with fuzz 1 (offset 2 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 398
(offset 2 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ac97'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ali5451'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ali5451'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/au88x0'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/au88x0'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/cs46xx'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/cs46xx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/emu10k1'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/emu10k1'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ice1712'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ice1712'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/korg1212'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/korg1212'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/mixart'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/mixart'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/nm256'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/nm256'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/rme9652'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/rme9652'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/trident'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/trident'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/ymfpci'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/ymfpci'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pci/vx222'
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci/vx222'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/pci'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/usb'
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 68
(offset -1 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 1912
(offset 16 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 1929
(offset 16 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 3222
(offset 109 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 3243
(offset 109 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 3265
(offset 109 lines).
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/usb/usx2y'
copying file alsa-kernel/usb/usx2y/usbusx2y.c
patching file usbusx2y.c
copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c
patching file usX2Yhwdep.c
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/usb/usx2y'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/usb'
make[2]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia/vx'
copying file alsa-kernel/pcmcia/vx/vxpocket.c
patching file vxpocket.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 69
with fuzz 1 (offset -4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 176
(offset -5 lines).
copying file alsa-kernel/pcmcia/vx/vx_entry.c
patching file vx_entry.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 151
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 234
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 333
(offset 4 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 387
(offset 4 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia/vx'
make[3]: Entering directory `/usr/src/alsa-driver-1.0.6/pcmcia/pdaudiocf'
copying file alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c
patching file pdaudiocf.c
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 succeeded at 29
with fuzz 1.
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 succeeded at 59
with fuzz 1 (offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 succeeded at 81
(offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 succeeded at 193
(offset -3 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 succeeded at 280
(offset -6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 succeeded at 378
(offset -6 lines).
Hunk https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 succeeded at 449
(offset -6 lines).
make[3]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia/pdaudiocf'
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.6/pcmcia'
make[1]: Leaving directory `/usr/src/alsa-driver-1.0.6'
make -C /lib/modules/2.6.11.4-20a-smp-matrox/build
SUBDIRS=/usr/src/alsa-driver-1.0.6/kbuild  modules
make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a'

WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is
 missing; modules will have no modversions.

  CC [M]  /usr/src/alsa-driver-1.0.6/kbuild/../acore/memalloc.o
/usr/src/alsa-driver-1.0.6/acore/memalloc.c:54: error: initializer element
is not constant
/usr/src/alsa-driver-1.0.6/acore/memalloc.c:54: error: (near
initialization for `__param_arr_enable.num')
make[3]: *** [/usr/src/alsa-driver-1.0.6/kbuild/../acore/memalloc.o] Error
1
make[2]: *** [/usr/src/alsa-driver-1.0.6/kbuild/../acore] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.6/kbuild] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a'
make: *** [compile] Error 2


Therefore for the moment i can not test with Alsa Driver 1.06 (got the
tarball from the alsa-project homepage.

@rlrevell
I can confirm that with setting "Surround Jack Mode" to "Independent" i
have only front speaker working, too. It is like rraptorr said, the
P4P800-VM does only have 3 jacks and in 6-channel mode the rear,center/lfe
is shared with mic in,line in.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
06-22-05 22:24 marcmerz       Note Added: 0005152                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 19:26 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 19:26 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 21:26 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rlrevell - 06-22-05 21:17 
----------------------------------------------------------------------
What happens if you set "Surround Jack Mode" to "Independent"?

----------------------------------------------------------------------
 rraptorr - 06-22-05 21:26 
----------------------------------------------------------------------
With Independent only front is working. Isn't Independent supposed to work
with MoBo's which have separate output and input? P4P800-VM has 3 jacks
and rear,center/lfe is shared with mic in,line in.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
06-22-05 21:18 marcmerz       File Added: codec97-marcmerz                    
06-22-05 21:26 rraptorr       Note Added: 0005151                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 19:18 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 19:18 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 21:17 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 21:13 
----------------------------------------------------------------------
After getting /dev/dsp back (see my former note) i did the test again and
attached both files.

@rraptorr
Thx for confirming my problems.

cinemaxx:/proc/asound/card0/codec97#0 # lsmod|grep snd
snd_seq_oss            39552  0
snd_seq_midi_event     12032  1 snd_seq_oss
snd_seq                61840  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device         13068  2 snd_seq_oss,snd_seq
snd_pcm_oss            64928  0
snd_mixer_oss          24192  1 snd_pcm_oss
snd_intel8x0           35008  2
snd_ac97_codec         76920  1 snd_intel8x0
snd_pcm               107780  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              29700  2 snd_seq,snd_pcm
snd                    66820  11
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm

Rgds,
Marcus

----------------------------------------------------------------------
 rlrevell - 06-22-05 21:17 
----------------------------------------------------------------------
What happens if you set "Surround Jack Mode" to "Independent"?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
06-22-05 21:17 rlrevell       Note Added: 0005150                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 19:13 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 19:13 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 21:13 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rraptorr - 06-22-05 20:35 
----------------------------------------------------------------------
OK, I've got same problem here (same MoBo Asus P4P800-VM). With alsa-driver
1.0.9b there is no sound from center/lfe. I was trying older versions and
I've found which version break this. Everything is working fine with 1.0.6
but not with 1.0.7. Kernel version 2.6.12.

Proc files from 1.0.6, 1.0.7 and 1.0.9b attached.

Also I've noticed that starting from 1.0.7 not only center/lfe is not
playing. But rear is coming from the jack normally used by center/lfe (as
in MoBo manual, and in 1.0.6). So it seems that center/lfe is swapped with
rear, but still there is no center/lfe on either jack.



----------------------------------------------------------------------
 marcmerz - 06-22-05 21:13 
----------------------------------------------------------------------
After getting /dev/dsp back (see my former note) i did the test again and
attached both files.

@rraptorr
Thx for confirming my problems.

cinemaxx:/proc/asound/card0/codec97#0 # lsmod|grep snd
snd_seq_oss            39552  0
snd_seq_midi_event     12032  1 snd_seq_oss
snd_seq                61840  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device         13068  2 snd_seq_oss,snd_seq
snd_pcm_oss            64928  0
snd_mixer_oss          24192  1 snd_pcm_oss
snd_intel8x0           35008  2
snd_ac97_codec         76920  1 snd_intel8x0
snd_pcm               107780  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              29700  2 snd_seq,snd_pcm
snd                    66820  11
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm

Rgds,
Marcus

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
06-22-05 20:35 rraptorr       Note Edited: 0005147                         
06-22-05 20:35 rraptorr       Note Deleted: 0005148                        
06-22-05 20:50 rraptorr       Issue Monitored: rraptorr                    
06-22-05 21:06 marcmerz       Note Edited: 0005146                         
06-22-05 21:13 marcmerz       Note Added: 0005149                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 18:34 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 18:34 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 20:34 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rraptorr - 06-22-05 20:18 
----------------------------------------------------------------------
OK, I've got same problem here (same MoBo Asus P4P800-VM). With alsa-driver
1.0.9b there is no sound from center/lfe. I was trying older versions and
I've found which version break this. Everything is working fine with 1.0.6
but not with 1.0.7. Kernel version 2.6.12.

Proc files from 1.0.6, 1.0.7 and 1.0.9b attached.

----------------------------------------------------------------------
 rraptorr - 06-22-05 20:34 
----------------------------------------------------------------------
Also I've noticed that starting from 1.0.7 not only center/lfe is not
playing. But rear is coming from the jack normally used by center/lfe (as
in MoBo manual, and in 1.0.6). So it seems that center/lfe is swapped with
rear, but still there is no center/lfe on either jack.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
06-22-05 20:19 rraptorr       File Added: codec97                          
06-22-05 20:34 rraptorr       Note Added: 0005148                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 18:18 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 18:18 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 20:18 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 19:55 
----------------------------------------------------------------------
So this is what i did:

I got the driver-1.08 tarball and used ./configure --with-debug=full
--with-cards=intel8x0, then make and make install (as usual).

The driver got installed without problems.

cinemaxx:/usr/src/alsa-driver-1.0.8 # rcalsasound start
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
/usr/sbin/alsactl: set_control:873: failed to obtain info for control
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=39
(No such file or directory)
/usr/sbin/alsactl: set_control:873: failed to obtain info for control
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=40
(No such file or directory)

cinemaxx:/usr/src/alsa-driver-1.0.8 # lsmod|grep snd
snd_intel8x0           35008  0
snd_ac97_codec         76920  1 snd_intel8x0
snd_pcm               107780  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    66820  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm

cinemaxx:/usr/src/alsa-driver-1.0.8 # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.8.
Compiled on Jun 22 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).

I guess because i didn't use --with-oss=yes i did not get a /dev/dsp
device. I ran the following test with mplayer -ao alsa -channels 6
/tmp/sdl/chan-id.wav

cinemaxx:/proc/asound/card0/codec97#0 # mplayer -ao alsa -channels 6
/tmp/sdl/chan-id.wav
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


85 audio & 196 video codecs
Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
You will not be able to use your remote control.
Playing /tmp/sdl/chan-id.wav.
Audio file detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 6 ch, s16le, 4233.6 kbit/100.00% (ratio: 529200->529200)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Checking audio filter chain for 44100Hz/6ch/s16le -> 44100Hz/6ch/s16le...
AF_pre: 44100Hz/6ch/s16le
alsa-init: 1 soundcard found, using: surround51
alsa: 44100 Hz/6 channels/12 bpf/61440 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 6ch s16le (2 bps)
Building audio filter chain for 44100Hz/6ch/s16le -> 44100Hz/6ch/s16le...
Video: no video
Starting playback...
A:   6.4 (06.4)  0.3%
alsa-uninit: pcm closed

Exiting... (End of file)

It did not sound ok (i.e. i still have the problem with center and lfe).
Because of the missing /dev/dsp i got:

cinemaxx:/proc/asound/card0/codec97#0 # a52dec -o oss6
/tmp/sdl/stream.ac3
a52dec-0.7.5-cvs - by Michel Lespinasse <walken@zoy.org> and Aaron
Holtzman
Can not open /dev/dsp
Can not open output

The two files /proc/asound/card0/codec97#0/ac97#0-0 and
/proc/asound/card0/codec97#0/ac97#0-0+regs are attached and were taken
when playing the wav file with mplayer.

HTH,
Marcus

----------------------------------------------------------------------
 rraptorr - 06-22-05 20:18 
----------------------------------------------------------------------
OK, I've got same problem here (same MoBo Asus P4P800-VM). With alsa-driver
1.0.9b there is no sound from center/lfe. I was trying older versions and
I've found which version break this. Everything is working fine with 1.0.6
but not with 1.0.7. Kernel version 2.6.12.

Proc files from 1.0.6, 1.0.7 and 1.0.9b attached.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
06-22-05 19:57 marcmerz       File Added: alsasound                        
06-22-05 20:18 rraptorr       Note Added: 0005147                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 17:55 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 17:55 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 19:55 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 18:03 
----------------------------------------------------------------------
Note that the version included in SUSE 9.3 is almost ALSA 1.0.9rc3.  It
already includes the changes around the surround jack handling in 1.0.9.

----------------------------------------------------------------------
 marcmerz - 06-22-05 19:55 
----------------------------------------------------------------------
So this is what i did:

I got the driver-1.08 tarball and used ./configure --with-debug=full
--with-cards=intel8x0, then make and make install (as usual).

The driver got installed without problems.

cinemaxx:/usr/src/alsa-driver-1.0.8 # rcalsasound start
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
Starting sound driver: snd-intel8x0 done
/usr/sbin/alsactl: set_control:873: failed to obtain info for control
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=39
(No such file or directory)
/usr/sbin/alsactl: set_control:873: failed to obtain info for control
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=40
(No such file or directory)

cinemaxx:/usr/src/alsa-driver-1.0.8 # lsmod|grep snd
snd_intel8x0           35008  0
snd_ac97_codec         76920  1 snd_intel8x0
snd_pcm               107780  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    66820  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm

cinemaxx:/usr/src/alsa-driver-1.0.8 # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.8.
Compiled on Jun 22 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).

I guess because i didn't use --with-oss=yes i did not get a /dev/dsp
device. I ran the following test with mplayer -ao alsa -channels 6
/tmp/sdl/chan-id.wav

cinemaxx:/proc/asound/card0/codec97#0 # mplayer -ao alsa -channels 6
/tmp/sdl/chan-id.wav
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


85 audio & 196 video codecs
Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
You will not be able to use your remote control.
Playing /tmp/sdl/chan-id.wav.
Audio file detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 6 ch, s16le, 4233.6 kbit/100.00% (ratio: 529200->529200)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Checking audio filter chain for 44100Hz/6ch/s16le -> 44100Hz/6ch/s16le...
AF_pre: 44100Hz/6ch/s16le
alsa-init: 1 soundcard found, using: surround51
alsa: 44100 Hz/6 channels/12 bpf/61440 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 6ch s16le (2 bps)
Building audio filter chain for 44100Hz/6ch/s16le -> 44100Hz/6ch/s16le...
Video: no video
Starting playback...
A:   6.4 (06.4)  0.3%
alsa-uninit: pcm closed

Exiting... (End of file)

It did not sound ok (i.e. i still have the problem with center and lfe).
Because of the missing /dev/dsp i got:

cinemaxx:/proc/asound/card0/codec97#0 # a52dec -o oss6
/tmp/sdl/stream.ac3
a52dec-0.7.5-cvs - by Michel Lespinasse <walken@zoy.org> and Aaron
Holtzman
Can not open /dev/dsp
Can not open output

The two files /proc/asound/card0/codec97#0/ac97#0-0 and
/proc/asound/card0/codec97#0/ac97#0-0+regs are attached and were taken
when playing the wav file with mplayer.

HTH,
Marcus

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
06-22-05 19:55 marcmerz       File Added: ac97#0-0                         
06-22-05 19:55 marcmerz       File Added: ac97#0-0+regs                    
06-22-05 19:55 marcmerz       Note Added: 0005146                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 16:03 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 16:03 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 18:03 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:55 
----------------------------------------------------------------------
Ok, you were faster than i (my note 0005130 was written before i read your
note 0005129).

I will try to get the driver-1.08 tarball and without deinstalling ALSA
just install it like you described and dump the files.

----------------------------------------------------------------------
 tiwai - 06-22-05 18:03 
----------------------------------------------------------------------
Note that the version included in SUSE 9.3 is almost ALSA 1.0.9rc3.  It
already includes the changes around the surround jack handling in 1.0.9.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
06-22-05 18:03 tiwai          Note Added: 0005138                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 10:55 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 10:55 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 12:55 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:51 
----------------------------------------------------------------------
Do you read what i write or is my english not good enough?

1.08 does have the same symptons i described in my bug report, i.e. no
center in DD5.1 and LFE from front left speaker. Therefore i installed
1.09b from sources to see whether it helps. I realized that it does not
make any difference and subscribed to the alsa-user ML from where i got
directed to the BTS.

Of course i can try to deinstall 1.09b trying to reactivate 1.08 in Suse
9.3 (which is a pain because i have to remove ALSA completely i guess
ignoring all dependencies in YasT with the risk to get a completely
instable 9.3 installation).

If you think you have an advantage when seeing the (non-working) dump from
/proc/asound/card0/codec97#0/* files in version 1.08, ok.

But i am a bit reluctant to go back to 1.08 because of the complexity of
dependencies in Suse 9.3 concerning ALSA (to get it right i guess i have
to remove ALSA completely and install it back from the CD's with YasT).

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:55 
----------------------------------------------------------------------
Ok, you were faster than i (my note 0005130 was written before i read your
note 0005129).

I will try to get the driver-1.08 tarball and without deinstalling ALSA
just install it like you described and dump the files.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
06-22-05 12:55 marcmerz       Note Added: 0005131                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 10:51 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 10:51 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 12:51 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 12:48 
----------------------------------------------------------------------
Let me rephrase:  You can still install 1.0.8 alsa-driver with the recent
kernel, too.  Some drivers like usb might not, but intel8x0 should be OK. 
You can keep alsa-lib and alsa-utils 1.0.9 with the old drivers.

So, just get alsa-driver-1.0.8 tarball, and configure with
--with-debug=full --with-cards=intel8x0, and install it.  Then dump the
ac97 proc files on that system.

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:51 
----------------------------------------------------------------------
Do you read what i write or is my english not good enough?

1.08 does have the same symptons i described in my bug report, i.e. no
center in DD5.1 and LFE from front left speaker. Therefore i installed
1.09b from sources to see whether it helps. I realized that it does not
make any difference and subscribed to the alsa-user ML from where i got
directed to the BTS.

Of course i can try to deinstall 1.09b trying to reactivate 1.08 in Suse
9.3 (which is a pain because i have to remove ALSA completely i guess
ignoring all dependencies in YasT with the risk to get a completely
instable 9.3 installation).

If you think you have an advantage when seeing the (non-working) dump from
/proc/asound/card0/codec97#0/* files in version 1.08, ok.

But i am a bit reluctant to go back to 1.08 because of the complexity of
dependencies in Suse 9.3 concerning ALSA (to get it right i guess i have
to remove ALSA completely and install it back from the CD's with YasT).

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
06-22-05 12:51 marcmerz       Note Added: 0005130                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 10:48 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 10:48 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 12:48 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 12:44 
----------------------------------------------------------------------
Then why not try to instal 1.0.8 for testing?

----------------------------------------------------------------------
 tiwai - 06-22-05 12:48 
----------------------------------------------------------------------
Let me rephrase:  You can still install 1.0.8 alsa-driver with the recent
kernel, too.  Some drivers like usb might not, but intel8x0 should be OK. 
You can keep alsa-lib and alsa-utils 1.0.9 with the old drivers.

So, just get alsa-driver-1.0.8 tarball, and configure with
--with-debug=full --with-cards=intel8x0, and install it.  Then dump the
ac97 proc files on that system.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
06-22-05 12:48 tiwai          Note Added: 0005129                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 10:44 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 10:44 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 12:44 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:37 
----------------------------------------------------------------------
Like i said, i do not have a working ALSA version (i.e. 1.04/1.05 with Suse
9.1, Kernel 2.6.5) anymore, because of a HD crash. That was the reason for
me to install Suse 9.3 (which comes with Kernel 2.6.11.4-20a) after buying
a new harddisk. I only have a working setup using the OSS drivers from
http://www.opensound.com/ which i posted in note 0005113 but i clearly
understand that this information does not help you at all. The non-working
version with my current Alsa version 1.09b is in note 0005116. It did not
work with Alsa 1.08 (which comes with Suse 9.3). As i installed 1.09b i do
not have a dump with version 1.08.

I can only upload those files (as in note 0005116) later during the day
when i get back home.

----------------------------------------------------------------------
 tiwai - 06-22-05 12:44 
----------------------------------------------------------------------
Then why not try to instal 1.0.8 for testing?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
06-22-05 12:44 tiwai          Note Added: 0005128                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22 10:37 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22 10:37 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 12:37 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 11:53 
----------------------------------------------------------------------
Also, I don't understand which file is the well-working (as of 1.0.5) and
which one is badly-working (as of 1.0.9)...

----------------------------------------------------------------------
 marcmerz - 06-22-05 12:37 
----------------------------------------------------------------------
Like i said, i do not have a working ALSA version (i.e. 1.04/1.05 with Suse
9.1, Kernel 2.6.5) anymore, because of a HD crash. That was the reason for
me to install Suse 9.3 (which comes with Kernel 2.6.11.4-20a) after buying
a new harddisk. I only have a working setup using the OSS drivers from
http://www.opensound.com/ which i posted in note 0005113 but i clearly
understand that this information does not help you at all. The non-working
version with my current Alsa version 1.09b is in note 0005116. It did not
work with Alsa 1.08 (which comes with Suse 9.3). As i installed 1.09b i do
not have a dump with version 1.08.

I can only upload those files (as in note 0005116) later during the day
when i get back home.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
06-22-05 12:37 marcmerz       Note Added: 0005127                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22  9:53 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22  9:53 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 11:53 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 11:49 
----------------------------------------------------------------------
Could you upload the files instead of pasting here?

----------------------------------------------------------------------
 tiwai - 06-22-05 11:53 
----------------------------------------------------------------------
Also, I don't understand which file is the well-working (as of 1.0.5) and
which one is badly-working (as of 1.0.9)...

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
06-22-05 11:53 tiwai          Note Added: 0005125                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22  9:49 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22  9:49 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 11:49 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 pzad - 06-22-05 10:04 
----------------------------------------------------------------------
I don't think this is same bug as jcdutton has. IIRC it was problem with
nForce motherboard + ALC650 codec, but this is intel8x0 with Analog
Devices AD1980.
I think, there can be bug in AD1980 code (there was change in mixer).

There was some corection for AD1958
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_patch.c?r1=1.83&r2=1.84

----------------------------------------------------------------------
 tiwai - 06-22-05 11:49 
----------------------------------------------------------------------
Could you upload the files instead of pasting here?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
06-22-05 11:49 tiwai          Note Added: 0005124                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-22  8:04 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-22  8:04 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 10:04 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 rlrevell - 06-22-05 01:43 
----------------------------------------------------------------------
I don't think we need any more info, jcdutton was able to reproduce the
bug.

----------------------------------------------------------------------
 pzad - 06-22-05 10:04 
----------------------------------------------------------------------
I don't think this is same bug as jcdutton has. IIRC it was problem with
nForce motherboard + ALC650 codec, but this is intel8x0 with Analog
Devices AD1980.
I think, there can be bug in AD1980 code (there was change in mixer).

There was some corection for AD1958
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_patch.c?r1=1.83&r2=1.84

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
06-22-05 01:43 rlrevell       Note Added: 0005117                          
06-22-05 10:04 pzad           Note Added: 0005119                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-21 23:20 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-21 23:20 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-22-2005 01:20 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 marcmerz - 06-22-05 01:08 
----------------------------------------------------------------------
Just to be sure you get a dump _during_ playback of an AC3 stream i will
post the two dumps again using a52dec -o oss4 (i can only do oss6 later
today):

# cat ac97#0-0
0-0/0: Analog Devices AD1980

Capabilities     : -headphone out-
DAC resolution   : 20-bit
ADC resolution   : 16-bit
3D enhancement   : No 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Double rate slots: 7/8
Extended ID      : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=3/4 VRA
PCM front DAC    : 48000Hz
PCM Surr DAC     : 48000Hz
PCM LFE DAC      : 48000Hz
PCM ADC          : 48000Hz
SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz



AD18XX configuration
Unchained        : 0x1000,0x0000,0x0000
Chained          : 0x0000,0x0000,0x0000

# cat ac97#0-0+regs
0:00 = 0090
0:02 = 0606
0:04 = 0606
0:06 = 801f
0:08 = 0000
0:0a = 0000
0:0c = 801f
0:0e = 801f
0:10 = 0000
0:12 = 0000
0:14 = 0000
0:16 = 9f9f
0:18 = 0000
0:1a = 0000
0:1c = 0000
0:1e = 0000
0:20 = 0400
0:22 = 0000
0:24 = 0000
0:26 = 800f
0:28 = 03c7
0:2a = 05c1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 0000
0:38 = 0000
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1005
0:76 = 6420
0:78 = 0000
0:7a = 0000
0:7c = 4144
0:7e = 5370

----------------------------------------------------------------------
 marcmerz - 06-22-05 01:20 
----------------------------------------------------------------------
Well, ok: Managed to do a dump using 'a52dec -o oss6' as well:

# cat /proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Analog Devices AD1980

Capabilities     : -headphone out-
DAC resolution   : 20-bit
ADC resolution   : 16-bit
3D enhancement   : No 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Double rate slots: 7/8
Extended ID      : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=3/4 VRA
PCM front DAC    : 48000Hz
PCM Surr DAC     : 48000Hz
PCM LFE DAC      : 48000Hz
PCM ADC          : 48000Hz
SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz



AD18XX configuration
Unchained        : 0x1000,0x0000,0x0000
Chained          : 0x0000,0x0000,0x0000

# cat /proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 0090
0:02 = 0606
0:04 = 0606
0:06 = 801f
0:08 = 0000
0:0a = 0000
0:0c = 801f
0:0e = 801f
0:10 = 0000
0:12 = 0000
0:14 = 0000
0:16 = 9f9f
0:18 = 0000
0:1a = 0000
0:1c = 0000
0:1e = 0000
0:20 = 0400
0:22 = 0000
0:24 = 0000
0:26 = 800f
0:28 = 03c7
0:2a = 05c1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 0000
0:38 = 0000
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1005
0:76 = 6420
0:78 = 0000
0:7a = 0000
0:7c = 4144
0:7e = 5370

Please let me know whether there is anything more i can do to help.
Marcus

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
06-21-05 20:29 marcmerz       Note Added: 0005113                          
06-22-05 01:08 marcmerz       Note Added: 0005115                          
06-22-05 01:20 marcmerz       Note Added: 0005116                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-21  9:26 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-21  9:26 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-21-2005 11:26 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

----------------------------------------------------------------------
 tiwai - 06-21-05 11:26 
----------------------------------------------------------------------
Get the dump of /proc/asound/card0/codec97#0/* files in both working and
non-working drivers during ac3 playback to compare the register settings.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
06-21-05 11:26 tiwai          Note Added: 0005105                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
@ 2005-06-20 18:39 bugtrack
  0 siblings, 0 replies; 27+ messages in thread
From: bugtrack @ 2005-06-20 18:39 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1206> 
======================================================================
Reported By:                marcmerz
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1206
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Suse 9.3
Kernel Version:             Linux cinemaxx 2.6.11.4-20a-smp-matrox
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 SMP Fri May 27 20:49:09
CEST 2005 i686 i686 i386 GNU/Linux
======================================================================
Date Submitted:             06-20-2005 20:39 CEST
Last Modified:              06-20-2005 20:39 CEST
======================================================================
Summary:                    No Surround Sound (5.1) with analog speaker set on
ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a)
Description: 
The same hardware (Asus P4P800-VM with an analog surround set from
creative) was working fine under Suse 9.1 with Kernel 2.6.5. I then had to
change my HD (/dev/hda) due to harddisk crash and installed Suse 9.3 with
Kernel 2.6.11.4-20a (where i included module support for my Matrox G400
everything else is default config). It came with ALSA 1.08. I already got
the sources from the alsa homepage and updated to the current versions
(1.09b, 1.09a and 1.09 for drivers, utils, libs, tools etc.).
 
Meanwhile i spent more than 7 days now to get my DD5.1 Surround working in
6-channel mode but to no avail. When i do the speaker test, the front left
and front right are ok. Rear Left comes from the Rear Right speaker and
Rear Right comes from the left rear speaker. The center channel does not
do any sounds at all and the LFE output is on the left front speaker.
 
I checked my wirings a couple of times. I do have 'normal' sound in KDE
playing MP3's etc. and i can also use the 'Spread Front to Surround/LFE'
switch in kmix to get some sound from all speakers including center and
lfe.
 
When i play AC3 testfiles with a52dec, the center is always off (i.e. not
to hear) and the lfe output is going to the front left speaker. With
ac3dec i get the same result but on top of it, using 'ac3dec -6' the sound
is crackling and therefore useless (btw. this was also the case with Alsa
1.04|5 under Suse 9.1 with Kernel 2.6.5).
 
I can not believe that the same setup did work flawlessly under ALSA 1.05
and with a new kernel and current source drivers from the alsa project
homepage it is just not working in DD5.1.
 
Maybe there is a configuration mistake concerning plug:surround51 sending
output to the wrong channels but a) i did not change anything there and b)
i have no clue how to do that anyway.
 
Any help would be greatly appreciated.
 
Just some settings from my setup:
# lspci -v|grep audio  // (using acpi=off noapic in /boot/grub/menu.lst
does not make any difference
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# hwinfo --sound
21: PCI 1f.5: 0401 Multimedia audio controller
  [Created at pci.273]
  Unique ID: W60f.jRYEjR2QAA3
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24d5 "82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x80b0
  Revision: 0x02
  Driver: "Intel ICH"
  I/O Ports: 0xe800-0xe8ff (rw)
  I/O Ports: 0xee80-0xeebf (rw)
  Memory Range: 0xfebff800-0xfebff9ff (rw,non-prefetchable)
  Memory Range: 0xfebff400-0xfebff4ff (rw,non-prefetchable)
  IRQ: 209 (170062 events)
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0:
    Driver Status: snd-intel8x0 is active
    Driver Activation Cmd: "modprobe snd-intel8x0"
  Driver Info https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun  8 2005 for kernel 2.6.11.4-20a-smp-matrox (SMP).
 
# cat /proc/asound/cards
0 [ICH5           ]: ICH4 - Intel ICH5
                     Intel ICH5 with AD1980 at 0xfebff800, irq 209

# cat /proc/asound/devices
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

# cat /proc/asound/modules
0 snd_intel8x0

# cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

/etc/asound.state:
state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 28
                value.1 28
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 31
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 31
                value.1 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 28
                value.1 28
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.15 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.16 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 31
                value.1 31
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.30 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000
        }
        control.32 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000'
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.35 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 AC-Link
                comment.item.1 'A/D Converter'
                iface MIXER
                name 'IEC958 Playback Source'
                value 'A/D Converter'
        }
        control.36 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Exchange Front/Surround'
                value false
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Spread Front to Surround and Center/LFE'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Off
                comment.item.1 '6 -> 4'
                comment.item.2 '6 -> 2'
                iface MIXER
                name Downmix
                value Off
        }
        control.39 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '6ch'
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value false
        }
}

# lsmod|grep snd
snd_intel8x0           35136  0
snd_ac97_codec         84220  1 snd_intel8x0
snd_pcm               106500  2 snd_intel8x0,snd_ac97_codec
snd_timer              29700  1 snd_pcm
snd                    65796  4
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
snd_page_alloc         13060  2 snd_intel8x0,snd_pcm
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-20-05 20:39 marcmerz       New Issue                                    
06-20-05 20:39 marcmerz       Distribution              => Suse 9.3        
06-20-05 20:39 marcmerz       Kernel Version            => Linux cinemaxx
2.6.11.4-20a-smp-matrox https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1
SMP Fri May 27 20:49:09 CEST 2005 i686 i686 i386 GNU/Linux
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-08-22 13:47 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 20:07 [ALSA - driver 0001206]: No Surround Sound (5.1) with analog speaker set on ASUS P4P800-VM and Suse 9.3 (Kernel 26.11.4-20a) bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2005-08-22 13:47 bugtrack
2005-08-18 19:56 bugtrack
2005-08-18 19:27 bugtrack
2005-08-18 19:03 bugtrack
2005-07-10 18:08 bugtrack
2005-06-23 18:21 bugtrack
2005-06-22 20:32 bugtrack
2005-06-22 20:24 bugtrack
2005-06-22 19:26 bugtrack
2005-06-22 19:18 bugtrack
2005-06-22 19:13 bugtrack
2005-06-22 18:34 bugtrack
2005-06-22 18:18 bugtrack
2005-06-22 17:55 bugtrack
2005-06-22 16:03 bugtrack
2005-06-22 10:55 bugtrack
2005-06-22 10:51 bugtrack
2005-06-22 10:48 bugtrack
2005-06-22 10:44 bugtrack
2005-06-22 10:37 bugtrack
2005-06-22  9:53 bugtrack
2005-06-22  9:49 bugtrack
2005-06-22  8:04 bugtrack
2005-06-21 23:20 bugtrack
2005-06-21  9:26 bugtrack
2005-06-20 18:39 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox