|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
GPSDRIVE can't communicate with my globalsat BU-353My config:
Dell inspiron mini 9, Ubuntu 8.04. USB GPS Globalsat BU-353 Gpsdrive 2.10 pre 4-1 and GPSD 2.36-2 installed from universe repository using synaptic. GPSdrive says "No GPS used" When I telnet localhost 2947 I get: $ sudo telnet localhost 2947 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused GPSDRIVE is launched using: gpsdrive -S -q -M pda -g 1024x600 GPSD is installed but not running: gilibert@gilibert:~$ ps -edf | grep gpsd gilibert 6652 1 9 00:01 ? 00:02:56 gpsdrive -S -q -M pda -g 1024x600 I thought GPSD was launched by gpsdrive ? Thanks in advance for any clue for newby. -- Hervé _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353On Fri, 03 Apr 2009 11:37:37 +0200
Herv_ Gilibert <Herve.Gilibert@...> wrote: > My config: > Dell inspiron mini 9, Ubuntu 8.04. > USB GPS Globalsat BU-353 > Gpsdrive 2.10 pre 4-1 and GPSD 2.36-2 installed from universe repository > using synaptic. > GPSdrive says "No GPS used" > When I telnet localhost 2947 I get: > $ sudo telnet localhost 2947 > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > GPSDRIVE is launched using: gpsdrive -S -q -M pda -g 1024x600 > GPSD is installed but not running: > gilibert@gilibert:~$ ps -edf | grep gpsd > gilibert 6652 1 9 00:01 ? 00:02:56 gpsdrive -S -q -M pda -g > 1024x600 > I thought GPSD was launched by gpsdrive ? > Thanks in advance for any clue for newby. gpsd is not launched by gpsdrive. Have a read of the wiki on installing gpsdrive on Ubuntu 8.04 in particular the section on gpsd. http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=8.04_manual Cheers Ross _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353� wrote:
> My config: > Dell inspiron mini 9, Ubuntu 8.04. > USB GPS Globalsat BU-353 > Gpsdrive 2.10 pre 4-1 and GPSD 2.36-2 installed from universe repository > using synaptic. > > GPSdrive says "No GPS used" > When I telnet localhost 2947 I get: > $ sudo telnet localhost 2947 > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > GPSDRIVE is launched using: gpsdrive -S -q -M pda -g 1024x600 > GPSD is installed but not running: > gilibert@gilibert:~$ ps -edf | grep gpsd > gilibert 6652 1 9 00:01 ? 00:02:56 gpsdrive -S -q -M pda -g > 1024x600 > I thought GPSD was launched by gpsdrive ? > Thanks in advance for any clue for newby. I have gpsd running and gpsdrive can't find it. I tried roadmap and it does find the gps on dev/ttyUSB7 and shows I have 8 Sats. I can no longer find a way to configure the GPS in gpsdrive do guess that it does not auto detect or just wasn't programmed to expect that many USB ports. I found an option in an old .gpsdriverc "serialdevice = /dev/ttyUSB0". I added that to the current rc file, with ttyUSB7 of course, but that didn't help. BTW the reason for the hight usb port is that I am testing this on a desktop. Wayne _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353On Freitag 03 April 2009, Wayne Topa wrote:
> � wrote: > > My config: > > Dell inspiron mini 9, Ubuntu 8.04. > > USB GPS Globalsat BU-353 > > Gpsdrive 2.10 pre 4-1 and GPSD 2.36-2 installed from universe repository > > using synaptic. > > > > GPSdrive says "No GPS used" > > When I telnet localhost 2947 I get: > > $ sudo telnet localhost 2947 > > Trying 127.0.0.1... > > telnet: Unable to connect to remote host: Connection refused > > GPSDRIVE is launched using: gpsdrive -S -q -M pda -g 1024x600 > > GPSD is installed but not running: > > gilibert@gilibert:~$ ps -edf | grep gpsd > > gilibert 6652 1 9 00:01 ? 00:02:56 gpsdrive -S -q -M pda -g > > 1024x600 > > I thought GPSD was launched by gpsdrive ? > > Thanks in advance for any clue for newby. > > I have gpsd running and gpsdrive can't find it. I tried roadmap and it > does find the gps on dev/ttyUSB7 and shows I have 8 Sats. > > I can no longer find a way to configure the GPS in gpsdrive do guess > that it does not auto detect or just wasn't programmed to expect that > many USB ports. I found an option in an old .gpsdriverc > "serialdevice = /dev/ttyUSB0". I added that to the current rc file, > with ttyUSB7 of course, but that didn't help. It slightly sounds to me like you are probably mixing up GPS-device-file(dev/gps) and /usr/sbin/gpsd. You need a seperate Daemon called gpsd (to connect to. This Daemon itself then connects to your gps-device-file which itself is connected to your GPS by the kernel.. The old GpsDrive versions had direct connection inside AND had an automatic gpsd strting mechanism. This is no longer inside GpsDrive and has to be configured/started by the system outside gpsdrive. If you are doing > > $ sudo telnet localhost 2947 > > Trying 127.0.0.1.. . > > telnet: Unable to connect to remote host: Connection refused and getting "no connection", you either have gpsd not running or it's configured different than you thougt. > BTW the reason for the hight usb port is that I am testing this on a > desktop. -- Jörg (Germany, Tettnang) http://www.ostertag.name/ _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353Ross Scanlon a écrit :
> On Fri, 03 Apr 2009 11:37:37 +0200 > Herv_ Gilibert <Herve.Gilibert@...> wrote: > > >> My config: >> Dell inspiron mini 9, Ubuntu 8.04. >> USB GPS Globalsat BU-353 >> Gpsdrive 2.10 pre 4-1 and GPSD 2.36-2 installed from universe repository >> using synaptic. >> > > >> GPSdrive says "No GPS used" >> When I telnet localhost 2947 I get: >> $ sudo telnet localhost 2947 >> Trying 127.0.0.1... >> telnet: Unable to connect to remote host: Connection refused >> GPSDRIVE is launched using: gpsdrive -S -q -M pda -g 1024x600 >> GPSD is installed but not running: >> gilibert@gilibert:~$ ps -edf | grep gpsd >> gilibert 6652 1 9 00:01 ? 00:02:56 gpsdrive -S -q -M pda -g >> 1024x600 >> I thought GPSD was launched by gpsdrive ? >> Thanks in advance for any clue for newby. >> > > > gpsd is not launched by gpsdrive. > > Have a read of the wiki on installing gpsdrive on Ubuntu 8.04 in particular the section on gpsd. > > http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=8.04_manual > > Cheers > Ross > > All is OK now after running GPSD by hand. -- Hervé _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353Joerg Ostertag (gpsdrive Tettnang/Germany) wrote:
> On Freitag 03 April 2009, Wayne Topa wrote: >> � wrote: >> I can no longer find a way to configure the GPS in gpsdrive do guess >> that it does not auto detect or just wasn't programmed to expect that >> many USB ports. I found an option in an old .gpsdriverc >> "serialdevice = /dev/ttyUSB0". I added that to the current rc file, >> with ttyUSB7 of course, but that didn't help. > > It slightly sounds to me like you are probably mixing up > GPS-device-file(dev/gps) and /usr/sbin/gpsd. You need a seperate Daemon > called gpsd (to connect to. This Daemon itself then connects to your > gps-device-file which itself is connected to your GPS by the kernel.. > The old GpsDrive versions had direct connection inside AND had an automatic > gpsd strting mechanism. This is no longer inside GpsDrive and has to be > configured/started by the system outside gpsdrive. > Let me try this again. gpsd is running The "roadnav" application finds the GPS and reports 8 Sat's found and my Latitude and Longitude. The port it reports the GPS using is /dev/ttyUSB7. If I modify /etc/default/gpsd like so DEVICES="/dev/ttyUSB7" gpsdrive does see the gps as well. With gpsdrive running if I do "sudo telnet localhost 2947" it displays "Escape character is '^['" and then times out. Gpsdrive continues to run and the map downloaded for my location works. So it seems that the default parameters for gpsd, DEVICES=/dev/ttyUSB?, have to be set for gpsdrive to work. I tried setting DEVICES=ttyUSB[0-7], and DEVICES="/dev/ttyUSB0, /dev/ttyUSB7" but that did not work. Wayne Running Squeeze downloaded this morning. _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353>
> Let me try this again. > > gpsd is running > The "roadnav" application finds the GPS and reports 8 Sat's found and my > Latitude and Longitude. The port it reports the GPS using is > /dev/ttyUSB7. > > If I modify /etc/default/gpsd like so > DEVICES="/dev/ttyUSB7" > gpsdrive does see the gps as well. > > With gpsdrive running if I do "sudo telnet localhost 2947" > it displays "Escape character is '^['" and then times out. > > Gpsdrive continues to run and the map downloaded for my location works. > > So it seems that the default parameters for gpsd, DEVICES=/dev/ttyUSB?, > have to be set for gpsdrive to work. I tried setting > DEVICES=ttyUSB[0-7], and DEVICES="/dev/ttyUSB0, /dev/ttyUSB7" but that > did not work. > > Wayne > Running Squeeze downloaded this morning. > _______________________________________________ > GPSdrive mailing list > GPSdrive@... > http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive > Wayne, Read this for correct installation of gpsd http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=8.04_manual The default parameters for gpsd for device should be /dev/gps and hotplug should automatically handle this for you. -- Cheers Ross _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353Ross Scanlon wrote:
>> Let me try this again. >> >> gpsd is running >> The "roadnav" application finds the GPS and reports 8 Sat's found and my >> Latitude and Longitude. The port it reports the GPS using is >> /dev/ttyUSB7. >> >> If I modify /etc/default/gpsd like so >> DEVICES="/dev/ttyUSB7" >> gpsdrive does see the gps as well. >> >> With gpsdrive running if I do "sudo telnet localhost 2947" >> it displays "Escape character is '^['" and then times out. >> >> Gpsdrive continues to run and the map downloaded for my location works. >> >> So it seems that the default parameters for gpsd, DEVICES=/dev/ttyUSB?, >> have to be set for gpsdrive to work. I tried setting >> DEVICES=ttyUSB[0-7], and DEVICES="/dev/ttyUSB0, /dev/ttyUSB7" but that >> did not work. >> >> Wayne >> Running Squeeze downloaded this morning. > > > Wayne, > > Read this for correct installation of gpsd > > http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=8.04_manual Thanks for the link!! > The default parameters for gpsd for device should be /dev/gps and hotplug > should automatically handle this for you. Well maybe it *should have*, but it didn't/doesn't. I don't have /dev/gps. So I changed /etc/default/gpsd to what the 8.04_manual has for that file. Unplugged the gps, stopped gpsd, restarted gpsd, plugged gps in. Ran gpspipe -r which displays one line "GPSD, R=1", and still no /dev/gps and gpsdrive can't see the gps. Debian Squeeze does not have a hotplug package. It has been replaced with udev IIRC. So it seems, to me anyway, that the /etc/udev/rules.d/z60_gpsd.rules file should be creating the /dev/gps device. There is no reference to it in that file though or any mention of /etc/default/gpsd. What are other Debian Squeeze users seeing? Switched the default/gpsd back to what I had and gpsdrive is working again and plotting the gps which is on /dev/ttyUSB7. The 8.04 manual instructions dit not work for setting up the databases either. Guess Ubuntu is a bit different the Debian Squeeze. Thanks for your reply Ross. Best Regards Wayne _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353On Sat, 04 Apr 2009 10:25:28 -0400
Wayne Topa <linuxone@...> wrote: > > The default parameters for gpsd for device should be /dev/gps and hotplug > > should automatically handle this for you. > > Well maybe it *should have*, but it didn't/doesn't. I don't have > /dev/gps. So I changed /etc/default/gpsd to what the 8.04_manual has > for that file. Unplugged the gps, stopped gpsd, restarted gpsd, plugged > gps in. Ran gpspipe -r which displays one line "GPSD, R=1", and still > no /dev/gps and gpsdrive can't see the gps. Wayne, My mistake I should have said udev should be handling it. The udev rule should be something like: SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps", RUN+="/lib/udev/gpsd.hotplug.wrapper" You would have to set the idVendor and idProduct correctly this will create a symlink /dev/gps to your /dev/ttyUSBxxx > The 8.04 manual instructions dit not work for setting up the databases > either. Guess Ubuntu is a bit different the Debian Squeeze. What did not work for the databases. Cheers Ross _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353Ross Scanlon wrote:
> On Sat, 04 Apr 2009 10:25:28 -0400 > Wayne Topa <linuxone@...> wrote: > > >>> The default parameters for gpsd for device should be /dev/gps and hotplug >>> should automatically handle this for you. >> Well maybe it *should have*, but it didn't/doesn't. I don't have >> /dev/gps. So I changed /etc/default/gpsd to what the 8.04_manual has >> for that file. Unplugged the gps, stopped gpsd, restarted gpsd, plugged >> gps in. Ran gpspipe -r which displays one line "GPSD, R=1", and still >> no /dev/gps and gpsdrive can't see the gps. > > Wayne, > > My mistake I should have said udev should be handling it. > > The udev rule should be something like: > > SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps", RUN+="/lib/udev/gpsd.hotplug.wrapper" > This is the z60_gpsd rule # Prolific Technology, Inc. PL2303 Serial Port SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" and the related lsusb entry Bus 006 Device 012: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port That is exactly what is in the file and the gpsd.hotplug.wrapper script does have the code doing what you describe, yet there is still no /dev/gps. The code from both files is: ________ ----Manual say /etc/defaults/gpsd should be START_DAEMON="true" DAEMON_OPTS="-n" DEVICES="/dev/gps" ___________ ___________________ --- the wrapper code /lib/udev/gpsd.hotplug.wrapper ! /bin/sh # $Id: gpsd.hotplug.wrapper 4669 2008-01-21 15:07:00Z esr $ #debian addition: [ ! -r /etc/default/gpsd ] || . /etc/default/gpsd [ "$START_DAEMON" = "true" ] || exit 0 [ "$USBAUTO" = "true" ] || exit 0 ___________________ Weird huh. Looks right except the ""$USBAUTO" = "true" ] || exit 0". USBAUTO in *not* in the default/gpsd options mentioned in the manual instructions. Thanks again for the reply Ross. Maybe the fact that I have too many usb ports (4 on one card 5 on the other) on this box is causing this problem. My UPS, ATT USB wireless modem, PicKit2 Programmer, external HD, and Kodak Camera Dock don't have a problem though. Only thing that might mess up the works is that the ATT Modem uses ttyUSB0 through ttyUSB4 when its connected to the net. Regard Wayne _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353> >> The udev rule should be something like: >> >> SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps", >> RUN+="/lib/udev/gpsd.hotplug.wrapper" >> > This is the z60_gpsd rule > # Prolific Technology, Inc. PL2303 Serial Port > SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps%n", > RUN+="/lib/udev/gpsd.hotplug.wrapper" If you change the SYMLINK="gps%n" to SYMLINK="gps" it should then create a symlink /dev/gps to whatever your /dev/ttyUSBxxx is for the gps. With "gps%n" it creates a symlink of /dev/gpsN where N is the ttyUSB number eg /dev/gps0 where gps is on /dev/ttyUSB0 etc. It's so that it's possible to have multiple gps attached. > and the related lsusb entry > Bus 006 Device 012: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial > Port > > That is exactly what is in the file and the gpsd.hotplug.wrapper script > does have the code doing what you describe, yet there is still no > /dev/gps. The code from both files is: > > ________ > ----Manual say /etc/defaults/gpsd should be > START_DAEMON="true" > DAEMON_OPTS="-n" > DEVICES="/dev/gps" > ___________ > > ___________________ > --- the wrapper code > /lib/udev/gpsd.hotplug.wrapper > ! /bin/sh > # $Id: gpsd.hotplug.wrapper 4669 2008-01-21 15:07:00Z esr $ > > #debian addition: > [ ! -r /etc/default/gpsd ] || . /etc/default/gpsd > [ "$START_DAEMON" = "true" ] || exit 0 > [ "$USBAUTO" = "true" ] || exit 0 > ___________________ > > > Weird huh. Looks right except the ""$USBAUTO" = "true" ] || exit 0". > USBAUTO in *not* in the default/gpsd options mentioned in the manual > instructions. > > Thanks again for the reply Ross. > Maybe the fact that I have too many usb ports (4 on one card 5 on the > other) on this box is causing this problem. > > My UPS, ATT USB wireless modem, PicKit2 Programmer, external HD, and > Kodak Camera Dock don't have a problem though. Only thing that might > mess up the works is that the ATT Modem uses ttyUSB0 through ttyUSB4 > when its connected to the net. Number of USB ports should not be a problem. -- Cheers Ross _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353On Mon, Apr 06, 2009 at 12:42:41PM +1000, Ross Scanlon wrote:
> If you change the SYMLINK="gps%n" to SYMLINK="gps" it should then create a > symlink /dev/gps to whatever your /dev/ttyUSBxxx is for the gps. It's no help to me, where my GPS receiver connection is via Bluetooth on /dev/rfcomm1. -- Paul Martin <pm@...> _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: GPSDRIVE can't communicate with my globalsat BU-353Ross Scanlon wrote:
>>> The udev rule should be something like: >>> >>> SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps", >>> RUN+="/lib/udev/gpsd.hotplug.wrapper" >>> >> This is the z60_gpsd rule >> # Prolific Technology, Inc. PL2303 Serial Port >> SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps%n", >> RUN+="/lib/udev/gpsd.hotplug.wrapper" > > If you change the SYMLINK="gps%n" to SYMLINK="gps" it should then create a > symlink /dev/gps to whatever your /dev/ttyUSBxxx is for the gps. > --- Leaving the whole thread in for posterity. Right on Ross. The removal of the %n does create the symlink and it now works as it should. Thanks for all your help. This isn't rocket Science but the problem wasn't mentioned anywhere I looked. Hope this helps someone else to get there gpsdrive running. Beat Regards, again Wayne > With "gps%n" it creates a symlink of /dev/gpsN where N is the ttyUSB > number eg /dev/gps0 where gps is on /dev/ttyUSB0 etc. It's so that it's > possible to have multiple gps attached. > > >> and the related lsusb entry >> Bus 006 Device 012: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial >> Port >> >> That is exactly what is in the file and the gpsd.hotplug.wrapper script >> does have the code doing what you describe, yet there is still no >> /dev/gps. The code from both files is: >> >> ________ >> ----Manual say /etc/defaults/gpsd should be >> START_DAEMON="true" >> DAEMON_OPTS="-n" >> DEVICES="/dev/gps" >> ___________ >> >> ___________________ >> --- the wrapper code >> /lib/udev/gpsd.hotplug.wrapper >> ! /bin/sh >> # $Id: gpsd.hotplug.wrapper 4669 2008-01-21 15:07:00Z esr $ >> >> #debian addition: >> [ ! -r /etc/default/gpsd ] || . /etc/default/gpsd >> [ "$START_DAEMON" = "true" ] || exit 0 >> [ "$USBAUTO" = "true" ] || exit 0 >> ___________________ >> >> >> Weird huh. Looks right except the ""$USBAUTO" = "true" ] || exit 0". >> USBAUTO in *not* in the default/gpsd options mentioned in the manual >> instructions. >> >> Thanks again for the reply Ross. >> Maybe the fact that I have too many usb ports (4 on one card 5 on the >> other) on this box is causing this problem. >> >> My UPS, ATT USB wireless modem, PicKit2 Programmer, external HD, and >> Kodak Camera Dock don't have a problem though. Only thing that might >> mess up the works is that the ATT Modem uses ttyUSB0 through ttyUSB4 >> when its connected to the net. > > Number of USB ports should not be a problem. > > _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
| Free embeddable forum powered by Nabble | Forum Help |