From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 11 09:23:54 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C992C16A41C for ; Mon, 11 Jul 2005 09:23:54 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4189C43D46 for ; Mon, 11 Jul 2005 09:23:54 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wproxy.gmail.com with SMTP id 50so802047wri for ; Mon, 11 Jul 2005 02:23:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=SP0mM/dIKr5iNMKq+OHyGqMMr8D/PAzQkh3SKY3nf8G1M6BXBeiSxk93IHNfucPb9DeNoRGYVjsmWyFI8Ow4BRgW5Mo5y+hV+xDP3BqSUoT2/Qk6DUoSl1J9O6RtH8w/+gcxWd7ZBO6xk1Jy2WMZZZfO9i/MFlK0M7FqH21Vvh4= Received: by 10.54.30.4 with SMTP id d4mr3852001wrd; Mon, 11 Jul 2005 02:23:53 -0700 (PDT) Received: from michelle.rndsoft.co.kr ([211.32.202.209]) by mx.gmail.com with ESMTP id 64sm5656898wra.2005.07.11.02.23.52; Mon, 11 Jul 2005 02:23:53 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j6B9Mc2e002744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jul 2005 18:22:39 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j6B9McPh002743; Mon, 11 Jul 2005 18:22:38 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Mon, 11 Jul 2005 18:22:38 +0900 From: Pyun YongHyeon To: Muzaffar Ariff Message-ID: <20050711092238.GC858@rndsoft.co.kr> References: <8eb2b81050628200659d338ab@mail.gmail.com> <20050629043027.GB8832@rndsoft.co.kr> <42C2B94F.2010708@samsco.org> <20050701014258.GE17058@rndsoft.co.kr> <8eb2b810507110203229b46b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8eb2b810507110203229b46b@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: ESS Maestro3 no sound X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 09:23:55 -0000 On Mon, Jul 11, 2005 at 05:03:18PM +0800, Muzaffar Ariff wrote: > After much searching on how to do the patching I think i got it right, > but it still does not solve my problem. Here is what I did: > > 1. Tired to use the patch command and didn't work, because it can't > find line 1023 in the original maestro3.c (on my machine). I knew > about this but just gave it a try, hoping that I don't have to go the > long way :-) > Sorry. I had to say the patch was for CURRENT. > 2. Went to locate my sound driver modules and found it in > /usr/src/sys/modules/sound/driver/maestro3. Use to the make command to > see what it does. > *Q1: Is this the source code for the maestro3? > Yes. > 3. I then located and modified my maestro3.c file in > /usr/src/sys/dev/sound/pci/maestro3.c (before that made a copy of the > old one). Add and commenting out the stuff that you suggested. > > 4. went back to ~/sound/driver/maestro3 and recompiled it again. It > compiled without a problem and I then loaded the module by using > #kldload snd_driver. Look up /dev/sndstat and it showed the same thing > as before: > > Installed devices: > pcm0: at io 0xd800 irq 5 kld snd_maestro3 > (4p/1r/0v channels duplex default) > > 5. Restarted my machine by having snd_maestro3_load="YES" loaded into > /boot/loader.conf > > 6. Tried using xmms and the same problem happened, the xmms plays the > song but with no sound. Looked at /var/run/dmesg.boot to see what went > wrong and it output the same problem: > > pci0: at device 7.3 (no driver attached) > pcm0: port 0xd800-0xd8ff mem > 0xf3ffe000-0xf3ffffff irq 5 at device 8.0 on pci0 > pcm0: failed: rid 0x10 is ioport, requested 3 > Hmm, I'm afraid you loaded old module again. Please let me know which FreeBSD version you used. I can make a patch for the specific FreeBSD version. > Q2: Now I might have compiled the code right but did I load the module > correctly? (i seem to be at the same conclusion, so I'm guessing it > didn't load). According to the dmesg output, you loaded old module again. -- Regards, Pyun YongHyeon