I’d really appreciate help on testing SerialOSCClient out when hotswapping devices on Mac OSX.

I’ve uploaded a new, revised SerialOSCClient.sc (see original post) and fixed some issues in the two code samples above.

The absolute easiest test for hotswapping is, install SuperCollider, install SerialOSCClient (see above), run SuperCollider and evaluate this in the editor:

SerialOSCClient.init

Now watch the Post Window. Attach and detach your device or devices (if you have several). Does SerialOSCClient seem to pick up device changes correctly? If not, does evaluating the single line above help?

When I try to test hotswapping with my old Macbook it often errs out, kernel panics and I have to power off and on again. A modal dialog showing “You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again.” appears. I thought first this was due to my SuperCollider code. However, when trying this out today it seems to be a serialoscd issue. It happens even if I do not run SuperCollider and just attach and detach devices. I run Snow Leopard and use serialoscd 1.2 as I cannot get any later version to run. My Mac is old and hotswapping devices does not seem to be enabled/supported fully in serialoscd on Windows.

Remember:
Embracing Open Source and ditching taking a pause from Proprietary Software is a good thing.