[PD] raspberry comport error 2

Martin Peach chakekatzil at gmail.com
Fri Aug 19 18:47:21 CEST 2016


On Fri, Aug 19, 2016 at 12:23 PM, <rolfm at dds.nl> wrote:

> hello,
>
> Slowly trying to get a grip on RPi.
> ...
>


> Opening the port in Pd goes alright:
>
> [comport] closed port 1 (/dev/ttyAMA0)
> [comport] set_baudrate: Setting baud rate to 115200 with baudbits 0x1002
> [comport] opened serial line device 1 (/dev/ttyAMA0)
>
> Trying to send a byte from Pd to Arduino:
>
> [comport]: Write failed for 0 bytes, error is 2
>
> There seems to be no error-'guide' for comport.
>
> The error is a standard linux errno:

#define ENOENT       2  /* No such file or directory */




> What could be the reason?
>
> Not sure. Do you have permission to write to the serial port?
What does
ls -l /dev/ttyAMA0
say?
Also sending a [info( message to [comport] will output a list on the
rightmost outlet.
It may tell you something.

Martin
\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160819/5fc8286d/attachment-0001.html>


More information about the Pd-list mailing list