Manual browser: opl(4)

OPL(4) Kernel Interfaces Manual OPL(4)


oplYamaha OPL2 and OPL3 FM MIDI synthesizer driver


opl* at cmpci? flags 1
opl* at eso?
opl* at ess?
opl* at fms?
opl0 at isa? port 0x388
opl* at sb?
opl* at sv?
opl* at wss?
opl* at yds?
opl* at ym?
midi* at opl?


The opl driver provides support for the Yamaha OPL2 (YM3812) and OPL3 (YMF262) chips. The chips are FM synthesizers and are capable of producing a wide range of sounds.

Access to the device is through the MIDI driver.

The opl driver usually attaches to a sound card, but it can also sit directly on the ISA bus.

If “flags 1” is specified, the opl driver handles left and right channels of OPL3 swapped. Use this flag if your device has such problem.


The opl device driver appeared in NetBSD 1.4.


The OPL3 chip is operated in OPL2 mode despite being more capable.
January 3, 2009 NetBSD 7.0