From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh7a9-0001SM-AY for garchives@archives.gentoo.org; Fri, 28 Aug 2009 19:57:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A104E08EB for ; Sat, 29 Aug 2009 01:07:03 +0000 (UTC) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by pigeon.gentoo.org (Postfix) with ESMTP id 68A5EE0545 for ; Tue, 25 Aug 2009 06:38:23 +0000 (UTC) Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKSpOG3vjhuLxQivFmk6DEEgHXk84kH+4/@postini.com; Tue, 25 Aug 2009 06:38:23 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4FF22F1 for ; Tue, 25 Aug 2009 06:38:22 +0000 (GMT) Received: from mail1.agr.st.com (mail1.agr.st.com [164.130.4.71]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F09004BD23 for ; Tue, 25 Aug 2009 06:38:21 +0000 (GMT) Received: from [164.130.17.81] (ws2912.agr.st.com [164.130.17.81]) by mail1.agr.st.com (MOS 3.8.7a) with ESMTP id CYG07621 (AUTH "raffaele belardi"); Tue, 25 Aug 2009 08:38:21 +0200 (CEST) Subject: [gentoo-amd64] problem with multi-channel alsa on hda-intel From: Raffaele BELARDI To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain Date: Tue, 25 Aug 2009 08:39:14 +0200 Message-Id: <1251182354.5043.31.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2354a68d-8ee2-4f2d-9a14-6cccb65cb2a5 X-Archives-Hash: 82e1f8c827d0708a86c99d7379051e22 Until last world update I was happily using the following .asoundrc [1] to duplicate stereo sound from front to rear channels (the former is connected to a 2.1 system, the latter to a hi-fi equipment): pcm.ch40dup { type route slave.pcm surround40 slave.channels 4 ttable.0.0 1 ttable.1.1 1 ttable.0.2 1 ttable.1.3 1 } and then "mplayer -channels 4 -ao alsa:device=ch40dup" gave me the duplicated stereo sound on 4 channels. After last update alsa-lib went from 1.0.19 to 1.0.20 and kernel 2.6.29 to 2.6.30 and mplayer sound stopped working from any channel with the following error: Trying preferred audio driver 'alsa', options 'device=ch40dup' alsa-init: requested format: 48000 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.20 alsa-init: setup for 1/2 channel(s) alsa-init: using device ch40dup alsa-init: pcm opened in blocking mode [AO_ALSA] Unable to get initial parameters: Invalid argument Failed to initialize audio driver 'alsa:device=ch40dup' Could not open/initialize audio device -> no sound. If I remove the "-ao alsa:device..." bit from the mplayer command line I get stereo sound from the front speakers only. This is with HDA-intel driver on Nvidia nForce430/AD1986 chipset, icewm desktop. I just read from the kernel doc [2] that there is a "model name" parameter that defaults to '6stack' while my model is '3stack' so tonight I will try that. Any other hints before I try upstream? thanks, raf [1] http://alsa.opensrc.org/index.php/Playing_stereo_on_surround_sound_setup_%28Howto%29 [2] /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt