#217689 - 03/06/2004 13:52
Ideas for a cheap GpsD device
|
old hand
Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
|
I've been looking for ideas on finding a cheap device that could run some kind of linux and GpsD. Basically this means the device must have a serial port, ethernet port and be able to be hacked easily to run linux. The goal here is to have a device where I can hook my Gps up to it, hook the ethernet port to the empeg, and then point GpsApp to the device as an GpsD source, thus freeing up the empeg's serial port in the car.
I've been reading a lot on SeattleWireless looking for devices to hack to run Linux and the Linksys WRT54g looks promising, two serial ports can be modded onto it, but it's relatively expensive and would be kind of a waste of a 802.11g router to keep it in my car all the time. There are some other 802.11b routers that can be hacked, but they look kind of difficult to deal with. Does anyone have any other ideas for devices I could use to run GpsD with?
|
Top
|
|
|
|
#217690 - 03/06/2004 13:54
Re: Ideas for a cheap GpsD device
[Re: siberia37]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
That's gotta be the most convoluted idea for a hack I've ever heard of.
So why such importance to free up the empeg serial port?
|
Top
|
|
|
|
#217691 - 03/06/2004 14:08
Re: Ideas for a cheap GpsD device
[Re: tfabris]
|
old hand
Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
|
In reply to:
That's gotta be the most convoluted idea for a hack I've ever heard of.
Hehe- I'll take that as a compliment
In reply to:
So why such importance to free up the empeg serial port?
Well... I got this shiny new OBD-II reader that I'm trying to get to work under Linux using freediag. And when I do- then I'm going to hack up an interface for it to work in the Empeg.
|
Top
|
|
|
|
#217692 - 03/06/2004 14:45
Re: Ideas for a cheap GpsD device
[Re: siberia37]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Heh, it was meant as the highest compliment. I've been known to do convoluted hacks myself like that.
Of course, I'm a brute force guy myself, and would probably just rig up a serial A/B switch in the car so that I could switch between the two devices.
|
Top
|
|
|
|
#217693 - 03/06/2004 19:52
Re: Ideas for a cheap GpsD device
[Re: tfabris]
|
old hand
Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
|
A serial A/B switch? Darn it Tony that's just too logical you ruined my fun. How is a guy supposed to be creative when you come up with logical cheap solutions like that? Only problem is I would have to get a lot of DB9->DB25 converters because I can't find a DB9 A/B switch.. o-well still cheaper than hacking a wireless router just not as much fun.
|
Top
|
|
|
|
#217694 - 03/06/2004 20:55
Re: Ideas for a cheap GpsD device
[Re: siberia37]
|
carpal tunnel
Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
|
This is an idea I hadn't considered. It still doesn't get me enough serial ports, I also want one for a ppp uplink.
|
Top
|
|
|
|
#217696 - 16/11/2004 02:59
Re: Ideas for a cheap GpsD device
[Re: Daria]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Quote: This is an idea I hadn't considered. It still doesn't get me enough serial ports, I also want one for a ppp uplink.
Why did you want all those serial ports? Curious.
And, hey! I see gpsd is all shiny and new like a spoon!
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#217697 - 16/11/2004 03:28
Re: Ideas for a cheap GpsD device
[Re: jimhogan]
|
carpal tunnel
Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
|
One for a GPS. One for a ppp uplink. There was some third thing. (maybe one for future use)
|
Top
|
|
|
|
#217698 - 30/11/2004 02:02
Re: Ideas for a cheap GpsD device
[Re: Daria]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Quote: One for a GPS. One for a ppp uplink. There was some third thing. (maybe one for future use)
Well, I just popped the lid on my V2 WRT54G last night and I found that Serial port mod page and I am ready to rock. If I can make them both DTE, I am figuring ttyS0 for GPS and ttyS1 for clock display (not sure on the details on that). Anyhow, a retail WRT54G is cheaper than any other Linux SBC I can find!
I see that some gent has posted an NTP source patch to allow NTP to read nmead via port-->device symlink. Has anyone looked at getting GPSD included in NTPD as an official driver?
Precise time is more and more important, after all.
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#217699 - 30/11/2004 02:30
Re: Ideas for a cheap GpsD device
[Re: jimhogan]
|
carpal tunnel
Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
|
gpsd doesn't belong in ntpd. a gpsd client might, but really, does not. gpsd doesn't provide fine enough time resolution. it's a hack. yuck.
|
Top
|
|
|
|
#217700 - 03/12/2004 00:30
Re: Ideas for a cheap GpsD device
[Re: Daria]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Quote: gpsd doesn't belong in ntpd. a gpsd client might, but really, does not. gpsd doesn't provide fine enough time resolution. it's a hack. yuck.
Well, I am increasingly interested in ntp and timing, but I am not a precision snob. Plus or minus a half second is fine by me, so I think ntp time derived from gpsd would be excellent.
Of interest, when I looked at the type 20 (non 1PPS) NMEA driver for ntp, I found that the patch that this guy wrote to take ntp time from nmead has been adopted in ntp driver source.
So I asked "Why wouldn't this work with gpsd?" And in fact it does. Symlinked loacalhost:2947 to /dev/gpsx and babing. See attached screenshot.
Only minor problem is that it stops reading and pauses at regular intervals, so NTP reachability stat never gets to where it should be. NTP pauses for about 25 seconds and then resumes after an incrementing auth_agekeys message. That may have something to do with my setup.
But it works more or less. It doesn't look like nmead is one of the projects you guys are going to assimilate/unfork, but maybe youse guys should talk!.
Attachments
242428-screen.png (112 downloads)
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#217701 - 03/12/2004 02:17
Re: Ideas for a cheap GpsD device
[Re: jimhogan]
|
carpal tunnel
Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
|
Quote: But it works more or less. It doesn't look like nmead is one of the projects you guys are going to assimilate/unfork, but maybe youse guys should talk!.
gpsd wasn't my project, I adopted it. nmead doesn't look like it does anything that makes it interesting. my rule is "don't write something new where existing tools suffice", which is why i picked up gpsd. could you imagine what software we might have if everyone and his brother hadn't written an mpeg video player (most of them based on the same libraries, just mostly "gui of the week")?
|
Top
|
|
|
|
#217702 - 03/12/2004 02:47
Re: Ideas for a cheap GpsD device
[Re: Daria]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Quote: gpsd wasn't my project, I adopted it. nmead doesn't look like it does anything that makes it interesting. my rule is "don't write something new where existing tools suffice", which is why i picked up gpsd. could you imagine what software we might have if everyone and his brother hadn't written an mpeg video player (most of them based on the same libraries, just mostly "gui of the week")?
I heartily embrace your world-weary attitude with respect to everybody and their brother. I just found it interesting that that gent wrote an ntp patch for the less capable nmead (a patch that does something I like) that also happens to work with the more capable gpsd.
My goal is simple: have fewer than 2 GPS in my car!
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
|
|