Replacing OS/2 Warp 4.52 Audio Adapter

This quick article is more like a note to myself when I was playing with OS/2 Warp 4.52 on a VirtualBox. I installed the VirtualBox with Sound Blaster 16 support directly from the OS/2 installer. Now I wanted to change the virtual adapter from Sound Blaster to Intel HD, which is supported by VirtualBox. That gives some headaches on the MMPM2.INI configuration file and I wanted to experiment which is the procedure to change the sound driver to Uniaud.



It is not as easy as replacing the config.sys SB16D2.SYS driver to UNIAUD32.SYS. It will be ok on the boot, but you will get no sound because the MMPM2.INI file is still referencing the Sound Blaster driver.

Automatic Procedure
The summary of what you have to do is:
 * 1) Uninstall the Sound Blaster driver with MINSTALL from the eCS or ArcaOS CDROM image. From: [CD/DVD]:\CID\SERVER\MMOS2\DRIVERS
 * 2) Install the Uniaud Drivers using the WarpIn procedure
 * 3) Install the Uniaud Drivers with MINSTAL from C:\MMOS2\INSTALL\UNIAUD

Uninstall Sound Blaster 16
Put the ArcaOS or eCS CD-ROM/DVD, go to [CD/DVD]:\CID\SERVER\MMOS2\DRIVERS\SB16 on the command line and run MINSTALL there.



Select the Sound Blaster 16 device and press "Install". It will ask you to change the config.sys, just say "YES".

The trick comes here:



Here you have to say "zero" adapters and continue with the installation procedure to the end.

This is the procedure that will remove the Sound Blaster 16 stuff from the MMPM2.INI. The manual procedure is listed on "Manual Procedure" subject.

Install Uniaud Driver
This is no-brainer. Just install the UniAud Driver from the WarpIn installer. On my case I just run "Uniaud-20211023.exe" and installed as normally.

If you reboot here, you may notice that Uniaud may recognize an adapter, but you still have no sound on OS/2.

Install Uniaud with MMOS2
Now you have to reinstall UniAud with the MINSTALL just to be sure all the Uniaud stuff get set on the MMPM2.INI.

Go to C:\MMOS2\INSTALL\UNIAUD and run MINSTALL. It will recognize the Uniaud driver there and just click "Install".



Here also check that you select 1 adapter for each of the options that presents you.



Reboot.

If everything went well, you will experience sound on your next reboot but now the sound is from the Intel HD device using Uniaud.

Manual Procedure
I didn't do the manual procedure of replacing the MMPM2.INI at hand. But it is also interesting to document this suggestion. If you can not uninstall the Sound Blaster driver with MINSTALL, you will have to modify the MMPM2.INI with some tool like INI Editor.

You have to do the following: Thanks to Lars Erdmann for this suggestion.
 * 1) BACKUP MMPM2.INI.
 * 2) In section [Drivers], remove from "Waveaudio=": IBMWAVESB01
 * 3) In section [Drivers], remove from "Sequencer=": IBMSEQSB01
 * 4) In section [Drivers], remove from "Ampmix=": IBMAMPMIXSB01
 * 5) Remove sections [IBMWAVESB01],[IBMWAVESB01-PLAY],[IBMWAVESB01-RECORD]
 * 6) Remove section [IBMSEQSB01]
 * 7) Remove section [IBMAMPMIXSB01]
 * 8) Check section [defaultnames], if any of the above driver names appear, remove that entry.

Links

 * OS2World Forum Discussion