From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: documentation Date: Fri, 03 May 2002 18:28:02 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20020503161133.96309.qmail@web11507.mail.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id SAA02109 for ; Fri, 3 May 2002 18:28:11 +0200 In-Reply-To: <20020503161133.96309.qmail@web11507.mail.yahoo.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Guilhem Tardy Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, At Fri, 3 May 2002 09:11:33 -0700 (PDT), Guilhem Tardy wrote: > > Hi, > > Now, I have this new driver which manages to open/close a pcm > channel whenever one attempts to play a file with "play test.au", > but complains (Sound protocol it not compatible) with "aplay > test.au". Any idea what's wrong? this error happens usually when an older version of alsa-lib / alsa-utils are installed. please check the version of alsa-lib. (must be linked to libasound.so.2) > Besides, I have no mixer defined (I would just to allow open/close a > playback or capture channel, no more) and wonder if it is a problem? no. you can initialize the mixer part even in open of pcm callbacks, if it's not necessarily configurable. > I am just loading the driver manually for now (insmod snd, > snd-timer, snd-pcm, ...), is there any special configuration I > need? How to tell the driver to unmute? generally modprobe resolves the dependency, i.e. just load the top-level module like # modprobe snd-yourdriver then all low-level drivers will be loaded. well, unmute...? if there is no mixer, the device should be always unmuted, or as mentioned above, toggle mute/unmute at open/close. anyway, i would advise you to post your working code (or its URL) to alsa-devel ML, so that other developers can take a look. ciao, Takashi _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net