Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 15:44:22 +0100
From:      Tiziano Paoletti <paoletti@cosmos.it>
To:        multimedia@FreeBSD.ORG
Subject:   I have a problem...can you help me?
Message-ID:  <367918C6.B7F65724@cosmos.it>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367918C6.B7F65724>