Ticket #1183 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

Suggested initscripts for gllin and gpsd

Reported by: cwixon@… Owned by: mickey
Priority: high Milestone:
Component: gllin Version: 2007.2
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


See the wiki at http://wiki.openmoko.org/wiki/Gllin#More_Initscripts

Using those scripts, and starting gpsd BEFORE gllin will have the following

(1) gpsd, if pointed to a device that has "NP" in its filename (as in
/tmp/nmeaNP), will create that named pipe if it doesn't already exist -- the
original version of gpsd simply fails if that's the case;

(2) gpsd will start listening immediately; and

(3) gllin's output to /tmp/nmeaNP will immediately be picked up by gpsd, so
there is no need to artificially pipe the gllin output to a log or /dev/null in
order to keep gllin alive (it exits automatically if it sees no client).

These scripts would also need corresponding links in rcX.d (for example, I have
/etc/rc5.d/S35gpsd and /etc/rc5.d/S38gllin).

Works fine for me.

Change History

comment:1 Changed 11 years ago by roh

  • Owner changed from mickey@… to mickeyl

comment:2 Changed 11 years ago by roh

  • Owner changed from mickeyl to mickey

comment:3 Changed 10 years ago by mickey

  • Status changed from new to closed
  • HasPatchForReview unset
  • Resolution set to fixed

gllin and gpsd has been sorted out in FSO. After installing gllin, GPS works out of the box now, so I consider this being fixed. No more work will be done for 2007.x

Note: See TracTickets for help on using tickets.