Go Down

Topic: OSX Port Issue (Read 621 times) previous topic - next topic

Pauly

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?

Cheers.

Grumpy_Mike

Quote
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.

Pauly

#2
Mar 09, 2009, 12:02 pm Last Edit: Mar 09, 2009, 02:53 pm by Pauly Reason: 1
The OSX 10.4 machine is the G4 tower.  
How do I install and or check the drivers?

As far as I know the machine is up to date in terms of the latest OSX 10.4 software updates.

Grumpy_Mike

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

Pauly

Thanks.
No, never had to do this before with my OSX 10.5 computer.
Which driver do I need for OSX 10.4?

# VCP Drivers
# D2XX Drivers

Grumpy_Mike

The VCP are only for the PC so use the D2XX for the sort of mac (intel or not) you have.

Pauly

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.

Quote
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.

Go Up