Author |
Topic: Refresh device list (Read 721 times) |
|
Breath
Administrator
    

Gender: 
Posts: 1031
|
 |
Refresh device list
« on: Sep 1st, 2010, 8:45pm » |
Quote Modify
|
With every piece of gear now also being a USB Midi interface as well, I am finding that I am in the middle of doing something with MidiOx, but need to turn on another piece of gear. Unfortunately, as it wasn't there when MidiOx started and looked at the list of devices, MidiOx doesn't know about it and I can't access it. The solution has been to quit MidiOx and restart it. This would be just a pain if it wasn't for my Midisport interface that doesn't seem to respond to a close device message correctly (or at all) and MidiOx correctly waits till it times out and then closes. Is there a way to leave MidiOx open and get it to perform the device lookup again?
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Refresh device list
« Reply #1 on: Sep 3rd, 2010, 2:40am » |
Quote Modify
|
Unfortunately, MS in their infinite wisdom (sarcasm) decided that it would be fun to completely renumber all loaded MIDI devices when a USB cable is 'hot-swapped', causing a new driver to be loaded. It's like the rug being pulled out from underneath. So, I am afraid the answer is no. At least we have gotten beyond crashing when this happens... Is it that terribly difficult to plug all devices you need before launching? If so, it's still pretty quick to close and reopen MIDI-OX.
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
Breath
Administrator
    

Gender: 
Posts: 1031
|
 |
Re: Refresh device list
« Reply #2 on: Sep 3rd, 2010, 3:56am » |
Quote Modify
|
Thanks for the reply Jamie, The problem wouldn't be so bad except for the MidiSport driver. It causes every program to hang when they are closed down. I turn the interface off and that speeds things up but if I have a DAW open and turn off the MidiSport to re-launch MidiOx, I have to restart the DAW as well. What are you waiting for when you post the message "Closing Midi devices. Please wait etc"? I assume you are, correctly, waiting for a "I'm closed now " message from the driver. Does the function call have a name? I'll write to M-Audio and ask them to fix it. Thanks Royce
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Refresh device list
« Reply #3 on: Sep 4th, 2010, 12:20am » |
Quote Modify
|
Yes. Waiting for a confirmation from all open drivers that they are now closed -- and have released all sysex buffers back to the App (MIDI-OX). You might try reducing the number of INPUT buffers to speed closing. If you're going to hot-swap devices, close ALL MIDI Apps before doing so. Sorry, but it's very difficult for apps to deal with this.
|
« Last Edit: Sep 4th, 2010, 12:22am by Jamie OConnell » |
IP Logged |
--Jamie Music is its own reward.
|
|
|
Breath
Administrator
    

Gender: 
Posts: 1031
|
 |
Re: Refresh device list
« Reply #4 on: Sep 18th, 2010, 10:47pm » |
Quote Modify
|
I am pleased to say that the guys from M-Audio have been working on fixing this problem. There is a driver beta release, but, although it fixed this problem, it left out all the SMPTE stuff that is in the 8x8. So perhaps all will be well when they have the final release. Currently it is OK for the 2x2 and the 4x4 and an 8x8 if you don't need SMPTE All the best Royce
|
|
IP Logged |
|
|
|
|