Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 1997 09:45:16 -0000 (GMT)
From:      Conrad Sabatier <conrads@neosoft.com>
To:        multimedia@freebsd.org
Subject:   AWE 64 MIDI config -- I'm lost
Message-ID:  <XFMail.971116094516.conrads@neosoft.com>

next in thread | raw e-mail | index | archive | help
OK, I'm *finally* getting my system to recognize my AWE 64, thanks to Luigi's
Pnp patches, and /dev/audio is working fine (Voxware).  Even have the Real Audio
player working (yay!).  But...

MIDI is driving me nuts.  I get no sound from playmidi, or it hangs my system
altogether.  Installed the awedrv package from Randall Hopper, rebuilt my
kernel, but still no luck; AWE32 is not found at bootup.  Compiled the
AWE-enabled playmidi with the AWE selected as default device.  No good.

One thing I'm very confused about is the apparent conflict between "audio
MIDI", i.e., MIDI output through the speakers, and external MIDI.  What port
address is used for the former?

Could someone please tell me what I'm doing wrong as far as MIDI?  I am *so
close* to getting this card fully functional (at last), and am anxious to be
able to download and play MIDI files.

Thanks!

Relevant kernel config section:

options SBC_IRQ=5

# Controls all sound devices
controller      snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device awe0     at isa? port 0x620 

# For normal case use next line
device opl0     at isa? port 0x388
device mpu0     at isa? port 0x330 irq 5 conflicts drq 0
device uart0 at isa? port 0x330 irq 5 conflicts vector "m6850intr"

# Not controlled by `snd'
device pca0 at isa? port IO_TIMER1 tty

OK, i really don't *need* the mpu0 and/or uart0 entries (no external devices at
this time), but thought I'd add them for possible future hardware.

dmesg output:


Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.5-RELEASE #0: Sun Nov 16 09:04:12 GMT 1997
    conrads@dolphin.neosoft.com:/usr/src/sys/compile/MYKERNEL
CPU: Pentium (166.19-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)

FreeBSD Kernel Configuration Utility - Version 1.1
 Type "help" for help or "visual" to go to the visual
 configuration interface (requires MGA/VGA display or
 serial terminal capable of displaying ANSI graphics).
config> ls
Device   port       irq   drq   iomem   iosize   unit  flags      enabled
fdc0     0x3f0      6     2     0x0     0        0     0x0        Yes
wdc0     0x1f0      14    -1    0x0     0        0     0x80ff80ff Yes
wdc1     0x170      15    -1    0x0     0        1     0x0        Yes
sc0      0x60       1     -1    0x0     0        0     0x0        Yes
sio0     0x3f8      4     -1    0x0     0        0     0x0        Yes
sio1     0x2e8      3     -1    0x0     0        1     0x0        Yes
lpt0     0xffffffff 7     -1    0x0     0        0     0x0        Yes
psm0     0x60       12    -1    0x0     0        0     0x0        No
pca0     0x40       -1    -1    0x0     0        0     0x0        Yes
npx0     0xf0       13    -1    0x0     0        0     0x1        Yes
sb0      0x220      5     1     0x0     0        0     0x0        Yes
sbxvi0   0x0        -1    5     0x0     0        0     0x0        Yes
sbmidi0  0x330      -1    -1    0x0     0        0     0x0        Yes
awe0     0x620      -1    -1    0x0     0        0     0x0        Yes
opl0     0x388      -1    -1    0x0     0        0     0x0        Yes
mpu0     0x330      5     0     0x0     0        0     0x0        Yes
uart0    0x330      5     -1    0x0     0        0     0x0        Yes
CSN LDN conf en irqs  drqs others (PnP devices)
  1   0 OS    N  0 0   0 0  
  1   1 OS    N  0 0   4 4  
  1   2 OS    N  0 0   4 4  
  1   3 OS    N  0 0   4 4  
  2   0 OS    Y  5 0   1 5  port 0x220 0x330 0x388 
  2   1 OS    N  0 0   4 4  
  2   2 OS    Y  0 0   0 0  port 0x620 
  2   3 OS    N  0 0   4 4  

Number of EISA slots to probe: 10
config> pnp 2 2 irq0 5          <-- a vain last attempt to get AWE32 recognized
config> q
avail memory = 62537728 (61072K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437FX PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7
vga0 <VGA-compatible display device> rev 67 int a irq 11 on pci0:8
Probing for PnP devices:
CSN 1 Vendor ID: CSC4232 [0x3242630e] Serial 0x01000000
PnP: override config for CSN 1 LDN 0 vend_id 0x3242630e
PnP: override config for CSN 1 LDN 1 vend_id 0x3242630e
PnP: override config for CSN 1 LDN 2 vend_id 0x3242630e
PnP: override config for CSN 1 LDN 3 vend_id 0x3242630e
CSN 2 Vendor ID: CTL009d [0x9d008c0e] Serial 0x00029870
PnP: override config for CSN 2 LDN 0 vend_id 0x9d008c0e
PnP: override config for CSN 2 LDN 1 vend_id 0x9d008c0e
PnP: override config for CSN 2 LDN 2 vend_id 0x9d008c0e
PnP: override config for CSN 2 LDN 3 vend_id 0x9d008c0e
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2e8-0x2ef irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <Maxtor 71626 AP>, 32-bit, multi-block-32
wd0: 1554MB (3183264 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM FIREBALL_TM3200A>, 32-bit, multi-block-16
wd1: 3067MB (6281856 sectors), 6232 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <OTI-SCYLLA/  V1.10>, removable, intr, iordy
atapi1.0: unknown phase
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.16>
sbxvi0 at 0x0 drq 5 on isa
sbxvi0: <SoundBlaster 16 4.16>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
awe0 at 0x620 on isa
AWE32 not found
AWE32: not detected

opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
mpu0 at 0x330 irq 5 drq 0 on isa
mpu0: <MPU-401 MIDI Interface 0.0 >
uart0 at 0x330 irq 5 on isa
uart0: <6850 Midi Interface>
mountmsdosfs(): Warning: root directory is not a multiple of the clustersize in
length


--
Conrad Sabatier
http://www.neosoft.com/~conrads

And the Deep Thought of the Day (tm) is:

The District of Columbia has a law forbidding you to exert pressure on
a balloon and thereby cause a whistling sound on the streets.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971116094516.conrads>