OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Hardware => Topic started by: Martin Iturbide on February 28, 2021, 04:38:27 am

Title: Remove Audio Adapter - Warp 4 - VM
Post by: Martin Iturbide on February 28, 2021, 04:38:27 am
Hi

I have a Warp 4 VM (Virtualbox) with the SoundBlaster driver and I had changed it to Uniaud with Intel HD.
Now it produce sounds, but I think it has two audio adapters registered. I had selected Uniaud as the default device, system audio produces sound, but does not work when I double click wav files.

Do I have to remove the old SoundBlaster entry from somewhere (INI files?) ?

Regards
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: David McKenna on February 28, 2021, 05:42:59 pm
 Hi Martin,

 The Multimedia Setup facility for choosing default devices in Warp 4 has never worked correctly for me. Lars' USB audio drivers add a new page to the 'System' tab that allows choosing the default device that does work. You could try adding the USB audio drivers and use that to choose the default.

 If you want to remove the SoundBlaster, you can also edit the MMPM2.INI file by removing entries for the SoundBlaster, but it can be tricky. Once edited, you have to <ctrl><alt><del> to reboot (NOT a regular reboot or shutdown) to make changes stick. Be aware that improper editing of MMPM2.INI could prevent the computer from booting, so be sure to have a copy of the original MMPM2.INI file in case it goes wrong...

Regards,
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: Andreas Schnellbacher on February 28, 2021, 06:06:15 pm
Or first remove it by selecting 0 and then reinstall the new driver.
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: David McKenna on February 28, 2021, 07:02:21 pm
Or first remove it by selecting 0 and then reinstall the new driver.

 Hi Andreas,

  For some reason that has never worked for me, but it may be related to the driver install itself not being set up for it properly? One thing I just noticed is that UniAud and the USB audio drivers all have an 'uninstal.exe' program in their respective folders under 'C:\MMOS2\INSTALL\...'. Martin could check and see if there is a folder there for the SoundBlaster and does it have an 'uninstal.exe'?

Regards,
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: Lars on February 28, 2021, 11:06:08 pm
David, you are right,
selecting zero devices does not properly clean up MMPM2.INI. It needs manual rework.
But it's easier for me to do the actual cleanup than to explain how to do it.
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: Rich Walsh on March 02, 2021, 02:19:29 am
Martin, if you have any of the recent AOS betas you can use 'mmi.exe', my nearly-complete Multimedia Installer (no help yet). It will install/remove any MM package copied to your system or included on the AOS DVD, and will clean up 'mmpm2.ini' when done.

On an installed system, it's in '\MMOS2'. To get at it from an ISO, mount the image, then navigate to:
  x:\CID\SERVER\MMOS2\BASE\MMI.EXE
and run it from there.

Note: MMI is perfectly happy to uninstall drivers that aren't installed - it won't complain when it doesn't find any files. You can use this to trigger an 'mmpm2.ini' cleanup without making any other changes to MMOS/2.
Title: Re: Remove Audio Adapter - Warp 4 - VM
Post by: Martin Iturbide on March 02, 2021, 09:09:31 pm
Thanks for the suggestions. I will try the options and report back.

Regards