msm8953-mainline / linux

Linux mainline kernel with WIP patches for msm8953 devices
Other
106 stars 58 forks source link

Add memshare to make gps work #188

Closed barni2000 closed 3 months ago

barni2000 commented 3 months ago

This PR utilize memshare from msm8916-mainline to make GPS work.

I have defined 3 memshare clients what can be find in downstream msm8953.dtsi and defined reserved memory ranges for the clients.

For test gps with modemmanager:

sim card is need for modemmanager

$ qmicli -d qrtr://0 --loc-set-engine-lock=none
$ mmcli -m any --location-enable-gps-nmea
$ mmcli -m any --location-set-gps-refresh-rate=1
$ mmcli -m any --location-set-enable-signal
$ mmcli -m any --location-monitor

For satellite https://flathub.org/apps/page.codeberg.tpikonen.satellite only qmcli command is needed.