From owner-freebsd-questions Wed Sep 27 14:53:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id B47C637B43F for ; Wed, 27 Sep 2000 14:53:09 -0700 (PDT) Received: (qmail 5780 invoked from network); 27 Sep 2000 21:53:04 -0000 Received: from sanpedro-a254.racsa.co.cr (HELO hiddink) (196.40.41.2) by relay1.pair.com with SMTP; 27 Sep 2000 21:53:04 -0000 X-pair-Authenticated: 196.40.41.2 From: "Bert Hiddink" To: questions@FreeBSD.ORG Date: Wed, 27 Sep 2000 16:02:01 -0600 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: More on audio with Maestro 2 X-mailer: Pegasus Mail for Win32 (v3.12a) Message-Id: <20000927215309.B47C637B43F@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am still struggling to get some sound out of my Toshiba lap with a ESS Technology Maestro-2E sound card with FBSD 4.1 I am trying to do this with ESS Maestro-1/2/2E driver for FreeBSD from Taku YAMAMOTO However, I have some difficulties with the following in his README of this driver : ####### 1. If your kernel source tree is: * 4.0-RELEASE, 4-STABLE older than May 12 2000 or -current older than Mar 20 2000, apply mixer_reinit.patch. * -current newer than Aug 20 2000, apply fmtlist.patch. * -current newer than Sep 1 2000, apply mixer_current.patch (this file also contains diffs in fmtlist.patch). ####### I have the FBSD 4.1. release, so I suppose I should "apply mixer_reinit.patch". However, how do I "apply" patch? Should I add the name of this file in the "SRCS" of the Makefile? For the time being, I tried compiling without any patch which ran OK. Later on in the README, he says to make some nodes for this device: ###### 3. Create additional dsp channel by issueing: foreach i (0 1 2 3) mknod dspX.$i c 30 0x000$iXX03 mknod audioX.$i c 30 0x000$iXX03 chmod 666 dspX.$i end Note that XX is a hexadecimal number of X. ###### As my device is "pcm0" I issued the following lines from the shell: foreach i (0 1 2 3) mknod dsp0.$i c 30 00000$i0003 mknod audio0.$i c 30 00000$i0003 chmod 666 dsp0.$i end However, it gives and error message after issueing 'end': "Undefined variable i0003"? I do not see an error in the lines issued. Could you please help me some further with (one of) these 2 problems? Thanks! -brt Bert Hiddink, FUNDACION GALILEO Correo electronico: hiddink@galileo.or.cr Sitio: http://www.galileo.or.cr Tel. (506) 280 8683, telefax. (506) 280 8847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message