Changes to RFC6295 MIDI network driver between Mac OS 10.5 and 10.6?
Changes to RFC6295 MIDI network driver between Mac OS 10.5 and 10.6?
- Subject: Changes to RFC6295 MIDI network driver between Mac OS 10.5 and 10.6?
- From: Ian Kemmish <email@hidden>
- Date: Fri, 20 Dec 2013 10:20:38 +0000
Working from RFC6295 and "AppleMIDINetworkDriverProtocol.doc" (6 May 2005), I've been developing a network MIDI controller.
With Mac OS 10.5, everything worked OK except for one problem: for about ten seconds after a connection was established, all MIDI commands sent from the controller to the Mac disappeared into a black hole. After ten seconds, then the Mac started echoing the commands back to the controller (minus the journal entries), and forwarding them to MIDI software running on the Mac. (I note that RFC6295 and all RTP protocols permit a conforming implementation to treat initial packets from a new source with suspicion.)
Then, in an excess of zeal, I upgraded my Mac to OS 10.6. I now discover that all MIDI commands sent to the Mac disappear into a black hole and it never starts echoing them or forwarding them.
1) All autoconf ("Bonjour") set-up happens OK, and Audio MIDI Setup presents my device in the list of available devices.
2) If I select this device and click "Connect", the Mac connects to the device and it appears in the list of connected devices. Synchronisation packets are exchanged without problems. Examining the "IN", "OK" and "CK" packets with Wireshark, all appear as they should be. (Indeed, as part of this project, I fixed some bugs in Wireshark's RFC 6295 package.)
3) MIDI packets sent from the controller to the Mac just disappear. They still appear as they should be when examined in Wireshark.
4) No diagnostics appear, either in Audio MIDI Setup or in the Mac's console log.
5) If I click on "Disconnect", the Mac sends a correctly formed "BY" packet to the controller.
So:
What, if any, changes were made to the MIDI network driver between Mac OS 10.5 and 10.6?
As far as I know, I'm the first person ever to actually use RFC6295 journalling. Might this be affecting things?
How can I cajole the MIDI network driver on the Mac to produce diagnostics?
I can produce Wireshark traces if required, but I'm not sure they'd tell you much.
This may only be for a freeware project, but coming right at the end of a lot of work, it's intensely irritating:-(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952 854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden