[PD] [comport] crashes system (Ubuntu 11.10) when USB from Arduino gets disconnected by mistake

Alexandros Drymonitis adrcki at gmail.com
Mon Oct 26 17:41:16 CET 2015


On Mon, Oct 26, 2015 at 6:17 PM, Max <abonnements at revolwear.com> wrote:

> On 2015년 10월 26일 19:32, Alexandros Drymonitis wrote:
> > On Mon, Oct 26, 2015 at 11:58 AM, Max <abonnements at 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..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151026/45a8cf10/attachment.html>


More information about the Pd-list mailing list