Menu

BT747 hangs with iBlue 747A+ under Linux

Help
Eric L.
2009-08-10
2013-05-02
  • Eric L.

    Eric L. - 2009-08-10

    Hello,

    before I log a bug I wanted to make sure that I've done everything correctly:
    - BT747 recognizes my GPS logger and shows position, time (correctly) and Geoid but not Flashinfo and futher information.
    - If I press Download and/or Disconnect, BT747 hangs and nothing happens. I can only bring it back to life if I shut off the GPS logger.
    - A friend of mine has the same GPS logger and a very similar setup (Ubuntu 9.04 with a 2.9.30.4 Kernel) and he doesn't have the same issue. The only difference I could see was that my logger is full at ~60% and his is almost empty (only test data - he wasn't yet in holiday :-) ).
    - the logger works well under Windows Vista on the same computer, so my next step would be to empty my logger and see if it works then better. But before I do this, I wanted to know if I should do other tests???
    - I already tried to play around with the Chunk size/requests/timeout, but it didn't seem to change anything.

    Thanks for your help, Eric

    - the debug output so far:
    $ ~/tmp/BT747/run_j2se.sh                                                                  
    3616 - BT747 2.X.1486 Build:BT747_mdeweerd.1486.20090713212908187                           
    3617 - Linux                                                                                
    3617 - i386                                                                                 
    3617 - 2.6.30-02063004-generic                                                              
    3617 - 1.6.0_0                                                                              
    3617 - Fail com.sun.java.swing.plaf.windows.WindowsLookAndFeel                              
    Fail com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel                              
    Success com.sun.java.swing.plaf.gtk.GTKLookAndFeel                                          
    javax.swing.plaf.metal.MetalLookAndFeel                                                     
    com.sun.java.swing.plaf.motif.MotifLookAndFeel                                              
    com.sun.java.swing.plaf.gtk.GTKLookAndFeel                                                  

    Opened file /home/ericl/gpsRawDebug.txt in mode 4 rw
    Opened file /home/ericl/gpsRawDebug.txt in mode 3 rw
    Experimental:  JNI_OnLoad called.                  
    Info: trying to open '/dev/ttyACM0'                
    28533 - >PMTK182,2,6 true                          
    28534 - #HOLUX241,5                                
    28534 - #PMTK607                                   
    Adding gps.mvc.Controller@1570f5c                  
    28537 - Attempting saving settings to /home/ericl/BT747SettingsJ2SE.pdb
    28538 - Writing settings success for /home/ericl/BT747SettingsJ2SE.pdb
    28544 - #HOLUX241,5                                                   
    28545 - #PMTK490                                                      
    28545 - #PMTK414                                                      
    28545 - #PMTK182,2,6                                                  
    28545 - #PMTK182,2,7                                                  
    28545 - #PMTK182,2,3                                                  
    28545 - #PMTK182,2,5                                                  
    28545 - #PMTK182,2,4                                                  
    28546 - #PMTK413                                                      
    28546 - #PMTK419                                                      
    28546 - #PMTK401                                                      
    28546 - #PMTK400                                                      
    28546 - #PMTK492                                                      
    28546 - #PMTK182,2,12                                                 
    28546 - #PMTK605                                                      
    28547 - #PMTK604                                                      
    28547 - #PMTK182,2,9,9F                                               
    28547 - #PMTK430                                                      
    29036 - >HOLUX241,5 true                                              
    29067 - >PMTK607 true                                                 
    29100 - >HOLUX241,5 true                                              
    29134 - >PMTK490 true                                                 
    29166 - >PMTK414 true                                                 
    Timeout: 33167-29166>4000                                             
    33167 - No ack:PMTK182,2,6                                            
    33167 - No ack:PMTK607                                                
    33168 - No ack:PMTK490                                                
    33168 - No ack:PMTK414                                                
    33168 - >PMTK182,2,6 true                                             
    33201 - >PMTK182,2,7 true                                             
    33237 - >PMTK182,2,3 true                                             
    33270 - >PMTK182,2,5 true                                             
    Timeout: 37271-33270>4000                                             
    37271 - No ack:PMTK182,2,6                                            
    37271 - No ack:PMTK182,2,7                                            
    37272 - No ack:PMTK182,2,3                                            
    37272 - No ack:PMTK182,2,5                                            
    37272 - >PMTK182,2,4 true                                             
    37306 - >PMTK413 true                                                 
    37339 - >PMTK419 true                                                 
    37381 - >PMTK401 true                                                 
    Timeout: 41383-37381>4000                                             
    41384 - No ack:PMTK182,2,4                                            
    41384 - No ack:PMTK413
    41384 - No ack:PMTK419
    41384 - No ack:PMTK401
    41384 - >PMTK400 true
    41424 - >PMTK492 true
    41455 - >PMTK182,2,12 true

     
    • Mario De Weerd

      Mario De Weerd - 2009-08-23

      Back from vacation just recently myself ;-).

      From this report I conclude that you seem to connect to the logger but there is no response on any request.
      It seems unlikely that you are not connecting to the right port.  '/dev/ttyACM0'  is quite particular and the connection is reported as a success.
      You might have set the wrong speed.
      It seems unlikely that your logger is off/in nav position in stead of log position (because you used it on windows and I guess you did put it in the right position).
      The driver is probably ok because you can connect to the ACM0 port.  You can check that connection fails when the device is not connected to your computer.

      You should check if you can see the current GPS position in the application.  If so then the baud rate does seems to be correct and the issue is that the device does not receive the commands from BT747 (or ignores them).

      So the problem is with the connection for the moment - not with the download.  If the connection is ok then you should see the GPS position and the device model, memory filling, ... .

       
      • Eric L.

        Eric L. - 2009-08-25

        Hello,

        actually I solved my problem by switching from Ubuntu to Debian, and now it works. The funny thing is that I'm actually using more or less the same kernel (2.9.30 + of course distribution specific patches).

        So, for me, it seems that the issue was with the kernel or something like this. Ubuntu seems more bloated to me, so perhaps I ran in some timeout.

        For sake of completeness, I was seeing the GPS position but not device model, memory filling etc.

        Ubuntu is still installed on my PC, so I could do some more testing if you want to check the problem, but else I'm happy with Debian.

        Eric

         

Log in to post a comment.

MongoDB Logo MongoDB