Mac OS X

  1. Download the OSX-version of JDiveLog from Sourceforge. (jdivelog-macosx-<version>.zip)
  2. Unpack it and drag the application to your /Applications folder
  3. In order to being able to communicate with your dive-computer you also have to install a serial driver library, so download the OSX-version of the rxtx serial driver library as found on http://users.frii.com/jarvi/rxtx/download.html. you have two options for this:
    1. Automatic Install:
      • Download the source-package (tested with http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7-r2.zip) and unpack the archive (e.g. to your desktop or home directory).
      • Go to the (MACOSX_IDE/ForPackageMaker folder), try to install RXTX binaries using the Installer by double clicking on MACOSX_IDE/ForPackageMaker/RXTX_Tiger.pkg
      • check existence of the folder “/var/spool/uucp”, if you don’t have it create it with command
        sudo mkdir /var/spool/uucp

        Permissions should be: drwxrwxr-x, if they are not do command

        sudo chmod 775 /var/spool/uucp
      • YOU (and everyone using the serialport/lib should be a member of the uucp group, you can check it with command
        niutil -readprop / /groups/uucp users

        You should see your name in output of the niutil command. If you don’t see it, do following:

        sudo niutil -appendprop / /groups/uucp users <yourname>

        Substitute <yourname> with your user’s name

      NOTES: RXTX.pkg should create uucp folder and insert your name in uucp group automatically but you might want to repeat those steps for other users. If everything went without errors, you should be done now. Remember that changing group memberships of users might need a reboot, so please consider doing so.

    2. ALTERNATIVELY (experienced user)
      you can also install the lib manually by, downloading the binary package (http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7-bins-r2.zip) and copy the files manually:

      • cd <where you unpacked it>/rxtx-2.1-7-bins-r2/
        
        sudo cp RXTXcomm.jar /Library/Java/Extensions
        
        sudo cp Mac_OS_X/librxtxSerial.jnilib /Library/Java/Extensions
      • In order to being actually able to access the serial port as a normal user, you have to be a member of the uucp-Group (otherwise you’ll get an Error: “Port already in use”), which can be accomplished by running
        fixperm.sh

        Which can be found in the /contrib folder of the rxtx SOURCE package subdirectory.

  4. Reboot or at least log-off and log-on again (for the group membership to become effictive)
  5. Run JDiveLog and Be Happy ๐Ÿ˜‰
  6. If your (USB)-serialport does not appear on the list of available ports in the preferences tab of JDiveLog, make sure that you have a driver from your cable vendor installed on your system.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

5 Responses to Mac OS X

  1. hanssens mathieu says:

    Hi there, It appears that the procedure you describe is not compliant with Mac OSX as NIUTIL commando is not supported anymore…
    I guess I’m not the only Mac user, so is there an alternative???

    Thanks.
    Kind regards,

    Mathieu

  2. Chris says:

    Hi,

    iยดm having problems with saving the settings and my downloaded files from my OSTC 2N.
    I have no problems with getting a connection or the communication between my Mac and my OSTC, but JDiveLog will not save the settings or my logbook.

    Can anyone help?

    THX in advance ๐Ÿ™‚

    Chris

    • hanssens mathieu says:

      Hi chris,
      How did you solve the niutil issue?? are you using mac OSX?

      Mathieu

      • Chris says:

        Hi Mathieu,

        i’m using mountain lion on my mac and didnยดt have any problem with installing the App.
        I just can’t save my settings and the Logbook.

      • Christopher Reeve says:

        Hi Mathieu,

        i got a solution ๐Ÿ™‚ => download the .jar file -> click the right mouse button and install => done ๐Ÿ™‚ if you want to start the app as all others, just install now the osx version ๐Ÿ˜‰

        Don’t know why it works, but it does ๐Ÿ™‚ even if you only install the linux version .jar file ๐Ÿ˜‰ in this case, it will start auto. via terminal -> thats why i installed the osx version also -> so i can start the app as all the others ๐Ÿ˜‰

Leave a Reply

Your email address will not be published. Required fields are marked *