From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: DM365 McBSP as Master Date: Mon, 17 Oct 2011 14:47:57 +0200 Message-ID: <4E9C23FD.2090106@ladisch.de> References: <4E78A059.4010300@mentor.com> <4E7C3039.1090203@mentor.com> <4E9BF5A0.5090203@mentor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by alsa0.perex.cz (Postfix) with ESMTP id 7AF462445C for ; Mon, 17 Oct 2011 14:47:36 +0200 (CEST) In-Reply-To: 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: Appalayagari Sreedhar Cc: alsa-devel@alsa-project.org, Mark Brown , Liam Girdwood , Vladimir Barinov List-Id: alsa-devel@alsa-project.org Clemens Regards, implementations; you should open the device twice. the device in full duplex mode. This is not supported by most OSS O_RDWR indicates that you want to use the same file handle to use Appalayagari Sreedhar wrote: > root@dm368-evm:/# ./myoss > Audio Driver failed to open, oss_fd = -1 errno = 22 > > On 10/17/11, Appalayagari Sreedhar wrote: >> i found that if i open the device O_WRONLY and O_RDONLY mode it works. >> if i try to open the device using the O_RDWR mode it fails.