The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Hi all! i try the new version of Navigatrix (great work!) but when i connect my GPS (qstarz 818x-bluetooth) i see on the bluetooth-window is connect to serial port /dev/rfcomm0 and Qstarz GPS unknown 00:1c:88:12:3b:a1. On the bottom of the window the amount of data is changing and the two little icons are blinking... can you maybe give any help with this problem ( I'm absolute beginner!!! :( )


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
I'm not sure why it not picking up the gps. Bluetooth is a mystery to me.

This is a quick fix.

Open a terminal; (<ctrl><alt><t> at the same time...or Ray> Accessories> Terminal Emulator) and enter:
Code:
sudo dpkg-reconfigure gpsg
The window will open the gpsd reconfiguration script.

The first two screens are unchanged, hitting <Enter> advances you to the next screen.

The third screen is instruction for the gpsd where to look for a gps. Blank means look at everything. You could point to directly to your gps. 1) enter the location; 2)<tab> to change to <ok> and then <Enter> to activate the change.
Attachment:
Selection_031.png
Selection_031.png [ 40.97 KiB | Viewed 19370 times ]
<Enter> to pass through the rest of the options until the script closes.

Then follow it up with:
Code:
sudo service gpsd restart


Give that a go.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Hi Moe! thanks for your help, i have follow yours instructions but on the xgps screen no data are visible...
on the bottom i see "path":"/dev/rfcomm0", any idea? :roll:


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
If it has been a while since the gps was last used it can take up to 15 minutes from a cold-dead start.

That will give me a chance to think of the next step.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Ok! THX


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
another little problem is that i can't see the whole window from xgps on my small screen (acer aspire one AO 531h, with only 11 inch) i can only reduce or open it, but not resize, so i don't see all data on the bottom... is not very important.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
It helps to know the gps tested and works out of the box with gpsd.

Inn Navigatrix the default is with the -b flag.

http://gpsd.berlios.de/hardware.html
Quote:
BT-Q818 mouse MTK Bluetooth 2.92-4 3.01 Had to use the -b option. Reported by jason.komut@*******.

I've got a solution for your screen size...as soon as I find where I archived it.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
The 'netbook screen problem' is addressed

http://navigatrix.net/viewtopic.php?f=10&t=641


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Moe wrote:
It helps to know the gps tested and works out of the box with gpsd.

Inn Navigatrix the default is with the -b flag.

http://gpsd.berlios.de/hardware.html
Quote:
BT-Q818 mouse MTK Bluetooth 2.92-4 3.01 Had to use the -b option. Reported by jason.komut@*******.



Hi! where i should put the -b flag? please... i'm absolute beginner :(


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
It has already been done.

There are three flags set by default.
Quote:
-b

Broken-device-safety mode, otherwise known as read-only mode. A few bluetooth and USB receivers lock up or become totally inaccessible when probed or reconfigured; see the hardware compatibility list on the GPSD project website for details. This switch prevents gpsd from writing to a receiver. This means that gpsd cannot configure the receiver for optimal performance, but it also means that gpsd cannot break the receiver. A better solution would be for Bluetooth to not be so fragile. A platform independent method to identify serial-over-Bluetooth devices would also be nice.
-G

This flag causes gpsd to listen on all addresses (INADDR_ANY) rather than just the loop back (INADDR_LOOPBACK) address. For the sake of privacy and security, TPV information is now private to the local machine until the user makes an effort to expose this to the world.

-n

Don't wait for a client to connect before polling whatever GPS is associated with it. Some RS232 GPSes wait in a standby mode (drawing less power) when the host machine is not asserting DTR, and some cellphone and handheld embedded GPSes have similar behaviors. Accordingly, waiting for a watch request to open the device may save battery power. (This capability is rare in consumer-grade devices).


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Moe wrote:
The 'netbook screen problem' is addressed

http://navigatrix.net/viewtopic.php?f=10&t=641


I've do it and:

nx@nx:~$ mkdir .local/bin
nx@nx:~$ medit ~/.local/bin/nxrez ~/Desktop/alilbigger.desktop

** (medit:5201): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Navigatrix-default/gtk-2.0/images/null.png,
borders don't fit within the image

** (medit:5201): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Navigatrix-default/gtk-2.0/images/scrollbar_vertical.png,
borders don't fit within the image

** (medit:5201): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Navigatrix-default/gtk-2.0/images/null.png,
borders don't fit within the image

** (medit:5201): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Navigatrix-default/gtk-2.0/images/scrollbar_horizontal.png,
borders don't fit within the image
nx@nx:~$


???

But i've a new icon and work fine THX!!


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
yeah, sorry...that's nothing. Those are just warnings that say an icon for the user interface is not where it should be. It really doesn't matter. But like a nagging conscience, it can't 'undo' the past, but it never forgets.

When you use the Menu to start the text editor it doesn't matter; you don't see those errors...one of the dirty little secrets of the GUI world.

There are 'warnings', 'errors', possibly on several layers, some even 'good'...and then there are 'fatal errors'; which tend to be 'not-good'.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Thanks :) But the problem with my gps is not not solved... :( , in the bluetooth connection window it seems working (orange, green and blue icons are on) but i have no data on Open CPN, maybe should i add a new connection on the connection window of Open CPN...? My GPS work fine otherwise with Open CPN and WXP or Ubuntu installed on the hard disk, any sugestion?? :oops:


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
If you modify the connections in OpenCPN you could be inviting more trouble. Hang in there, a solution can be found.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Ok! i wait for another possible solution... :) Thanks one more time


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Hello Moi, i have try now to reconfigure GPSD service, on the window socket path i see : /var/run/gpsd.sock is this path right?

Now on the connexion window OPENCPN i see: red localhost2947 0 GPSD no
serie /tmp/aisfifo 0 4800 no
and all the two options are checked "V"
Is this ok?


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
GoneTropo had a fix for Bluetooth gps and those wanting to go places.
Quote:
using the spare nx usb stick I connected the gps with BT Manager and then in terminal
nx@nx:~$ rfcomm
rfcomm0: 00:23:06:D7:8D:19 -> 00:1C:88:11:0C:02 channel 1 connected [reuse-dlc tty-attached]
Then removed the gps device in BT manager. Then in terminal
nx@nx:~$ sudo medit /etc/bluetooth/rfcomm.conf (as Moe said above)

# RFCOMM configuration file.
#
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1C:88:11:0C:02;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
}

Then in terminal
nx@nx:~$ hcitool scan
Scanning ...
00:1C:88:11:0C:02 iBT-GPS
nx@nx:~$ rfcomm
nx@nx:~$
At this point I rebooted and the gps was auto connected to rfcomm0 in BT manager
nx@nx:~$ rfcomm
rfcomm0: 00:1C:88:11:0C:02 channel 1 connected [tty-attached]
Xgps was happy and all is right with the world :D

http://navigatrix.net/viewtopic.php?f=4&t=481&p=2346#p2346
Give that a go.


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
Hi Moe!
I have do it as follow:
Code:
#
# RFCOMM configuration file.
#

 rfcomm0 {
#   # Automatically bind the device at startup
 bind yes;
#
#   # Bluetooth address of the device
 device 00:1C:88:12:3B:A1;
#
#   # RFCOMM channel for the connection
 channel   1;
#
#   # Description of the connection
#   comment "Example Bluetooth device";
 }


Than on terminal:
Code:
nx@nx:~$ hcitool scan
Scanning ...
   00:1C:88:12:3B:A1   Qstarz GPS


After reboot:
Code:
nx@nx:~$ rfcomm
rfcomm0: 00:1C:88:12:3B:A1 channel 1 connected [tty-attached]


But is the same problem, have not data on Xgps or OpenCPN...

:(


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 10 Mar 2013, 07:56
Posts: 14
It's working now! i have make a copy on another USB stick, and do the script modifications (like above) and Open CPN receive the position!!
Many times when i change the options, the connexion will interrupt (??) and i have to closed and now opening CPN.
Another little problem is that i have loaded KAP Charts (made with GE2kap) but i can't see it, I see only black squares at this place


Top
   
 
 Post subject: Re: GPS give me no data on XGPS or Open CPN

Joined: 04 Nov 2010, 20:51
Posts: 1062
Cool, well done. I can go to bed now.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next


Search for:
cron

Credits © 2010 - 2024