![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#46 (permalink) | |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
As it turns out, Cygwin's stty does seem to lie, as of Cygwin 1.5.18 and stty 5.3.0.
I verified that my setbaud code was correct by testing it on a RedHat 7.3 machine at work, then later on a Debian Sid (Kanotix) machine at home. Like stty but arguably more compact. Now I've tried it under Cygwin, and it seems to be taking effect. "setbaud /dev/com8 38400" followed by "gpsd -n -N -D 2 /dev/com8" gets there really fast with my GPSlim236, while "setbaud /dev/com8 4800" then "gpsd -n -N -D 2 /dev/com8" takes a while longer. So... if you don't want to wait the two minutes or so while gpsd detects your baud rate, and don't yet want to try a Cygwin snapshot, you can speed it up. Note: CYGWIN=nocom_reset might be required (that's how I have it). Something else for y'all to test: after adding the audio libraries, compiling/installing sox, and running this device list script, I can now do "cat alert.wav > /dev/dsp" and have it generate sound - I don't know if the script or libraries or sox were really necessary, though. So, I'm anticipating that a /usr/bin/play consisting solely of Quote:
One more: getting flite operational:
Next task: Try to figure out how to get it to lock better - gpsmodelock=true was even worse that gpsmodelock=false... and a search here for "gpsd lock" didn't help. Last edited by goldfndr : 09-20-2005 at 08:54 PM. Reason: minor edits |
|
|
|
|
|
#47 (permalink) |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
OK, I'm doing the test and I'm following Renderman's guide page as requested and I'm getting an error when patching gpsd.
Patch < cygwin-2.diff returns the following: patching file configure patching file gpsd.h patch: **** malformed patch at line 19: others? */ I'm pretty sure I added all the Cygwin goodies, but I'll double check again. PS, I have a few minor corrections for the guide later. |
|
|
|
|
#48 (permalink) | |
|
Drunken Stumbler
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
|
Quote:
Minor corrections welcome
__________________
Never drink anything larger than your head! Scaramental Wine Taster for the Church Of WiFi Buy our book: RFID Security "I reject your reality, and substitute my own!" – Adam Savage CoWF WPA Hash Tables |
|
|
|
|
|
#49 (permalink) | |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
Quote:
I'll pull it down again. |
|
|
|
|
|
#50 (permalink) | |
|
Drunken Stumbler
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
|
Quote:
I think I fixed the word wrap issue
__________________
Never drink anything larger than your head! Scaramental Wine Taster for the Church Of WiFi Buy our book: RFID Security "I reject your reality, and substitute my own!" – Adam Savage CoWF WPA Hash Tables |
|
|
|
|
|
#52 (permalink) | |
|
Drunken Stumbler
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
|
Quote:
Stupid vbulletin won't let me wget the diff file directly, so I have to download it with a browser and its getting wordwrapped.
__________________
Never drink anything larger than your head! Scaramental Wine Taster for the Church Of WiFi Buy our book: RFID Security "I reject your reality, and substitute my own!" – Adam Savage CoWF WPA Hash Tables Last edited by renderman : 09-21-2005 at 03:31 PM. |
|
|
|
|
|
#53 (permalink) | |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
Quote:
I removed the GPSD install and did it again to test from scratch. It patched just fine.I'm trying to test this from scratch like a new user would. My pager is going wild. Be right back. |
|
|
|
|
|
#54 (permalink) | |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
Drove home last night with gpsd, /usr/bin/play (one-line script above), and flite enabled - wow, it was pretty weird hearing sound effects... is that what you guys are used to? kismet (or, more likely, the WAV playing) segfaulted at some point during the first run, but I just ran it again and it seemed okay. flite was speaking for a while but then it got stuck on a Days Inn AP - didn't seem to have any ctrl-codes, so I don't know what the issue is. The pronunciation seemed slightly better than Microsoft Mike but definitely worse than Crystal and Audrey, so I'll definitely find a way to adapt ns04thread.vbs for kismet. Either that or patch kismet to behave more like ns04speech.vbs. ![]() Oh, a comment on my earlier posting about playing WAVs: one can test for /dev existence using ls (e.g. ls /dev/com1. So, if ls /dev/dsp displays a file then some of the stuff I mentioned (e.g. compiling sox) probably isn't required. To those of you who have gpsd running (cygwin or linux, any version), could you try cgps? I'm trying it here, and it's mostly giving me a 2D fix - I'm getting GGA followed immediately by RMC, and while the GGA does give the altitude and a 3D fix, the RMC immediately clears the altitude - this must be why Kismet isn't giving me a fix most of the time, and the only times I get a fix are when I luck out on the timing being between GGA and RMC. Need to check the code more closely, I'm guessing it's more likely a gpsd bug than a Cygwin issue. In other news, I've successfully compiled gpsdrive within Cygwin:
![]() |
|
|
|
|
|
#55 (permalink) | |
|
Drunken Stumbler
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
|
Quote:
__________________
Never drink anything larger than your head! Scaramental Wine Taster for the Church Of WiFi Buy our book: RFID Security "I reject your reality, and substitute my own!" – Adam Savage CoWF WPA Hash Tables |
|
|
|
|
|
#56 (permalink) |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
Long night. We lost cooling to our main data center. Had to scrounge fans, lots of them. I'm cooked. It was only 145 degrees in there.
Good way to loose weight temporarily. I now have GPSD running with Kismet under Cygwin. Good job guys! |
|
|
|
|
#57 (permalink) | ||
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
Quote:
|
||
|
|
|
|
#58 (permalink) | |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
Quote:
|
|
|
|
|
|
#59 (permalink) | |
|
What??
Join Date: May 2005
Location: OKC
Posts: 1,240
|
Quote:
|
|
|
|
|
|
#60 (permalink) | |
|
SpoonfeederExtraordinaire
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
|
renderman,
I'm on step six of your guide. When I try to run the drone, I get: Quote:
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo :00475170 6E 66 65 65 64 65 72 2E nfeeder. :00475178 45 78 74 72 61 6F 72 64 Extraord :00475180 69 6E 61 69 72 65 5D 3B inaire]; :00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.].. |
|
|
|