From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 14 22:55:41 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0911416A403 for ; Sat, 14 Jul 2007 22:55:41 +0000 (UTC) (envelope-from probsd@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3B43513C442 for ; Sat, 14 Jul 2007 22:55:40 +0000 (UTC) (envelope-from probsd@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so1637322pye for ; Sat, 14 Jul 2007 15:55:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ry3bnDMp8cOCRwPd79Sn0Ie+J+3gCjJn6IdxJOoAsrq7pHHo5s6MYHG2jgZWjjGXdy+hFtBZHIYw4N3+rW84xgL741amokvBtWxEzMXPOJTETYXvpeN7VwYDQztKyjP0ag2NQP/nNZfp9ds+ADfTugD4SpY174zLxPtsF8GP7g4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TDY3hySAEHrlXL174OEFqKV2AYe7SqQWmQCbUuSrclFKxCLECei3LLMBoyI/81wtVuIWi7czZ86xhlpG5iet8H+nLBuBlwu99FLeuKikMl6v4u7IncDUz/h+jISzR40HLD2ESf6Lv6qJJJfb2chxalE9PpgK0mDp6D1GH1Ra8tw= Received: by 10.143.160.1 with SMTP id m1mr221947wfo.1184453739071; Sat, 14 Jul 2007 15:55:39 -0700 (PDT) Received: by 10.142.111.1 with HTTP; Sat, 14 Jul 2007 15:55:39 -0700 (PDT) Message-ID: <483316d70707141555l7900b3b6h79afb7687258b9e@mail.gmail.com> Date: Sat, 14 Jul 2007 17:55:39 -0500 From: "Rick Mullis" To: "Yuriy Tsibizov" In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A1460@ex.hhp.local> MIME-Version: 1.0 References: <483316d70706281009k13f2e37al2a05ea53b82c6e9a@mail.gmail.com> <78664C02FF341B4FAC63E561846E3BCC0A13D8@ex.hhp.local> <78664C02FF341B4FAC63E561846E3BCC0A1460@ex.hhp.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_emu10kx patch (WAS: RE: SB Live 5.1 Digital - sysctl ?) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 22:55:41 -0000 Hi Yuriy, I just csup the latest current source code and also downloaded your latest patch. I did a full make buildworld and then a make buildkernel and I got an error on the emu10kx driver build. I also removed the patch and tried it without error. Below is the error message. Script started on Sat Jul 14 17:44:05 2007 -------------------------------------------------------------- >>> Kernel build for MAIN started on Sat Jul 14 17:44:05 CDT 2007 -------------------------------------------------------------- ===> sound/driver/emu10kx (depend) ln -sf /usr/obj/usr/src/sys/MAIN/opt_emu10kx.h opt_emu10kx.h @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/ac97_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/channel_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/feeder_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/mixer_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/midi/mpufoi_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q grep -v '#include' /usr/src/sys/modules/sound/driver/emu10kx/../../../../gnu/dev/sound/pci/emu10k1- alsa.h | cc -E -D__KERNEL__ -dM - | awk -F"[ (]" '/define/ { print "#ifndef " $2 ; print ; print "#endif" }' >emu10k1-alsa%diked.h grep -v '#include' /usr/src/sys/modules/sound/driver/emu10kx/../../../../gnu/dev/sound/pci/p16v- alsa.h | cc -E -D__KERNEL__ -dM - | awk -F"[ (]" '/define/ { print "#ifndef " $2 ; print ; print "#endif" }' >p16v-alsa%diked.h grep -v '#include' /usr/src/sys/modules/sound/driver/emu10kx/../../../../gnu/dev/sound/pci/p17v- alsa.h | cc -E -D__KERNEL__ -dM - | awk -F"[ (]" '/define/ { print "#ifndef " $2 ; print ; print "#endif" }' >p17v-alsa%diked.h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/MAIN /usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx.c /usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx- pcm.c/usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx- midi.c /usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx.c:51:25: error: opt_emu10kx.h: No such file or directory /usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx- pcm.c:48:25: error: opt_emu10kx.h: No such file or directory /usr/src/sys/modules/sound/driver/emu10kx/../../../../dev/sound/pci/emu10kx- midi.c:49:25: error: opt_emu10kx.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Script done on Sat Jul 14 17:45:01 2007 Thanks Rick On 7/10/07, Yuriy Tsibizov wrote: > > > Dear SB Live! / Audigy users. > > > > I'm going to ask ariff to (ask re@ and) commit this patch before 7.0 > > release: > > http://chibis.persons.gfk.ru/audigy/snd_emu10kx_70_patch2 > > > > > > Update snd_emu10kx driver with recent perforce changes (and some other > > changes too). > > > > (without any real order) > > > > 1. Use device_get_nameunit for mutex naming > > 2. Add timer for low-latency playback > > 3. Move most mixer controls from sysctls to mixer(8) controls. This > > is a largest part of this patch. > > 4. Add analog/digital switch (as a temporary sysctl) > > 5. Get back support for low-bitrate playback (with help of (2)) > > 6. Change locking for exclusive I/O. Writing to non-PTR register > > is almost safe and does not need to be ordered with PTR operations. > > 7. Disable MIDI until we get it to detach properly and fix memory > > managment problems. > > 8. Enable multichannel playback by default. It is as stable as > > single-channel mode. Multichannel recording is still an experimental > > feature. > > 9. Add a way to disable card from a loader tunable. > > I've upated this patch to change multichannel configuration from kernel > options to tunables (aka loader hints). > It will allow different configuration for different cards (like emu10kx0 > will be single-channel and emu10kx1 will > be multichannel) for people who use more than one card. > > It also add locking in PCM interupt handler. > > http://chibis.persons.gfk.ru/audigy/snd_emu10kx_70_patch4 > > > Yuriy. > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" >