[Bug 233095] www/firefox geolocation no longer working
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Feb 2025 17:37:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233095 --- Comment #7 from J.R. Oldroyd <fbsd@opal.com> --- I did some debugging of this. There appear to be two problems. 1. The FreeBSD wifi scan code uses the isr_rssi value directly. This results in incorrect values. It needs to adjust for the isr_noise noise level. I am attaching a patch to correct this. 2. Secondly, I cannot get it to work directly with the default Google geolocation URL [1]. However, if I change the URL (in about:config geo.provider.network.url) to a proxy script on my own server, then call that same Google geolocation URL from that script it works just fine (with the patch). To debug this, I want to enable logging (I've tried using [2] and also using about:logger) to see what's going on, but the log files are created but remain empty. Anyone have suggestions for how to get the log to show? [1] https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY% [2] MOZ_LOG_FILE="/tmp/log" MOZ_LOG="timestamp,sync,gWifiMonitorLog:5" firefox -- You are receiving this mail because: You are on the CC list for the bug.