PSA for time nuts: The #AppArmor profiles in #Debian Trixie for #gpsd and #chrony are broken if you try to use SOCK rather than SHM, for maximum #PPS accuracy. Bit me on #Proxmox 9.1. The #NTP SHM segment has to be polled by definition; SOCK is event-driven, so you only get #UNIX socket latency on pulses. So just put them in complain. Not an issue for me yet. The #SiRFStar IV #USB GPS I scored yesterday doesn't appear to do PPS sadly. Here's hoping, hoping, I stashed my GPSDO in safekeeping!

Did anyone succeed in getting GPS position un #Winlink out of #gpsd ?
Everything is running fine on my Ubuntu. Gpsd works and provide position through TCP port 2947.

On winlink (running via wine), I set "GPS serial port" to TCP/IP, IP address to the loopback one and IP port to the above value.
I always get "the GPS has stopped reporting".

When using the GPS device file, it works fine.

As winlink is not my only application using GPS, I would like to use the daemon.

Any idea ?
Thanks

Como integrar um nobreak RagTech ao Home Assistant - Cadu Silva

É uma tarefa árdua mas possível. Usando um pouco de Docker e um pouco de RESTful, você vai alcançar esse objetivo.

Cadu Silva
Apparently #gpsd uses 'ifconfig' in a test script that conveniently breaks.

A bit more fiddling with the Toughpad today, I notice it has a WWAN module.

During boot-up, an Ericsson F5521gw quickly shows itself and enumerates a network device and some serial ports (CDC ACM).

But then, 5 seconds later, it deregisters itself. Quite why, I have no idea.

Now this is a 3G era card, so in Australia, is about as useful as a screen door on a submarine for Internet access… HOWEVER, it does provide a GPS module.

Now that *would* be handy.

https://sven-seeberg.de/wp/?p=614 and https://www.tjansson.dk/2009/01/using-the-builtin-gps-in-a-thinkpad-x200-under-linux/ suggest it can be done…

The problem is figuring out what makes it suddenly disappear. That second article points out a SIM card being needed, so I grab the old 3G era SIM from my old ZTE T83 phone, power the tablet off, stuff it in the SIM card slot, and power it back up.

No dice. It again says peek-a-boo, enumerating then disappearing.

I didn't keep the Windows 8.1 install, so I can't boot that to have another look.

For now, I've just turned it off in the UEFI BIOS. At least it's not drawing unnecessary power … but if anyone has any ideas as to what I can shoot that might be telling the 3G module to disappear… I'm all ears.

#ToughPad #EricssonF5521gw #gpsd #cdc_ncm #Linux

Using GPS of Ericsson F5521gw in Ubuntu with gpsd | Sven's blog

Do you have a recommendation for a #linux tool to navigate a heavy #truck (no "normal" car!) via #gps offline?
I tried #pureMaps but miss the adjustment for car size parameters. GPS can be provided via #geoclue or #gpsd sufficiently.

I just need map display and route planning - ideally an option which is aware of obstacles like low bridges and weight limits on particular roads and show alerts.

In case it matters: I will be on german roads.

Как извлечь данные из Linux с помощью C++ и Qt. На примере приложения с прогнозом погоды

Привет, Хабр! Меня зовут Михаил, я backend-разработчик в SimbirSoft. Хочу поделиться с вами опытом получения различной информации в ОС Linux для использования в своих целях. Представьте, что нам нужно написать приложение «Погода», которое берёт из сети температуру, влажность и прочие параметры и отображает для пользователя. Было бы неплохо, чтобы оно само определяло, где мы находимся. Но как это сделать? Легко! На одном из проектов нам предстояло разработать десктопное приложение для портативного устройства и графический интерфейс к нему. При этом, кроме основной функциональности, предстояло выводить дополнительную информацию для пользователя: - навигационные данные (долготу, широту, высоту); - сведения о сетевом соединении (название, тип, уровень сигнала Wi-Fi); - заряд батареи; - информацию о хранилище (сколько занято/сколько всего). Стек используемых технологий – C++ в связке с библиотекой Qt (5.12). Задача казалась довольно простой. Но первое впечатление очень часто обманчиво. Особенно в тех случаях, когда вам не приходилось решать подобные задачи. Но обо всём по порядку. Рассмотрим вывод разных видов информации. 👉 Читать далее

https://habr.com/ru/companies/simbirsoft/articles/839126/

#linux ++ #qt #qt5 #gpsd

Как извлечь данные из Linux с помощью C++ и Qt. На примере приложения с прогнозом погоды

Привет, Хабр! Меня зовут Михаил, я backend-разработчик в SimbirSoft. Хочу поделиться с вами опытом получения различной информации в ОС Linux для использования в своих целях. Представьте, что нам нужно...

Хабр

…🧵 #gpsd doesn't seem to like how I've repurposed the u-blox Rx line as PPS. I'll need a new cable - 4-pole USB doesn't cut it.

It's Thursday today, so the flea market will be buzzing nearby - let's try and score an old PS2 extension cable.

PS2 has 6 lines; 1 more than I currently need ...well, that's 6 lines + ground/shield.

sigh. it has been 0️⃣ days since I wanted to rewrite #ntpd and #gpsd in #rust again.

(ntpd on a raspberry pi is now crashing when i make it use the gps as a reference clock).

Time to try out Chrony before I start screaming or writing code.

I wanted to use my #digirig with an #ft891 connected to a #raspberrypi and ran into problems with it always going into continuous sending when connecting. Turns out my #gpsd config was wrong, this solution helped: https://forum.digirig.net/t/trouble-and-solution-connecting-digirig-to-a-raspberry-pi/1048
Trouble (and solution!) connecting Digirig to a Raspberry Pi

I ran into some trouble using Digirig with my Raspberry Pi that turned out to be unrelated to the Digirig itself. I thought I’d share what I learned here in case it’s helpful to others. I used KM4ACK’s excellent Build a Pi script to set up a Raspberry Pi for radio tasks. I made some homebrew cables, after carefully studying the Digirig schematic and adding some important modifications to my old Icom IC-751A. Before connecting the Digirig to the transceiver, I set up the rig in fldigi, making s...

Digirig Forum