Hi,
I'm running Processing connected to Arduino with a USB cable. Basically the Processing sketch listens for input from a sensor connected to the Arduino and then calls a PHP page to send an email. With OSX 10.5 using port 2 it works fine. Moved it to a G4 Tower running OSX 10.4 and had to change the port to either 0 or 1. Not getting any sensor readout from either port on the OSX 10.4 machine. How can I get the sketch to work in OSX 10.4 without upgrading to 10.5?
Not getting any sensor readout from either port on the OSX 10.4 machine.
You don't say what the OSX 10.4 machine is, is it one of the two you have described or another one. I have run this sort of thing on a OSX 10.4 machine (Mac mini) without any problems. Make sure the drivers are installed.
The drivers for the USB to serial bridge are not part of the normal Mac OS, they should be downloaded from the future technology devices site. Someone must have done this already on the computers you have that work. http://www.ftdichip.com/Products/FT232R.htm
Hi,
I had to switch computers to a Dell running XP.
I downloaded the drivers and it now reads the Arduino fine.
However when it starts receiving actual data, I get the following error.
Error 0x5 at /home/bob/foo/rxtx-devel/build/../src/termios.c(482): Accejava.io.IOException: No error in nativeavailable
at gnu.io.RXTXPort.nativeavailable(Native Method)
at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
at processing.serial.Serial.serialEvent(Serial.java:221)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
java.io.IOException: No error in nativeavailable
at gnu.io.RXTXPort.nativeavailable(Native Method)
at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
at processing.serial.Serial.serialEvent(Serial.java:221)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
ss is denied.
Anyone know how to fix this error?
What does ss is denied mean?
Any help is appreciated. Thanks.