MacDive/Geo2 trouble connecting for the first time

Problems ? Get help here!
Post Reply
Andrew80
Posts: 3
Joined: Fri Aug 06, 2010 11:19 pm
Dive Computer: Geo 2.0

MacDive/Geo2 trouble connecting for the first time

Post by Andrew80 »

Hello,
I'm new to MacDive. I recently purchased a Geo 2 and the special usb cable that goes with it (04-9610). I've bought MacDive and downloaded the FTDI driver but when I try and import from my dive computer i get this message:

"Import Error
Failed connecting to dive computer on serial port '/dev/tty.usbserial-20030001' (Error Code: -5)"

Also these sort of devices appear on my desktop but theres nothing. I havent dived with the computer yet as i'm still trying to get the software to recognise my Geo 2. It could be just because the computers still empty...

Would appreciate any help i can get :)
Cheers
TnT
Posts: 181
Joined: Sun Feb 07, 2010 9:21 pm
Dive Computer: many
Contact:

Re: MacDive/Geo2 trouble connecting for the first time

Post by TnT »

Can you run the "atom2" test application? Instructions are here: http://www.mac-dive.com/forum/viewtopic.php?f=2&t=407
User avatar
nick
Site Admin
Posts: 4360
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: MacDive/Geo2 trouble connecting for the first time

Post by nick »

For what it's worth, the Geo 2 is not officially supported. We'd require the testing data to get it added properly.
Andrew80
Posts: 3
Joined: Fri Aug 06, 2010 11:19 pm
Dive Computer: Geo 2.0

Re: MacDive/Geo2 trouble connecting for the first time

Post by Andrew80 »

This is what I tried with the test app but i dont think it worked...

Last login: Sat Aug 7 08:26:49 on ttys000
andrew-thomass-macbook:~ andrewthomas$ cd Desktop
andrew-thomass-macbook:Desktop andrewthomas$ chmod u+x atom2
chmod: atom2: No such file or directory
andrew-thomass-macbook:Desktop andrewthomas$ ls /dev/tty.*
/dev/tty.Bluetooth-Modem /dev/tty.usbserial-20030001
/dev/tty.Bluetooth-PDA-Sync
andrew-thomass-macbook:Desktop andrewthomas$ ./atom2 /dev/tty.usbserial-20030001-bash: ./atom2: No such file or directory
andrew-thomass-macbook:Desktop andrewthomas$
TnT
Posts: 181
Joined: Sun Feb 07, 2010 9:21 pm
Dive Computer: many
Contact:

Re: MacDive/Geo2 trouble connecting for the first time

Post by TnT »

Either you forgot to download the atom2 test app, or you didn't download it to your "Desktop" directory but somewhere else (most likely the "Download" directory). In that last case you have to move it to the desktop directory, or adjust the "cd" command with the right directory.
Andrew80
Posts: 3
Joined: Fri Aug 06, 2010 11:19 pm
Dive Computer: Geo 2.0

Re: MacDive/Geo2 trouble connecting for the first time

Post by Andrew80 »

Hi,
i downloaded the test app to the desktop and i got this result. the icon changed from white to black with green text in the top left hand corner. dont know if that helps. otherwise i repeated the steps the same....



Last login: Sat Aug 7 19:05:38 on ttys000
andrew-thomass-macbook:~ andrewthomas$ /Users/andrewthomas/Desktop/atom2 ; exit;DATETIME 2010-08-07T18:11:03Z (1281204663)
REVISION aca36ad344d50a91c397500797eb9ef1aa253815
DEVICE=/dev/ttyS0
oceanic_atom2_device_open
TRACE (../../source/src/serial_posix.c:100, open): No such file or directory (2)
../../source/src/oceanic_atom2.c:271: Failed to open the serial port.
../../source/examples/oceanic_atom2_test.c:35: Error opening serial port.

SUMMARY
-------
test_dump_memory: Input/output error
logout

[Process completed]
TnT
Posts: 181
Joined: Sun Feb 07, 2010 9:21 pm
Dive Computer: many
Contact:

Re: MacDive/Geo2 trouble connecting for the first time

Post by TnT »

When you run the test application, you have to supply the correct portname on the command line, like this

/Users/andrewthomas/Desktop/atom2 /dev/tty.usbserial-20030001

If you omit a portname, it will try to use /dev/ttyS0 which doesn't work of course.
User avatar
nick
Site Admin
Posts: 4360
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: MacDive/Geo2 trouble connecting for the first time

Post by nick »

Andrew80 wrote:Hi,
i downloaded the test app to the desktop and i got this result. the icon changed from white to black with green text in the top left hand corner. dont know if that helps. otherwise i repeated the steps the same....



Last login: Sat Aug 7 19:05:38 on ttys000
andrew-thomass-macbook:~ andrewthomas$ /Users/andrewthomas/Desktop/atom2 ; exit;DATETIME 2010-08-07T18:11:03Z (1281204663)
REVISION aca36ad344d50a91c397500797eb9ef1aa253815
DEVICE=/dev/ttyS0
oceanic_atom2_device_open
TRACE (../../source/src/serial_posix.c:100, open): No such file or directory (2)
../../source/src/oceanic_atom2.c:271: Failed to open the serial port.
../../source/examples/oceanic_atom2_test.c:35: Error opening serial port.

SUMMARY
-------
test_dump_memory: Input/output error
logout

[Process completed]
This looks like maybe you just double clicked on the test app ?

If so, you actually have to follow the instructions in the forum thread - double clicking on it doesn't work properly.
Post Reply