From: bugtrack@alsa-project.org Subject: [ALSA - lib 0000889]: wrong routings of channels for 5.1 ICH5-Onboard-Card Date: Wed, 9 Feb 2005 12:34:37 +0100 Message-ID: <5575228821ae798c72e81e4e11c70233@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id DF91525E for ; Wed, 9 Feb 2005 12:34:37 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: jdthood Assigned To: ====================================================================== Project: ALSA - lib Issue ID: 889 Category: mixer Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 02-08-2005 13:18 CET Last Modified: 02-09-2005 12:34 CET ====================================================================== Summary: wrong routings of channels for 5.1 ICH5-Onboard-Card Description: This is forwarded Debian bug https://bugtrack.alsa-project.org/alsa-bug/view.php?id=293928. Please see http://bugs.debian.org/293928 for the full report. The submitter reports that the sound output goes to the wrong places -- Front Speakers are OK. -- Rear left will be routed and controlled by the mixer of the center box -- Rear right is muted and will not output any sound -- Center goes to the read left and is controled with this mixer -- And LFE goes to rear right with the rear right mixer. ====================================================================== ---------------------------------------------------------------------- tiwai - 02-09-05 11:38 ---------------------------------------------------------------------- The contents of /proc/asound/card0/codec97#0/* and /etc/asound.state are required for debugging, as usual. Basically, the 5.1 routing is defined in /usr/share/alsa/cards/ICH4.conf. It assumes that the channels are assigned in the order of left, right, rear-left, rear-right, center and LFE. Meanwhile, most codecs assume the slots assigned as front, left, center, LFE, rear-left and rear-right. In this case, the order of ac97 slots looks different from others. ---------------------------------------------------------------------- jdthood - 02-09-05 12:34 ---------------------------------------------------------------------- The submitter's /proc/asound/card0/codec97#0/* ---------------------------------------------- ac97#0-0: 0-0/0: Realtek ALC655 rev 0 Revision : 0x00 Compat. Class : 0x00 Subsys. Vendor ID: 0x8086 Subsys. ID : 0x1234 Capabilities : DAC resolution : 16-bit ADC resolution : 16-bit 3D enhancement : No 3D Stereo Enhancement Current setup Mic gain : +20dB [+20dB] POP path : pre 3D Sim. stereo : off 3D enhancement : off Loudness : off Mono output : MIX Mic select : Mic2 ADC/DAC loopback : off Extended ID : codec=0 rev=2 LDAC SDAC CDAC DSA=0 SPDIF Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz ac97#0-0+regs: 0:00 = 0000 0:02 = 0e0e 0:04 = 0000 0:06 = 801f 0:08 = 0000 0:0a = 801e 0:0c = 801f 0:0e = 805f 0:10 = 9f1f 0:12 = 0606 0:14 = 0000 0:16 = 9f1f 0:18 = 0b0b 0:1a = 0000 0:1c = 8000 0:1e = 0000 0:20 = 0500 0:22 = 0000 0:24 = 0000 0:26 = 000f 0:28 = 09c4 0:2a = 05f0 0:2c = bb80 0:2e = bb80 0:30 = bb80 0:32 = bb80 0:34 = 0000 0:36 = 0506 0:38 = 0585 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 = 0000 0:62 = 0000 0:64 = 0808 0:66 = 0808 0:68 = 0aea 0:6a = 8600 0:6c = 0000 0:6e = 0005 0:70 = 81e0 0:72 = 22e8 0:74 = 8000 0:76 = 0000 0:78 = 0007 0:7a = b092 0:7c = 414c 0:7e = 4760 and asound.state ---------------- state.ICH5 { control.1 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Playback Switch' value true } control.2 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Master Playback Volume' value.0 23 value.1 23 } 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 25 } 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 26 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Surround Playback Switch' value 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 26 value.1 26 } control.9 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Mono Playback Switch' value true } control.10 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Master Mono Playback Volume' value 31 } control.11 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'PC Speaker Playback Switch' value false } control.12 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 15' iface MIXER name 'PC Speaker 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 false } control.16 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Mic Playback Volume' value 0 } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Boost (+20dB)' value true } control.18 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Line Playback Switch' value false } control.19 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Line Playback Volume' value.0 0 value.1 0 } control.20 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'CD Playback Switch' value true } control.21 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'CD Playback Volume' value.0 22 value.1 22 } control.22 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Aux Playback Switch' value 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 1 iface MIXER name 'PCM Playback Switch' value 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 22 value.1 22 } 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 1 iface MIXER name 'Capture Switch' value false } 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 Mix comment.item.1 Mic iface MIXER name 'Mono Output Select' value Mix } control.30 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic1 comment.item.1 Mic2 iface MIXER name 'Mic Select' value Mic2 } control.31 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.32 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } control.33 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.34 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.35 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 3' iface MIXER name 'IEC958 Playback AC97-SPSA' value 3 } control.36 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Duplicate Front' value false } control.37 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Line-In As Surround' value true } control.38 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic As Center/LFE' value true } control.39 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Capture Switch' value false } control.40 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 PCM comment.item.1 'Analog In' comment.item.2 'IEC958 In' iface MIXER name 'IEC958 Playback Route' value PCM } control.41 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'External Amplifier' value true } } Issue History Date Modified Username Field Change ====================================================================== 02-08-05 13:18 jdthood New Issue 02-09-05 11:38 tiwai Note Added: 0003539 02-09-05 12:34 jdthood Note Added: 0003550 ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click