From owner-freebsd-questions Mon Feb 25 19: 1:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from MystNET.dhs.org (modemcable146.26-130-66.hull.mc.videotron.ca [66.130.26.146]) by hub.freebsd.org (Postfix) with ESMTP id 5A05437B422 for ; Mon, 25 Feb 2002 19:00:51 -0800 (PST) Received: (from pascal@localhost) by MystNET.dhs.org (8.11.6/8.11.6) id g1Q30nK01208 for questions@FreeBSD.ORG; Mon, 25 Feb 2002 22:00:49 -0500 (EST) (envelope-from pascal) Message-Id: <200202260300.g1Q30nK01208@MystNET.dhs.org> Content-Type: text/plain; charset="iso-8859-1" From: Pascal Villeuneuve Reply-To: pascal@interactionvirtuelle.com Organization: DataGOD CryptSoft NET To: questions@FreeBSD.ORG Subject: emu10k1 driver ? Date: Mon, 25 Feb 2002 22:00:49 -0500 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there is an equivalence of the linux EMU10K1 driver that support all the feature of a Soud blaster live card in freebsd, and if it exist how can i configure it, if not how can i make it installing; when i do a "make" in the driver directory a got this, "config", line 11: Need an operator "Makefile", line 8: Missing dependency operator "Makefile", line 9: Need an operator "Makefile", line 11: Need an operator "Makefile", line 13: Need an operator Error expanding embedded variable. Yes i have the linux compatibility,but i think something is missing. kuz i want to be able to use the rear channel ports. tanx. this is the MakeFile # Don't change anything below include config CFLAGS := MODFLAGS := ifeq (.opts,$(wildcard .opts)) include .opts do-it-all: all else do-it-all: opts endif opts: $(MAKE) -Cscripts @echo "**" @echo "** Compilation configured for `cat .opts | grep KERNEL_VERSION`, now compile it with:" @echo "** make" @echo "**" EMU10K1_MOD := emu10k1.o EMU10K1_OBJS := audio.o cardmi.o cardmo.o cardwi.o cardwo.o efxmgr.o emuadxmg.o\ hwaccess.o irqmgr.o main.o midi.o mixer.o recmgr.o timer.o voicemgr.o\ ecard.o passthrough.o AC97_MOD := ac97_codec.o AC97_OBJS := ac97_codec.o KERNEL_RELEASE := $(shell echo $(KERNEL_VERSION) | cut -d\" -f2| cut -c-3) ifeq ($(KERNEL_RELEASE),2.2) KERNEL_EXTRA_INCLUDES := -I2.2/ MODULE_PATH := /lib/modules/$(KERNEL_VERSION)/misc AC97_MODULE_PATH := $(MODULE_PATH) EMU10K1_OBJS += 2.2/emu_wrapper.o EMU10K1_JOY_MOD := emu10k1-joy.o EMU10K1_JOY_OBJS := joystick.o 2.2/emu_wrapper.o else ifeq ($(KERNEL_RELEASE),2.3) KERNEL_RELEASE := 2.4 endif ifeq ($(KERNEL_RELEASE),2.4) KERNEL_EXTRA_INCLUDES := -I2.4/ MODULE_PATH := /lib/modules/$(KERNEL_VERSION)/kernel/drivers/sound/emu10k1 AC97_MODULE_PATH := /lib/modules/$(KERNEL_VERSION)/kernel/drivers/sound EMU10K1_OBJS += 2.4/emu_wrapper.o endif endif ifeq ($(DEBUG),y) CFLAGS += -DEMU10K1_DEBUG endif ifeq ($(DBGEMU),y) CFLAGS += -DDBGEMU endif ifeq ($(SEQUENCER_SUPPORT),y) KERNEL_EXTRA_INCLUDES += -I$(KERNEL_SOURCE)/drivers/sound CFLAGS += -DEMU10K1_SEQUENCER endif CFLAGS += $(KERNEL_EXTRA_INCLUDES) OBJS := $(EMU10K1_OBJS) $(EMU10K1_JOY_OBJS) E_OBJS := $(AC97_OBJS) include .rules all: .depend $(EMU10K1_MOD) $(AC97_MOD) $(EMU10K1_JOY_MOD) @echo "**" @echo "** The driver was succefully compiled, now install it with:" @echo "** make install" @echo "**" .depend: $(OBJS:.o=.c) $(E_OBJS:.o=.c) $(CC) $(CFLAGS) $(MODFLAGS) -M $(OBJS:.o=.c) > $@ $(CC) $(CFLAGS) $(MODFLAGS) -DEXPORT_SYMTAB -M $(E_OBJS:.o=.c) >> $@ $(EMU10K1_MOD): $(EMU10K1_OBJS) $(LD) -r $^ -o $@ $(EMU10K1_JOY_MOD): $(EMU10K1_JOY_OBJS) $(LD) -r $^ -o $@ install: all mkdir -p ${DESTDIR}/$(MODULE_PATH) install -c -m 664 $(EMU10K1_MOD) ${DESTDIR}/$(MODULE_PATH) install -c -m 664 $(AC97_MOD) ${DESTDIR}/$(AC97_MODULE_PATH) ifeq ($(KERNEL_RELEASE),2.2) install -c -m 664 $(EMU10K1_JOY_MOD) ${DESTDIR}/$(MODULE_PATH) endif ifndef DESTDIR /sbin/depmod -as $(KERNEL_VERSION) /sbin/modprobe -r $(EMU10K1_MOD) $(EMU10K1_JOY_MOD) $(AC97_MOD) endif @echo "**" @echo "** Driver install complete, to compile the tools type \"make tool s\"" @echo "**" clean: rm -f core .opts `find . -name '*.[oas]' -o -name '*~' \ -o -name core -o -name .depend` cd utils && $(MAKE) clean notice: @echo "Driver for KERNEL VERSION = $(KERNEL_VERSION)" @if [ ! -f $(KERNEL_SOURCE)/include/linux/modversions.h ]; then \ echo "$(KERNEL_SOURCE)/include/linux/modversions.h is missing" ; \ echo "Please run make dep in your kernel source tree" ;\ exit 1;\ fi ifeq (.depend,$(wildcard .depend)) include .depend endif tools: cd utils && $(MAKE) @echo "**" @echo "** Now type \"make install-tools\" to install the tools" @echo "**" install-tools: cd utils && $(MAKE) install To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message