![]() |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Mar 2005
Posts: 27
|
GPSD on Cygwin
I have just installed Cygwin on my laptop, (Window$ XP, SP2) installed kismet (2006-04-R1) configured it to run 2 drones all with out any problems. But then it came to GPSD, (2.30) I have followed Renderman's guide and all is working once. Yep once, if I try to run GPSD again it fails to talk to the GPS. (a USB GPS puck with USB to serial emulator running)
If I the reinstall GPSD I start all over again, it will work once then fail. One thing that I have noticed that if I have the GPS Gate window open and give the GPSD command in Cygwin ./gpsd /dev/com10 and variations of (./gpsd -p /dev/com10 -s 4800 with and without the -k option) In the GPS Gate window it shows GPSD connecting to the com port for about a second or so then drop the connection. I can also telnet into GPSD and see the NMEA output once. Any one with any ideas? Last edited by kiss2000 : 06-26-2006 at 05:26 PM. |
|
|
|
|
|
#2 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
|
Have you tried the -k option. My undertsanding is that it's there to be used in circumstances where a USB/serial converter isn't staying open, which sounds exactly like what you're experiencing.
__________________
Thorn "I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?" |
|
|
|
|
|
#3 (permalink) |
|
Registered Member
Join Date: Mar 2005
Posts: 27
|
Yep, I have tried with and without the -k option. It seem like GPSD is connecting to the com port for a split second and then dropping the connection. I have also tried just about every combination of commands that I can think of to start GPSD as well. I am starting to think that this maybe a issue Windows managing the port or the USB to serial emulator software. The only thing that I can't work out is why it works once, and when it works it works really well. (full 3D fix) Then if I reinstall GPSD it will work again, once.
|
|
|
|
|
|
#4 (permalink) | |
|
Humourless EuroMod.
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
|
Quote:
Have you tried dropping the middle man, and not use GPSGate ? I.E. setup cygwin and GPSD to connect to the comport supplied by the USB2serial driver ? I do realise you will not be able to share the GPS datastream with other native Win programs that way. Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT! Warning. Warning. Low C8H10N4O2 level detected. Operator halted.... |
|
|
|
|
|
|
#5 (permalink) | |
|
Registered Member
Join Date: Mar 2005
Posts: 27
|
Quote:
At the moment I am trying to find out why it works once. I figure that if I can work that out it might give me a clue as to what is going on. I know that the GPS works fine as it will run GDSD 2.30 on my Linux laptop without a single problem. The USB to serial software with or without GPS Gate running works fine on all of the programs that I have used in the past. Its even worked fine with GPSD a weeks ago before I formatted the laptop.(why did I have to try Vista )I am really starting to thing that this could be a com port issue rather than a Cygwin/GPSD issue. I am going to try it on a different box when I finish work and see what happens. |
|
|
|
|
|
|
#6 (permalink) |
|
Registered Member
Join Date: Mar 2005
Posts: 27
|
OK, I have come up with a fix. (well sort of) I have used Renderman's Kiswin32 package and made a quick and very dirty .Bat script.
Code:
@echo off cd c:\kiswin32-2005-08-r1-gpsd\bin gpsd -N /dev/com3 Code:
@echo off cd c:\kiswin32-2005-08-r1-gpsd kismet_server -f \kiswin32-2005-08-R1-GPSD\ETC/kismet.conf Code:
cd c:\kiswin32-2005-08-r1-gpsd kismet_client -f c:\kiswin32-2005-08-r1-gpsd/etc/kismet.conf -u c:\kiswin32-2005-08-r1-gpsd/etc/kismet_ui.conf PS: Dose anyone know if it is possible to use the -k option with GPSD within the kiswin32 package? I cant seem to get it to work and it is not listed withing the --help. |
|
|
|
|
|
#7 (permalink) | ||
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
Quote:
|
||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|