Pages: [1]   Go Down
  Print  
Author Topic: Multiple MPU-401 ports under Windows 3.11  (Read 2200 times)
0 Members and 1 Guest are viewing this topic.
5u3
Senior Member
*
Offline Offline

Posts: 65



View Profile
« on: August 20, 2007, 11:29:07 PM »

Hi everyone,

I've come across an annoying little problem when using my MIDI synths under Windows 3.11: Apparently it is not possible to install more than one instance of the Roland MPU-401 driver. I already have it installed once for my LAPC-I (port 330H, IRQ 2/9), when I try to add the interface of my SCC-1 (port 332H, IRQ 3) the following message appears: "The required mpu401.drv driver is already installed on the system. Do you want to use the current driver or install a new driver?".

Microsoft's solution is not very helpful: "To use two Roland MPU401s, obtain a driver from the software package you are using to support them."

Is there any way around this?

P.S.: It is possible to change the port and IRQ of the installed driver to access the other interface, but that involves a lot of clicking and a Windows restart every time I want to switch.
« Last Edit: August 20, 2007, 11:32:25 PM by 5u3 » Logged

486 DX4 | 486SP3 | 64MB FPM | S3 Trio64V+ | AWE32 + DB50XG | Ultrasound | SCC-1 | LAPC-I | LPT-DAC
K6-III | P5A | 256MB SDR | Voodoo5 5500 | AWE32 + SCB-55 | Ultrasound PnP
A64 4000+ | AV8 3rd Eye | 2048MB DDR | Radeon 9800SE | ALC658D
Great Hierophant
Senior Member
*
Offline Offline

Posts: 1,003



View Profile
« Reply #1 on: August 21, 2007, 02:54:13 AM »

I had a similar problem in Win 98.  The system would recognize both MPU-401s, but in practice would only allow me to use one, regardless of which I selected. 
Logged

Locutus
Senior Member
*
Offline Offline

Posts: 133



View Profile WWW
« Reply #2 on: August 21, 2007, 09:04:23 AM »

Hello 5u3,

my first idea would be to search through win.ini or system.ini. Somewhere in there ought to be a line, that says something like

Code:
midiN=mpu401.drv

N being a number that depends on how much other MIDI interfaces (AWE, GUS?) you already loaded.

You should try and copy that line, so that two instances of that driver are loaded, for example:

Code:
midi1=mpu401.drv
midi2=mpu401.drv

If that doesn't work because of the filenames being the same, you can try and copy one of the files to mpu401_2.drv or something.

You'll have to find out where the drivers keep their I/O port and IRQ settings. That will most possibly be stored in some INI file, I guess. So you'll have to figure out a way to configure both driver instances separately from each other. If the INI filename is hardcoded in mpu401.drv, you can get a hex editor and modify it. :-)

Those would be my approaches. I hope they help.

Regards,
locutus
Logged

Ari
Administrator
Senior Member
*
Offline Offline

Posts: 2,609



View Profile WWW
« Reply #3 on: August 21, 2007, 11:33:43 AM »

I had a similar problem in Win 98.  The system would recognize both MPU-401s, but in practice would only allow me to use one, regardless of which I selected. 
I've never had any problems with getting 2 MPU-401 drivers to work simultaneously on win98.
Also, IIRC, it names the 2 devices differently: my LAPC-I is referred to as a "Roland MPU-401" device, and my SCB-55 (attached to a Roland MPU-401AT interface card) is referred to as a "MPU-401 out" device.
Logged

I feel like I'm diagonally-parked in a parallel universe
5u3
Senior Member
*
Offline Offline

Posts: 65



View Profile
« Reply #4 on: August 21, 2007, 04:09:43 PM »

Thanks very much for the hints everybody, I figured it out now!

Yes, it is possible to have two MPU-401 drivers installed simultaneously, and it's actually quite easy to trick Windows into accepting them:
All you have to do is set up the standard Windows MPU-401 driver (MPU401.DRV) for one device and get the Roland driver (RDMPU401.DRV) for the other device. Both are very similar (they even have the same configuration interface), but they each run under different names and store their settings in different sections of SYSTEM.INI. Problem solved!

Here are excerpts from my SYSTEM.INI (for reference):
Code:
[drivers]

; Microsoft MPU-401 driver
Midi4=mpu401.drv

; Roland MPU-401 driver
Midi5=rdmpu401.drv

; SCC-1
[mpu401.drv]
port=332
int=3

; LAPC-I
[rdmpu401.drv]
ioport=330
intnum=2
Logged

486 DX4 | 486SP3 | 64MB FPM | S3 Trio64V+ | AWE32 + DB50XG | Ultrasound | SCC-1 | LAPC-I | LPT-DAC
K6-III | P5A | 256MB SDR | Voodoo5 5500 | AWE32 + SCB-55 | Ultrasound PnP
A64 4000+ | AV8 3rd Eye | 2048MB DDR | Radeon 9800SE | ALC658D
Pages: [1]   Go Up
  Print  
 
Jump to: