From: Takashi Iwai Subject: Re: ALSA layer in Linux 2.6.18 and OSS Date: Mon, 16 Feb 2009 11:52:40 +0100 Message-ID: References: <49991BCE.40400@einfochips.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 4E6411037EC for ; Mon, 16 Feb 2009 11:52:41 +0100 (CET) In-Reply-To: <49991BCE.40400@einfochips.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Viral Mehta Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 16 Feb 2009 13:24:54 +0530, Viral Mehta wrote: > > Hi All, > > I am trying to make an application that does Audio playback and record. > I have configured Kernel and Re-built it. > I want to use only ALSA features. I have said "Yes" to all ALSA related > options and "No" to all OSS related things. > > When I booted my kernel, I found that there was no "/dev/dsp" device and > so my application was not able to run. The application opens "/dev/dsp" > device first and then does other things. > > Next time, when I enabled few of the OSS options in kernel's config > file. I was able to run my application. My question is I do not want OSS > at all. I just need ALSA then in that case what I am doing wrong. Well, rather a real question is which app / subsystem accessing the OSS device and causes errors. You can set up ALSA-only system in the kernel side. But if the user-space side requires the OSS API, it won't work. So, - if you want to remove all OSS-accessing apps, fix them or - build ALSA OSS *emulation* module so that they work both or - use aoss wrapper instead Takashi