Hi everyone,
I have a code that at some point opens a serial port by doing:
$this->bbcode_second_pass_code('', 'char *portname = "/dev/ttyAMA1";
...
...
...
int fd = open (portname, O_RDWR | O_NOCTTY | O_SYNC);')
This code runs well on raspbian with my B+ but does not work on my A+ with archlinux! It says:
$this->bbcode_second_pass_code('', ' Input/output error')
Anyone knows how I could solve that issue? The only USB device that I have on the usb port is my wifi dongle which is identified as ttyAMA0.
Thanks,
Alex