summaryrefslogtreecommitdiffstats
path: root/Documentation/sound/ESS1868
blob: d508349dcd10b8902314db58b570fc9ce48c7305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Documentation for the ESS1868F AudioDrive PnP sound card

The ESS1868 sound card is a PnP ESS1688-compatible 16-bit sound card.

Notes about configuring the sound card:

  *  The ESS1868 does not allow use of a 16-bit DMA, thus DMA 0, 1, 2, and 3
     may only be used.

  *  isapnptools version 1.14 does work with ESS1868.  Earlier versions might
     not.
  
  *  Sound support MUST be compiled as MODULES, not statically linked
     into the kernel.
  
For configuring the sound card's I/O addresses, IRQ and DMA, here is a
sample copy of the isapnp.conf directives regarding the ESS1868:

(CONFIGURE ESS1868/-1 (LD 1
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0388))
(IO 2 (BASE 0x0330))
(DMA 0 (CHANNEL 1))
(INT 0 (IRQ 5 (MODE +E)))
(ACT Y)
))

(for a full working isapnp.conf file, remember the
(ISOLATE)
(IDENTIFY *)
at the beginning and the
(WAITFORKEY)
at the end.)

In this setup, the main card I/O is 0x0220, FM synthesizer is 0x0388, and
the MPU-401 MIDI port is located at 0x0330.  IRQ is IRQ 5, DMA is channel 1.

After configuring the sound card via isapnp, to use the card you must load
the sound modules with the proper I/O information.  Here is my setup:

# ESS1868F AudioDrive initialization

/sbin/insmod sound
/sbin/insmod uart401
/sbin/insmod sb io=0x220 irq=5 dma=1 dma16=-1
/sbin/insmod mpu401 io=0x330
/sbin/insmod opl3 io=0x388
/sbin/insmod v_midi

opl3 is the FM synthesizer--I have not tried the SoftOSS wavetable
synthesizer yet, but I assume it would work as well.  Also, doing:
/sbin/insmod opl3
/sbin/insmod adlib_card io=0x388
works, but I believe the sound quality is a bit distorted when playing MIDI
files.

When using the above setup, my /proc/sound gives the following:

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux scitus.dyn.ml.org 2.1.104 #1 SMP Sun May 24 11:04:27 EDT 1998 i486
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: ESS ES1688 AudioDrive (rev 11) (3.1)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: Loopback MIDI Port 1
1: Loopback MIDI Port 2

Timers:
0: System clock

Mixers:
0: Sound Blaster