Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750799AbWATKNd (ORCPT ); Fri, 20 Jan 2006 05:13:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750800AbWATKNd (ORCPT ); Fri, 20 Jan 2006 05:13:33 -0500 Received: from ns1.suse.de ([195.135.220.2]:10657 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1750799AbWATKNc (ORCPT ); Fri, 20 Jan 2006 05:13:32 -0500 Date: Fri, 20 Jan 2006 11:20:12 +0100 Message-ID: From: Takashi Iwai To: Alan Cox Cc: Lee Revell , Adrian Bunk , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, perex@suse.cz Subject: Re: [Alsa-devel] Re: RFC: OSS driver removal, a slightly different approach In-Reply-To: <1137708573.8471.65.camel@localhost.localdomain> References: <20060119174600.GT19398@stusta.de> <1137694944.32195.1.camel@mindpipe> <20060119182859.GW19398@stusta.de> <1137696885.32195.12.camel@mindpipe> <1137697269.32195.14.camel@mindpipe> <1137708573.8471.65.camel@localhost.localdomain> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta21) (corn) (+CVS-20050720) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1802 Lines: 49 At Thu, 19 Jan 2006 22:09:33 +0000, Alan Cox wrote: > > On Iau, 2006-01-19 at 14:01 -0500, Lee Revell wrote: > > > > Hmm. From sound/oss/kahlua.c: > > > > > > > > /* > > > > * Initialisation code for Cyrix/NatSemi VSA1 softaudio > > > > * > > > > * (C) Copyright 2003 Red Hat Inc > > > > * > > > > > > > > Why was a new OSS driver written and accepted at such a late date, when > > > > OSS was already deprecated? > > > > > > You'll find out that it must be pretty easy to write kahlua driver for > > > ALSA, too, if you look at kahlua.c. Just need a hardware to certify > > > if this is really demanded... > > > > Yes, it looks simple enough to write a driver without the hardware, as > > long as someone volunteers to test it... > > Most of the Kahlua logic is in the SB driver. It was a wrapper added > later to make autoconfiguration simple for end users. CS55x0 (VSA1 > variants) are generic sound blaster 16 emulation via SMI traps. There > are certain things you must not do > > 1. Use a 64K or 128K in 16bit ring buffer > 2. Disable/Enable DMA on the sound channel while audio is running > > #1 causes the box to hang dead (firmware emulation bug) > #2 mistakenly flushes the FIFOs so breaks up the audio > > Otherwise its SB16 compatible. Thanks for good hints. BTW, I remember that there was a driver for native geode audio support at the time of ALSA 0.5.x or earlier. I must have the code somewhere in my storage. The porting would be much much harder than kaulha (sb emulation), though. Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/