Date: Sat, 14 Jul 2007 17:55:39 -0500 From: "Rick Mullis" <probsd@gmail.com> To: "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_emu10kx patch (WAS: RE: SB Live 5.1 Digital - sysctl ?) Message-ID: <483316d70707141555l7900b3b6h79afb7687258b9e@mail.gmail.com> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A1460@ex.hhp.local> References: <483316d70706281009k13f2e37al2a05ea53b82c6e9a@mail.gmail.com> <78664C02FF341B4FAC63E561846E3BCC0A13D8@ex.hhp.local> <78664C02FF341B4FAC63E561846E3BCC0A1460@ex.hhp.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Yuriy.Tsibizov@gfk.com> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483316d70707141555l7900b3b6h79afb7687258b9e>