05-12-2021, 09:09 AM
(04-30-2021, 02:18 PM)s_p_e_x Wrote:I don't know if anyone has been working on this - probably look at the bug trackers for the distro, plasma-mobile and ofono. I think plasma-mobile uses geoclue but I'm not sure, and I've not looked at how those different bits join up. If geoclue and ofono don't have CLI interfaces of their own you'll need to use something like qdbus and their respective dbus api docs to query them. Below ofono there are serial interfaces to the phone module which you can access with a terminal like picocom - remember to turn on local echo as they don't echo what you type. Depending on the udev rules the distro is using, the serial interfaces may be /dev/ttyUSB2 for the control interface, and /dev/ttyUSB1 for the output of location data in NMEA format, or they may be remapped to other names like /dev/ttyGPS. See the various modem docs in the wiki - there are separate docs for the AT commands for normal modem operation, the GPS/GNSS subsection, and the file storage subsection that's used to upload assistance data for a faster fix.(07-14-2020, 07:44 AM)wibble Wrote: In essence it can be made to work with some effort at the moment, but should become a lot easier in future.Any word on whether this is the future yet?
I don't seem to be able to turn on location in plasma-mobile and I even now have phone,TXT, and data enabled.
Also, I'm not sure how to query this feature other than the one button in the GUI. What cli tool(s) would help me diagnose this issue?
Any insight is much appreciated
-s