Closed Bug 1024309 Opened 10 years ago Closed 10 years ago

[B2G][Geolocation][AGPS] AGPS can not work well in SIM2

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+)

RESOLVED DUPLICATE of bug 878748
1.4 S6 (25apr)
blocking-b2g 1.4+

People

(Reporter: guang.yu, Unassigned)

References

Details

AGPS can not work in SIM2.
while using SIM2 only, and data connection has been enabled, AGPS can NOT work well.
Component: Geolocation → RIL
OS: Linux → Gonk (Firefox OS)
Product: Core → Firefox OS
Hardware: x86_64 → ARM
Target Milestone: --- → 2.0 S4 (20june)
Target Milestone: 2.0 S4 (20june) → 1.4 S6 (25apr)
Flags: needinfo?(sam.hua)
Guang: Does AGPS fail completely using SIM2 or does it work but not as well (?) as SIM1? Is this a bug in Mozilla's geolocation provider or Spreadtrum's RIL?
Blocks: mls-dolphin
blocking-b2g: --- → 1.4?
Flags: needinfo?(guang.yu)
Summary: [B2G][Geolocation][AGPS]AGPS can not work well in SIM2 → [B2G][Geolocation][AGPS] AGPS can not work well in SIM2
Hi Chris:
please let me provide more information:
1. AGPS fail completely using SIM2.
2. AGPS works well using SIM1
3. It seems like a software issue, which cased by Mozilla's Geolocation provider.
Flags: needinfo?(guang.yu)
Blocking on it for 1.4
blocking-b2g: 1.4? → 1.4+
A quick guess is that currently GonkGPSGeolocationProvider always uses RadioInterface with service id 0 [1]. With DSDS, you can setup 'supl' data connection only on the selected SIM for data service.
See also bug 878748.

[1] http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/GonkGPSGeolocationProvider.cpp#653
(In reply to Jessica Jong [:jjong] [:jessica] from comment #4)
> A quick guess is that currently GonkGPSGeolocationProvider always uses
> RadioInterface with service id 0 [1]. With DSDS, you can setup 'supl' data
> connection only on the selected SIM for data service.
> See also bug 878748.
> 
> [1]
> http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/
> GonkGPSGeolocationProvider.cpp#653

Yes, Jessica, the problem now is GonkGPSGeolocationProvider.cpp always use slot0 to perform AGPS related feature.

Agree with you that we might need to use selected SIM to be parameter as clientId.
Does GPS not work at all, or just take a long time to get a fix?
Flags: needinfo?(guang.yu)
(In reply to Garvan Keeley [:garvank] from comment #6)
> Does GPS not work at all, or just take a long time to get a fix?

Hi Garvan:
GPS need a long time to get fix without AGPS. 
GPS can get fix even there is no SIM card in SIM1 or SIM2 slot, but need more time.
with SIM1 data connection GPS can get a fast TTFF, but not in SIM2. That is the question.
Flags: needinfo?(guang.yu)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(sam.hua)
You need to log in before you can comment on or make changes to this bug.