[PD] [comport] crashes system (Ubuntu 11.10) when USB from Arduino gets disconnected by mistake
ingo at miamiwave.com
Mon Oct 26 18:24:25 CET 2015
I'm on an old Ubuntu (11.10) and Pd-extended 0.42.5 - possibly a newer version would help.
Here Pd-extended freezes and I cannot shut down Pd or Ubuntu anymore.
Von: Pd-list [mailto:pd-list-bounces at lists.iem.at] Im Auftrag von Alexandros Drymonitis
Gesendet: Montag, 26. Oktober 2015 17:45
Cc: pd-list at lists.iem.at
Betreff: Re: [PD] [comport] crashes system (Ubuntu 11.10) when USB from Arduino gets disconnected by mistake
On Mon, Oct 26, 2015 at 6:41 PM, Alexandros Drymonitis <adrcki at gmail.com> wrote:
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
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
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.
More information about the Pd-list