Pages: [1]   Go Down
Author Topic: OSX Port Issue  (Read 502 times)
0 Members and 1 Guest are viewing this topic.
Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 574
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31370
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 574
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: March 09, 2009, 08:53:02 am by Pauly » Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31370
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 574
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31370
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 574
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: