bugGPSD - Bugs: bug #54780, gpsctl busy loops until device is...


bug #54780: gpsctl busy loops until device is found

Submitted by:  None
Submitted on:  Thu 04 Oct 2018 11:26:46 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 31 May 2019 10:17:25 AM UTC, comment #1: 

Patch has been applied. Closing.

Eric S. Raymond <esr>
Project Administrator
Thu 04 Oct 2018 11:26:46 AM UTC, original submission:  

Until gpsd detects the device, gpsctl will busy loop waiting for the device.

In my scenario, I have no GNSS device attached. gpsd is started with this command:
$ gpsd -D 5 -n -N /dev/ttymxc5

gpsctl will now hang and busy loop when I query the device (leaving out the 'T' argument makes no difference):
$ gpsctl -T 5

The attached patch is my suggested fix.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by esr (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-31 esr Open/ClosedOpen => Closed
    2018-10-04 None Attached File- => Added 0001-gpsctl-fix-busy-loop-waiting-for-device.patch, #45141

    Back to the top

    Powered by Savane 3.5