I think it's the FTDI drivers that were the problem. Try getting the latest VCP driver from here: http://www.ftdichip.com/FTDrivers.htm
Martin
On Mon, Oct 26, 2015 at 1:24 PM, Ingo ingo@miamiwave.com wrote:
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.
Ingo
Von: Pd-list [mailto:pd-list-bounces@lists.iem.at] Im Auftrag von Alexandros Drymonitis Gesendet: Montag, 26. Oktober 2015 17:45 An: Max Cc: pd-list@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@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.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list