From owner-freebsd-multimedia Thu Dec 17 06:47:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04255 for freebsd-multimedia-outgoing; Thu, 17 Dec 1998 06:47:03 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from cosmos.it (users.cosmos.it [193.70.6.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA04027 for ; Thu, 17 Dec 1998 06:44:38 -0800 (PST) (envelope-from paoletti@cosmos.it) Received: from cosmos.it (ppp-05.cosmos.it [193.70.6.70]) by cosmos.it (8.8.5/8.8.5) with ESMTP id PAA25603 for ; Thu, 17 Dec 1998 15:35:07 +0100 Message-ID: <367918C6.B7F65724@cosmos.it> Date: Thu, 17 Dec 1998 15:44:22 +0100 From: Tiziano Paoletti Organization: Cosmos Network X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: I have a problem...can you help me? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have a problem installing the AWE driver. I have a SoundBlaster AWE32 and it works very well with FreeBSD (2.2.7): audio CD, files *.WAV, files *.MID (with internal OPL)...the problem is that the card doesn't use the sounds on its ROM. This is a part of my KERNEL: controller pnp0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 device mpu0 at isa? port 0x330 irq 8 drq 0 conflicts device uart0 at isa? port 0x330 irq 9 vector "m6850intr" but during the boot, FreeBSD says: AWE not found, AWE not detected. When I compile the KERNEL, FreeBSD says: *no previus prototype in i386/isa/sound/soundcard.c This is the "critical" part of soundcard.c: void adintr(INT_HANDLER_PARMS(unit,dummy)) { #ifndef EXCLUDE_AD1848 static short unit_to_irq[4] = { -1, -1, -1, -1 }; struct isa_device *dev; if (unit_to_irq [unit] > 0) ad1848_interrupt(INT_HANDLER_CALL (unit_to_irq [unit])); else { dev = find_isadev (isa_devtab_null, &mssdriver, unit); if (!dev) printk ("ad1848: Couldn't determine unit\n"); else { unit_to_irq [unit] = ipri_to_irq (dev->id_irq); ad1848_interrupt(INT_HANDLER_CALL (unit_to_irq [unit])); } } #endif } Then in file /sys/i386/isa/sound/awe_wave.c: *inizialization from incompatible pointer type: the "critical" line is awe_ioctl, *inizialization from incompatible pointer type: the "critical" line is awe_load_patch, *no previus prototype: the "critical" part of /sys/i386/isa/sound/awe_wave.c is: void unload_awe(void) { if (awe_present) { awe_reset_samples(); awe_release_region(); } } Can you help me? Do I need a different driver? Where can I find it? THANK YOU VERY MUCH!!! Tiziano (Italy) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message