Did you change something in the JNLP? The old install versions opened up a window to save the app. The generated file was an application with icon under OSX.
All new install jnlp´s don´t ask you to save something and stay as jnlp.
Looking at http://sourceforge.net/projects/bt747/files/bt747_dev/development the last upload for the development version of the Desktop gui happened on November 1st. I've made some changes to fix some issues in the mobile phone version after that but I did not rebuild the GUI version.
I would not expect recent changes to impact the connection capability.
Looking at your logs, I can not identify the port that corresponds to the Holux M241. The 'Find Serial Ports' will populate the pull down menu - you still need to select the right port inside it.
Because BT747 can not find any 'recogniseable' port, I suppose it takes an 'empty' port name (I did not check my code on this). Then BT747 will get the list of known serial ports from RXTX. That list is not necessarily complete because RXTX also makes a 'selection'.
Make sure that a new port appears in the '/dev/' directory on your system when you connect your logger. Then make sure that this is the port name that you select in BT747 - it should also be listed in the list of ports that RXTX finds. If you have the port in '/dev/' but RXTX does no find it, then report the port that you think your device is on here. I do not think that the problem is RXTX, but if it is then I can make another change to it.
I'm on 10.6.2, a Mac Pro using the local install version of BT747, can't communicate with my new BT-Q1000X.
I DID download the lastest SILAB drivers and rebooted and I see the cu.usbmodem and tty.usbmodem devices. I also got the RXTX2.2 update as you can see.
Here are suspicious excerpts from my log:
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Listing known ports:
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: 22703 - SER :/dev/tty.usbmodem3d20
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: 22703 - SER :/dev/cu.usbmodem3d20
.com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Info: trying to open '/dev/cu.SLAB_USBtoUART'
It looks like the SILAB driver is not instantiating the USB->UART bridge device? I definitely don't see it in my /dev directory. I also see these version mismatch messages when BT474 starts up but I suspect they're benign (?):
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: WARNING: RXTX Version mismatch
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Jar version = RXTX-2.2pre1
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: native lib Version = RXTX-2.2pre2
Not sure exactly what I did...but it's working for me now.
When I failed initially to get a USB connection to the BT-Q1000X I tried connecting it up over a Bluetooth dongle (not built-in BT). Mac OS had no trouble pairing with it, and then several new Bluetooth devices showed up in /dev. Choosing one of those BT devices in BT747 I was able to get a connection.
After pulling the dongle out and rebooting, the BT ports in /dev disappeared. But now I was able to get a USB connection to the BT-Q1000X using tty.usbmodem3D20 AND cu.usbmodem3D20!
However, when I hit [Disconnect] I get a SEGFAULT with these msgs in the crash log:
Can you list the detected ports when trying to make a connection (appears in the 'info tab'). When you try it without the device connected to your mac and then with the device connected, you should see an extra port appear in the list.
You can enter that port 'textually' in the port name next to 'Connect to'.
You can report the port name & error here so that there are more hints at what is going on.
first off, thanks to Mario for this great piece of software.
I have struggled a bit to download my tracks from my Qstarz BT-Q1200 using a Mac. Since this thread proved very helpful, here is my step-by-step solution:
My step-by-step list to connect BT747 Desktop to my Qstarz BT-Q1200
MacBookPro, Snow Leopard 10.6.2
BT747 V2.x.1689 (11.03.2010)
1) Open Bluetooth from System Preferences
a. Turn Bluetooth on
b. Set up Bluetooth device ( a new window appears)
i. iBT-GPS appears (my Qstarz BT Q1200)
ii. push <continue>
iii. a message appears: “congratulations, your computer is now set up to use your BT device; *Pairing was completed successfully; *A computer serial port was created
iv. <quit> ( the new window disappears again)
c. Select your bluetooth device (mine: iBT-GPS)
i. Below the column with Bluetooth devices, there are three clickable buttons: a ‘+’ (for adding BT devices), a ‘-‘ (for …) and a cogwheel. Click-hold the cogwheel and select “edit serial ports”
ii. a new window pops up, with lots of info. Important: at the bottom, there is a path shown. Select the path and copy it (in my case: /dev/tty.iBT-GPS-SPPSlave )
b. In the first tab ”log operations”, at the bottom of the scree there is a <connect> button, with next to it a text box saying USB (for Linux, Mac). Paste your Bluetooth path into this box (again: mine is /dev/tty.iBT-GPS-SPPSlave
c. Hit <connect>
d. Voila, here’s my device. I suddenly see my location in GPS device data.
As far as I can see in my code "BLUETOOTH (for mac)" should work from the selection box for the port you mention. Of course your method is more generic which is good for users for whom that would not work (that should report their port name for integration in BT747).
If BT747 reliably crashes on disconnect, I would be interested in getting a glimpse of the error log ("java error log") in order to see if I can do something about it. There is no such crash on Windows.
Apparently you tried to make a post but the SPAM filter rejected it because of its size. In principle it should be possible for you to add attachements to a post. Currently I managed to extract your log from the server error message.
Further below I extracted the most caracteristic information. From that information I can see that BT747 crashes during the close procedure in the RXTX driver itself, apparently when an internal event listener is removed from a listener list and when the interrupt event loop is called -> I have to check the RXTX code to understand what is done.
Out of interest, can you check the size of: /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib . The size can help validate that you are using the 'right' version of the native library (I think that you are, but one has to check the basic assumptions: they quite often prove wrong).
I am assuming that you launch from http://soft.bt747.org/BT747_J2SE_Latest_rxtx2_2p2.jnlp (based on your earlier post).
Hi, I have the same problem a Joost - crash disconnecting on OS X 10.6.2 and the error is from librxtxSerial.jnilib (size 169,488 bytes). Can I help with any other details?
did not do anything since the failed post except for spilling copious amounts of water on my GPS. Had it dry for a week or so, seems to be fine now.
The size of the file you requested:
>>
joost ~ $ ls -al /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib
-rw-r--r-- 1 joost staff 169488 Mar 13 17:11 /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib
<<I also checked whether I could use the standard "BLUETOOTH (for Mac)"-port option: it works flawlessly. Don't know why it did not work at first.Joost
The size is good - this is 2.2pre2. I may come back later to propose a setup where you can try the 'arduino' version of the library from the web.
To upload files you must be logged in. (If I do not have that as a condition, I'ld get crap such as virusses or other malware in the attachements - about 80 'spam' messages are autmatically blocked each day as it is).
[edit:]
I checked the code - my guess is that there a bug in both the native code and the java code of RXTX. The arduino distribution seems to have a solution. It was reported there too, but solved by removing RXTX files that were not 'arduino': http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1259946652 .
I'll make some kind of 'arduino' webstart - I currently do not have the time for that. I've attached the binary for that which could be referenced when running from the command line.
In a 64-bit Mac OS X 10.6.3 environment (=all the latest Macs I suppose), only the pre2 version works. If you're using a USB cable to connect to your GPS logger with the SiLabs drivers you're S.O.L. if you're running Mac OS in 64-bit mode. There's no 64-bit SiLab USB<->UART driver at the moment. Of course you could run your Mac in 32-bit mode but that's sooo old school :)
So, the only connection option left in my case is Bluetooth (I own the Holux M-241). No additional drivers are needed, I just paired it with the Bluetooth Assistant (BA). Once it's paired I have a new device in my /dev directory named tty.HOLUX_M-241-SPPSlave. This is what I enter in BT747 in the text box as the connection string:
/dev/tty.HOLUX_M-241-SPPSlave
And hit the connect button. That's it. Make sure Bluetooth is enabled in the GPS logger.
Btw. Mario: At least in my case hitting the Disconnect button terminates the application.
I installed BT747 Desktop on my MacBook running Snow Leopard yesterday. It installed a shortcut on my desktop but I couldn't get it to connect to my Qstarz. Today, however, it refuses to launch and throws me back a "Unable to launch the application" window and the error is: "Unexpected exception: java.lang.reflect.InvocationTargetException."
I tried deleting the application but when I try downloading BT747 Desktop it doesn't create a shortcut any more so when I quit the app, the app disappears. And I still can't connect to the GPS.
What's weird is I had no problems setting it up on my desktop running Leopard.
To delete the application, you have to (or can/should) do this in the 'Java Console or Control panel' [I am not sure how to get to that on Mac].
Regarding not being able to connect: do you have the device driver installed on the Mac ? Possibly that was installed on your desktop for some other reason and not on your MacBook.
Alternatively, you can fetch the zip file from the sourceforge file and launch BT747 from there.
I've been able to reinstall BT747 Desktop and get it running. However, I'm still not able to connect to my Qstarz. I don't know what device driver I need since it worked fine on the iMac but not on the laptop....
It is best to give more details regarding your device and system: which Qstarz device is it? Are both your systems 32 bit (a forum entry above says that Silabs drivers do not exist for 64 bit).
In stead of USB, you should be able to use Bluetooth as a backup solution.
I'm using the Qstarz BT-Q1000X. I'm running 32 bit both on the laptop (Snow Leopard) and desktop (Leopard). I have BT747 desktop running on the desktop and RxTx2.2pre2 running on the laptop.
I'm able to connect using Bluetooth on the desktop. No such luck on the laptop.
I'm pretty sure it's a simple solution but I'm a newbie at this....
Your device is using MTKII - I'll have to look again regarding the native mac driver setup.
Regarding bluetooth - make sure that a new entry appears in the '/dev' directory when bluetooth is connected. Normally that path should be detected automatically as on your desktop, but it could be that it is not recognized. You can also enter it directly as the port name.
It is possible that you have an issue with RXTX on your laptop - maybe you can share the error code you get to make sure what it is.
Due to incompatibility with
Due to incompatibility with 10.4, I moved the use of the latest RXTX version to the following links:
http://soft.bt747.org/BT747_J2SE_Latest_rxtx2_2p2.jnlp
http://soft.bt747.org/BT747_J2SE_Latest_RXTX2.2_Install.jnlp
http://soft.bt747.org/BT747_J2SE_RXTX2.2_Install.jnlp
@raymac74: Your post got unattended to - is the status still the same?
Can you make a version of the
Can you make a version of the latest RXTX like the autoupdate or install versions?(http://soft.bt747.org/BT747_J2SE_Latest_AutoUpdate.jnlp)?
The links above are not "applications" under osx and don´t have a correct icon.
Tnx!
Matt
This was done already but
This was done already but only visible on the english page of the webinstall - I now updated the German page.
I'll check about the icon.
If BT747 is running, it has
If BT747 is running, it has an correct icon.
Did you change something in the JNLP? The old install versions opened up a window to save the app. The generated file was an application with icon under OSX.
All new install jnlp´s don´t ask you to save something and stay as jnlp.
http://mafl.net/Desktop-1.jpg
are there any news
are there any news here?
still have problems connecting via USB to snow leopard. I tried all versions but the BT747 is still not visible :(
thanks for your help
nothing new? anyone? after
nothing new? anyone? after the new snow leopard update from november?
Hi, first thank
Hi,
first thank you, mdeweerd, for taking care and putting all the work in BT747 and the support.
Did you change BT747 Latest using RxTx 2.2pre2 (RxTx dev version) for Windows 32 & 64 bit, MacOSX, Linux in the last two or three weeks? I tried it a month ago after having installed Snow Leopard and it worked, but when I tried again last week, it stopped working. My problem is, that I get no connection to my M-241.
When I click on "find serial port" he selects the "Bluetooth".
Thank you in advance!
------------------------------------------------
Die Desktop-Version von BT747 läuft nun recht stabil.
Sie ist noch nicht offiziell freigegeben, da noch einige Funktionen benutzerfreundlicher gestaltet werden
------------------------------------------------
4592 - BT747 2.X.1596 Build:BT747_mdeweerd.1596.20091101221324234
4592 - Initial: 1085x569 Screen: 1280x800 Final: 1085x569
4592 - Mac OS X
4593 - x86_64
4593 - 10.6
4593 - 1.6.0_15
4594 - Fehlerjavax.swing.plaf.mac.MacLookAndFeel
Fehlercom.apple.mrj.swing.MacLookandFeel
Erfolgreichapple.laf.AquaLookAndFee
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
apple.laf.AquaLookAndFeel
gnu.io.NoSuchPortException
at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:269)
at gps.connection.GPSRxTxPort.openPort(Unknown Source)
at gps.connection.GPSrxtx.myOpenPort(Unknown Source)
at gps.connection.GPSrxtx.setUSBAndOpen(Unknown Source)
at bt747.model.Controller.setUsb(Unknown Source)
at bt747.j2se_view.BT747Main.access$300(Unknown Source)
at bt747.j2se_view.BT747Main$6.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6348)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6113)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
14723 -
Listing known ports:
14731 - SER :/dev/tty.Bluetooth-PDA-Sync
14731 - SER :/dev/cu.Bluetooth-PDA-Sync
14732 - SER :/dev/tty.K810i-SerialPort-1
14732 - SER :/dev/cu.K810i-SerialPort-1
14732 - SER :/dev/tty.Bluetooth-Modem
14732 - SER :/dev/cu.Bluetooth-Modem
14732 - SER :/dev/tty.K810i-Dial-upNetworking-2
14733 - SER :/dev/cu.K810i-Dial-upNetworking-2
gnu.io.NoSuchPortException
at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:269)
at gps.connection.GPSRxTxPort.openPort(Unknown Source)
at gps.connection.GPSrxtx.myOpenPort(Unknown Source)
at gps.connection.GPSrxtx.setBluetoothAndOpen(Unknown Source)
at bt747.model.Controller.setBluetooth(Unknown Source)
at bt747.j2se_view.BT747Main.access$300(Unknown Source)
at bt747.j2se_view.BT747Main$6.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6348)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6113)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
17615 -
Listing known ports:
17619 - SER :/dev/tty.Bluetooth-PDA-Sync
17620 - SER :/dev/cu.Bluetooth-PDA-Sync
17620 - SER :/dev/tty.K810i-SerialPort-1
17621 - SER :/dev/cu.K810i-SerialPort-1
17621 - SER :/dev/tty.Bluetooth-Modem
17621 - SER :/dev/cu.Bluetooth-Modem
17621 - SER :/dev/tty.K810i-Dial-upNetworking-2
17621 - SER :/dev/cu.K810i-Dial-upNetworking-2
p.s. sorry for the code mess, but I did not manage to format it correctly
Hi Looking at
Hi
Looking at http://sourceforge.net/projects/bt747/files/bt747_dev/development the last upload for the development version of the Desktop gui happened on November 1st. I've made some changes to fix some issues in the mobile phone version after that but I did not rebuild the GUI version.
I would not expect recent changes to impact the connection capability.
Looking at your logs, I can not identify the port that corresponds to the Holux M241. The 'Find Serial Ports' will populate the pull down menu - you still need to select the right port inside it.
Because BT747 can not find any 'recogniseable' port, I suppose it takes an 'empty' port name (I did not check my code on this). Then BT747 will get the list of known serial ports from RXTX. That list is not necessarily complete because RXTX also makes a 'selection'.
Make sure that a new port appears in the '/dev/' directory on your system when you connect your logger. Then make sure that this is the port name that you select in BT747 - it should also be listed in the list of ports that RXTX finds. If you have the port in '/dev/' but RXTX does no find it, then report the port that you think your device is on here. I do not think that the problem is RXTX, but if it is then I can make another change to it.
I'm on 10.6.2, a Mac Pro
I'm on 10.6.2, a Mac Pro using the local install version of BT747, can't communicate with my new BT-Q1000X.
I DID download the lastest SILAB drivers and rebooted and I see the cu.usbmodem and tty.usbmodem devices. I also got the RXTX2.2 update as you can see.
Here are suspicious excerpts from my log:
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Listing known ports:
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: 22703 - SER :/dev/tty.usbmodem3d20
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: 22703 - SER :/dev/cu.usbmodem3d20
.com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Info: trying to open '/dev/cu.SLAB_USBtoUART'
.com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: gnu.io.NoSuchPortException
It looks like the SILAB driver is not instantiating the USB->UART bridge device? I definitely don't see it in my /dev directory. I also see these version mismatch messages when BT474 starts up but I suspect they're benign (?):
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: WARNING: RXTX Version mismatch
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: Jar version = RXTX-2.2pre1
com.apple.jnlp-http___soft.bt747.org_BT747_J2SE_RXTX2.2_Install.jnlp[2692]: native lib Version = RXTX-2.2pre2
Andybody solve this problem?
Steve
Not sure exactly what I
Not sure exactly what I did...but it's working for me now.
When I failed initially to get a USB connection to the BT-Q1000X I tried connecting it up over a Bluetooth dongle (not built-in BT). Mac OS had no trouble pairing with it, and then several new Bluetooth devices showed up in /dev. Choosing one of those BT devices in BT747 I was able to get a connection.
After pulling the dongle out and rebooting, the BT ports in /dev disappeared. But now I was able to get a USB connection to the BT-Q1000X using tty.usbmodem3D20 AND cu.usbmodem3D20!
However, when I hit [Disconnect] I get a SEGFAULT with these msgs in the crash log:
======<snip>=======PlugIn Path: /Users/steveh/Library/Caches/Java/cache/6.0/59/7a4d98fb-4e17f08b-n/librxtxSerial.jnilib
PlugIn Identifier: librxtxSerial.jnilib
PlugIn Version: ??? (???)
Date/Time: 2009-11-25 09:31:04.964 -0700
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000b24c5b70
Crashed Thread: 30 Java: AWT-EventQueue-0
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=0x2670390c
Java VM: Java HotSpot(TM) Client VM (14.1-b02-90 mixed mode macosx-x86)
Current thread (0x06a2c400): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=-1298333696, stack(0xb28d0000,0xb29d0000)]
Stack: [0xb28d0000,0xb29d0000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.RXTXPort.interruptEventLoop()V+0
j gnu.io.RXTXPort.removeEventListener()V+55
j gnu.io.RXTXPort.close()V+91
j gps.connection.GPSRxTxPort.closePort()V+62
j gps.connection.GPSrxtx.closePort()V+3
j bt747.model.Controller.closeGPS()V+18
j bt747.j2se_view.BT747Main.access$300(Lbt747/j2se_view/BT747Main;Ljava/awt/event/ActionEvent;)V+299
j bt747.j2se_view.BT747Main$6.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
J java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
J java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
==<snip>=====Thread 30 Crashed: Java: AWT-EventQueue-00 librxtxSerial.jnilib 0x2670390c Java_gnu_io_RXTXPort_interruptEventLoop + 1371 ??? 0x0420b839 0 + 692531772 ??? 0x04203db1 0 + 692218093 ??? 0x04203db1 0 + 692218094 ??? 0x04203db1 0 + 69221809
5 ??? 0x04203db1 0 + 69221809
6 ??? 0x04203db1 0 + 69221809
7 ??? 0x04203db1 0 + 69221809
8 ??? 0x04203db1 0 + 69221809
Hi, went over all those posts
Hi,
went over all those posts and tried it.
MacBook Pro. Snow Leopard. USB-Link. Latest version.
Unable to connect via USB or Bluetooth.
Tried on iMac with Snow Leopard. Still no connection.
Keen to have guide "BT747 and Snow Leopard for Dummies".
Cheers
Alex
Hi Alex So you did try the
Hi Alex
So you did try the different links to startup?
Can you list the detected ports when trying to make a connection (appears in the 'info tab').
When you try it without the device connected to your mac and then with the device connected, you should see an extra port appear in the list.
You can enter that port 'textually' in the port name next to 'Connect to'.
You can report the port name & error here so that there are more hints at what is going on.
Dear everyone, first off,
Dear everyone,
first off, thanks to Mario for this great piece of software.
I have struggled a bit to download my tracks from my Qstarz BT-Q1200 using a Mac. Since this thread proved very helpful, here is my step-by-step solution:
My step-by-step list to connect BT747 Desktop to my Qstarz BT-Q1200
MacBookPro, Snow Leopard 10.6.2
BT747 V2.x.1689 (11.03.2010)
1) Open Bluetooth from System Preferences
a. Turn Bluetooth on
b. Set up Bluetooth device ( a new window appears)
i. iBT-GPS appears (my Qstarz BT Q1200)
ii. push <continue>
iii. a message appears: “congratulations, your computer is now set up to use your BT device; *Pairing was completed successfully; *A computer serial port was created
iv. <quit> ( the new window disappears again)
c. Select your bluetooth device (mine: iBT-GPS)
i. Below the column with Bluetooth devices, there are three clickable buttons: a ‘+’ (for adding BT devices), a ‘-‘ (for …) and a cogwheel. Click-hold the cogwheel and select “edit serial ports”
ii. a new window pops up, with lots of info. Important: at the bottom, there is a path shown. Select the path and copy it (in my case: /dev/tty.iBT-GPS-SPPSlave )
iii. hit <cancel> we don’t want to edit stuff
d. quit the Bluetooth System preference
2) Open BT747.
a. I used safari and opened: http://soft.bt747.org/BT747_J2SE_Latest_rxtx2_2p2.jnlp
b. In the first tab ”log operations”, at the bottom of the scree there is a <connect> button, with next to it a text box saying USB (for Linux, Mac). Paste your Bluetooth path into this box (again: mine is /dev/tty.iBT-GPS-SPPSlave
c. Hit <connect>
d. Voila, here’s my device. I suddenly see my location in GPS device data.
Note, BT747 reliably crashes upon disconnecting.
Hi Joost Thank you for the
Hi Joost
Thank you for the feedback.
Hi Joost Apparently you tried
Hi Joost
Apparently you tried to make a post but the SPAM filter rejected it because of its size. In principle it should be possible for you to add attachements to a post. Currently I managed to extract your log from the server error message.
Further below I extracted the most caracteristic information. From that information I can see that BT747 crashes during the close procedure in the RXTX driver itself, apparently when an internal event listener is removed from a listener list and when the interrupt event loop is called -> I have to check the RXTX code to understand what is done.
Out of interest, can you check the size of: /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib . The size can help validate that you are using the 'right' version of the native library (I think that you are, but one has to check the basic assumptions: they quite often prove wrong).
I am assuming that you launch from http://soft.bt747.org/BT747_J2SE_Latest_rxtx2_2p2.jnlp (based on your earlier post).
Hi, I have the same problem a
Hi, I have the same problem a Joost - crash disconnecting on OS X 10.6.2 and the error is from librxtxSerial.jnilib (size 169,488 bytes). Can I help with any other details?
The error details are:
Process: java [727]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
PlugIn Path: /Users/gina_and_andrew/Library/Caches/Java/cache/6.0/59/7a4d98fb-5f41b2fb-n/librxtxSerial.jnilib
PlugIn Identifier: librxtxSerial.jnilib
PlugIn Version: ??? (???)
Date/Time: 2010-03-21 20:01:43.859 +0000
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 948228 sec
Crashes Since Last Report: 25
Per-App Interval Since Last Report: 9326 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: B8F207BF-4D5C-4572-83E4-D8B97CB979B6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000126ea4938
Crashed Thread: 22 Java: AWT-EventQueue-0
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=0x000000012689d12f
Java VM: Java HotSpot(TM) 64-Bit Server VM (14.3-b01-101 mixed mode macosx-amd64)
Current thread (0x00000001029b8000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=661164032, stack(0x0000000127589000,0x0000000127689000)]
Stack: [0x0000000127589000,0x0000000127689000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.RXTXPort.interruptEventLoop()V+0
j gnu.io.RXTXPort.removeEventListener()V+55
j gnu.io.RXTXPort.close()V+91
j gps.connection.GPSRxTxPort.closePort()V+62
j gps.connection.GPSrxtx.closePort()V+4
j bt747.model.Controller.closeGPS()V+17
j bt747.j2se_view.BT747Main.access$300(Lbt747/j2se_view/BT747Main;Ljava/awt/event/ActionEvent;)V+299
j bt747.j2se_view.BT747Main$7.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+566
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+320
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
I didn't look in the RXTX
I didn't look in the RXTX code yet to get further hints. I'll post here when I do that.
Hi, did not do anything since
Hi,
did not do anything since the failed post except for spilling copious amounts of water on my GPS. Had it dry for a week or so, seems to be fine now.
The size of the file you requested:
>>
joost ~ $ ls -al /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib
-rw-r--r-- 1 joost staff 169488 Mar 13 17:11 /Users/joost/Library/Caches/Java/cache/6.0/59/7a4d98fb-65e45c6a-n/librxtxSerial.jnilib
<<I also checked whether I could use the standard "BLUETOOTH (for Mac)"-port option: it works flawlessly. Don't know why it did not work at first.Joost
Hi Mario, Here is another
Hi Mario, Here is another crash report, again started from http://soft.bt747.org/BT747_J2SE_Latest_rxtx2_2p2.jnlp.
If the post fails, please explain how to attach the error log to a message. I didn't find any attachment options JOost
Hi Joost The size is good -
Hi Joost
The size is good - this is 2.2pre2. I may come back later to propose a setup where you can try the 'arduino' version of the library from the web.
To upload files you must be logged in. (If I do not have that as a condition, I'ld get crap such as virusses or other malware in the attachements - about 80 'spam' messages are autmatically blocked each day as it is).
[edit:]
I checked the code - my guess is that there a bug in both the native code and the java code of RXTX. The arduino distribution seems to have a solution. It was reported there too, but solved by removing RXTX files that were not 'arduino': http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1259946652 .
I'll make some kind of 'arduino' webstart - I currently do not have the time for that. I've attached the binary for that which could be referenced when running from the command line.
Some more infos from a Mac
Some more infos from a Mac users perspective:
In a 64-bit Mac OS X 10.6.3 environment (=all the latest Macs I suppose), only the pre2 version works. If you're using a USB cable to connect to your GPS logger with the SiLabs drivers you're S.O.L. if you're running Mac OS in 64-bit mode. There's no 64-bit SiLab USB<->UART driver at the moment. Of course you could run your Mac in 32-bit mode but that's sooo old school :)
So, the only connection option left in my case is Bluetooth (I own the Holux M-241). No additional drivers are needed, I just paired it with the Bluetooth Assistant (BA). Once it's paired I have a new device in my /dev directory named tty.HOLUX_M-241-SPPSlave. This is what I enter in BT747 in the text box as the connection string:
/dev/tty.HOLUX_M-241-SPPSlave
And hit the connect button. That's it. Make sure Bluetooth is enabled in the GPS logger.
Btw. Mario: At least in my case hitting the Disconnect button terminates the application.
I have some more information
I have some more information about the availability of a SiLabs 64-bit driver:
"Our 64-bit MAC drivers should be released in the late June 2010 time frame."
There are some instructions
There are some instructions on defaulting to 32bit java on this page:
http://eclipse.dzone.com/articles/eclipse-java-and-snow-leopard
That would not solve the issue of the native driver on a 64 bit machine, but hopefully solves the BT747 issues itself.
I installed BT747 Desktop on
I installed BT747 Desktop on my MacBook running Snow Leopard yesterday. It installed a shortcut on my desktop but I couldn't get it to connect to my Qstarz. Today, however, it refuses to launch and throws me back a "Unable to launch the application" window and the error is: "Unexpected exception: java.lang.reflect.InvocationTargetException."
I tried deleting the application but when I try downloading BT747 Desktop it doesn't create a shortcut any more so when I quit the app, the app disappears. And I still can't connect to the GPS.
What's weird is I had no problems setting it up on my desktop running Leopard.
To delete the application,
To delete the application, you have to (or can/should) do this in the 'Java Console or Control panel' [I am not sure how to get to that on Mac].
Regarding not being able to connect: do you have the device driver installed on the Mac ? Possibly that was installed on your desktop for some other reason and not on your MacBook.
Alternatively, you can fetch the zip file from the sourceforge file and launch BT747 from there.
Kind regards
Mario
I've been able to reinstall
I've been able to reinstall BT747 Desktop and get it running. However, I'm still not able to connect to my Qstarz. I don't know what device driver I need since it worked fine on the iMac but not on the laptop....
It is best to give more
It is best to give more details regarding your device and system: which Qstarz device is it? Are both your systems 32 bit (a forum entry above says that Silabs drivers do not exist for 64 bit).
In stead of USB, you should be able to use Bluetooth as a backup solution.
I'm using the Qstarz
I'm using the Qstarz BT-Q1000X. I'm running 32 bit both on the laptop (Snow Leopard) and desktop (Leopard). I have BT747 desktop running on the desktop and RxTx2.2pre2 running on the laptop.
I'm able to connect using Bluetooth on the desktop. No such luck on the laptop.
I'm pretty sure it's a simple solution but I'm a newbie at this....
Your device is using MTKII -
Your device is using MTKII - I'll have to look again regarding the native mac driver setup.
Regarding bluetooth - make sure that a new entry appears in the '/dev' directory when bluetooth is connected. Normally that path should be detected automatically as on your desktop, but it could be that it is not recognized. You can also enter it directly as the port name.
It is possible that you have an issue with RXTX on your laptop - maybe you can share the error code you get to make sure what it is.
I've tried using the port
I've tried using the port name to connect (in my case it's /dev/tty.Qstarz-SPPslave) but it's not working either.
There's no error code per se. Nothing happens when I click connect....nothing in the GPS data panel shows up. Here's what's on my info panel:
Below are informational messages that can help during debug.
------------------------------------------------
5272 - BT747 2.X.1752 Build:BT747_mdeweerd.1752.20100721030420809
5273 - Initial: 1018x596 Screen: 1280x800 Final: 1018x596
5273 - Mac OS X
5273 - x86_64
5273 - 10.6.4
5273 - 1.6.0_20
5274 - 64
5274 - Fail javax.swing.plaf.mac.MacLookAndFeel
Fail com.apple.mrj.swing.MacLookAndFeel
Success apple.laf.AquaLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.apple.laf.AquaLookAndFeel
119355 - Classgps.connection.GPSRxTxPort