From: Takashi Iwai Subject: Re: [conf patch] modem's pcm "two device" config [was: Re: Mo' better modem support] Date: Mon, 12 Sep 2005 19:49:45 +0200 Message-ID: References: <20050905232951.GG20428@sashak.softier1.local> <20050907160343.GA3375@sashak.softier1.local> <20050912002746.GA31233@tecr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: 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: Sasha Khapyorsky Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 12 Sep 2005 12:38:13 +0200, I wrote: > > At Mon, 12 Sep 2005 03:27:46 +0300, > Sasha Khapyorsky wrote: > > > > On 19:03 Wed 07 Sep , Sasha Khapyorsky wrote: > > > > > > > > > > If we really need to auto-"Hoof-Off" we may separate it to logically > > > > > different pcm devices (like pcm.modem, pcm.phoneline or so) and then add > > > > > hook to one of them. > > > > > > > > Sounds reasonable. > > > > > > I will prepare patch this weekend or so (want to test it first). > > > > There is the patch (actually beginning). This defines two PCMs: > > "phoneline" is renamed old-style modem and "modem" is pcm with > > auto-"Hook-Off". > > > > Sasha. > > > > > > This defines two modem related pcm devices: "phoneline" is driver's pcm > > reference, with "modem" the line will be "Hook-Off"ed automatically. > > > > Signed-off-by: Sasha Khapyorsky > > Applied. Thanks. Well, I found that this might not work (still not tested, though) since the controls are usually defined with index 1, as noted in my earlier post. (It's because the modem codec is in ac97.num=1) But I think we should fix the driver side rather than this configuration. The index should be zero because it's the only one. Takashi ------------------------------------------------------- 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