On Mon, Oct 26, 2015 at 6:41 PM, Alexandros Drymonitis <adrcki@gmail.com> wrote:


On Mon, Oct 26, 2015 at 6:17 PM, Max <abonnements@revolwear.com> wrote:
On 2015년 10월 26일 19:32, Alexandros Drymonitis wrote:
> On Mon, Oct 26, 2015 at 11:58 AM, Max <abonnements@revolwear.com
>     It's a known issue that if a connection is not released in the software
>     and the cable is unplugged, comport and Pd will crash. It should not
>     affect the Operating system however.
> Hasn't that issue been fixed?

Not that I know of. Maybe newer Arduinos have a USB driver that handles
this better?
I think it's on the [comport] side that it has been fixed. Maybe it's combined with a better handling from the Arduino itself. I guess Martin Peach can answer this.
AFAIK the only way to get around this issue is to use a Byron/Minia
http://www.1010.co.uk/org/byron.html
and use the HID or MIDI-USB for the (Sensor-)input.
Newer Arduinos should be able to reprogram the USB Atmel chip to behave
like a Keyboard/HID/MIDI-USB, That would work too.
The Arduino Leonardo is designed to behave like a keyboard, as far as I know, not the Uno.


> My computer won't crash if I unplug the
> Arduino without closing the serial port.

And Pd is not freezing either?
Nope, it just throws an error message (or a few of them) saying that the connection to the serial device has been lost..
More precisely, it says that it lost connection and that it retries to obtain it. After a few attempts (around 10) it gives up, but no crash.