gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mode/Status not updated in shared mem mode


From: Hans Kurscheidt
Subject: Re: Mode/Status not updated in shared mem mode
Date: Mon, 6 Jan 2025 10:15:47 +0100
User-agent: Mozilla Thunderbird

Hi, its not about Telepathy... :(

its about a middle-ware, which does not flag the validity of its data! I wonder, what the difficulty is. In my simple mind, it could be solved by a simple semaphore like thing, where read_gps would set it to 0 and a new write from the GPS device would set it to 1. So if the GPS device disconnects, the semaphore remains 0 and the APP can recognize, there there's only obsolete data.

I ran into this problem, because Debian at some point in time (aft. 20 min) decided to put the USB controller into Power Safe state, despite the fact that GPS was connected and working.

RGDS

hk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]