Closed
Bug 1126677
Opened 9 years ago
Closed 9 years ago
[FFOS2.0][Woodduck]No IMSI detach prodecure when power off
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Firefox OS Graveyard
Gaia
Tracking
(blocking-b2g:2.0M+, b2g-v2.0 affected, b2g-v2.0M fixed, b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master affected)
RESOLVED
FIXED
blocking-b2g | 2.0M+ |
People
(Reporter: sync-1, Assigned: GaryChen)
References
Details
(Whiteboard: [2.0M_only])
Attachments
(5 files)
DEFECT DESCRIPTION: No IMSI detach prodecure when power off REPRODUCING PROCEDURES: Power on the device,after device register successfully, power off the device. From the log, we can see no IMSI detach signalling. Note: When enable flight mode,we can see IMSI detach procedure, but if we power off, no IMSI detach procedure. EXPECTED BEHAVIOUR: When power off, devide should perform detach procedure normally. ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior: Reporter phone number:0752-2639862(61862)
Comment 5•9 years ago
|
||
Hi Shawn, Could you please help to check the problem? Thanks!
Flags: needinfo?(sku)
Comment 6•9 years ago
|
||
It looks like Gaia only request shutdown/reboot command when user request power off/shutdown (see [1]). IMO, part in [2] needs to be included for shutdown/reboot procedure to make IMSI detach work properly. [1] - https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/sleep_menu.js#L445 [2] - https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/radio.js#L149
Flags: needinfo?(jocheng)
Updated•9 years ago
|
Flags: needinfo?(sku)
Comment 7•9 years ago
|
||
Hi Reporter, Is this a critical test case blocks your certification? This is by our design now and I suggest we fix this in future version than 2.0M. Thanks!
Flags: needinfo?(jocheng) → needinfo?(sync-1)
(In reply to comment #3) > Comment from Mozilla:Hi Reporter, > > Is this a critical test case blocks your certification? > This is by our design now and I suggest we fix this in future version than > 2.0M. Thanks! > Dear mozilla, 这个不是certification,但是这个功能是客户需求功能,运营商要求实现这个功能,请知悉,谢谢。
Dear mozilla, 这个PR是PTCRB认证,需要在今明两天完成,tcl周一要给到TMC进行复测,能尽快解决吗?谢谢
Comment 10•9 years ago
|
||
Hi Gary, Could you please help to check the problem? Thanks!
Flags: needinfo?(gchen)
Updated•9 years ago
|
Blocks: Woodduck_Blocker
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gchen
Flags: needinfo?(gchen)
Assignee | ||
Comment 11•9 years ago
|
||
Hi all, Here is my WIP, could you help to apply this patch on partner's branch for testing? Thanks.
Comment 12•9 years ago
|
||
I will test it.
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 13•9 years ago
|
||
test ok,thank you for your help.
Reporter | ||
Comment 14•9 years ago
|
||
Dear dengwei, this pr have fixed,please close it,tcl pr:912720
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8556991 [details] [review] https://github.com/mozilla-b2g/gaia/pull/27808 Hi Tim, According to partner's request, do you think we need to land this patch in maser or just land in v2.0m only? Seems we don't handle this case and I have no idea who can be consultant about this issue. Could you help to take a look? Thanks.
Attachment #8556991 -
Flags: feedback?(timdream)
Comment 16•9 years ago
|
||
Comment on attachment 8556991 [details] [review] https://github.com/mozilla-b2g/gaia/pull/27808 Glad you asked. This is a workaround for 2.0m only, unless Hsinyi says it's not :) I would imagine the RIL should handle device reboot/power off on it's own without System app -- it's entirely possible in the future the app with the permission to poweroff() does not have the permission to turn off the mobile radio. FYR, |Radio.enabled = false| points to this setter: https://github.com/mozilla-b2g/gaia/blob/1217bf61e26c/apps/system/js/radio.js#L211-L221
Attachment #8556991 -
Flags: feedback?(timdream) → feedback?(htsai)
Comment 17•9 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #16) > Glad you asked. This is a workaround for 2.0m only, unless Hsinyi says it's > not :) That said, if we don't have a timely solution for v3.0 we could land this .... with XXX and bug #.
Comment 18•9 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #16) > Comment on attachment 8556991 [details] [review] > https://github.com/mozilla-b2g/gaia/pull/27808 > > Glad you asked. This is a workaround for 2.0m only, unless Hsinyi says it's > not :) > > I would imagine the RIL should handle device reboot/power off on it's own > without System app -- it's entirely possible in the future the app with the > permission to poweroff() does not have the permission to turn off the mobile > radio. > It would be great that this is handled by gecko, but in the power module not exactly in RIL, which however has no idea if user is going to poweroff or not. So, the flow I imagine is that when the power module receives poweroff request, the power module asks RIL module to send out additional radio command. > FYR, |Radio.enabled = false| points to this setter: > > https://github.com/mozilla-b2g/gaia/blob/1217bf61e26c/apps/system/js/radio. > js#L211-L221
Comment 19•9 years ago
|
||
Comment on attachment 8556991 [details] [review] https://github.com/mozilla-b2g/gaia/pull/27808 Please see comment 18.In the long-term, it makes sense to me to do this in gecko.
Attachment #8556991 -
Flags: feedback?(htsai) → feedback?(timdream)
Assignee | ||
Comment 20•9 years ago
|
||
Hi all, Per comment 18, I would like to nominate "v2.0m?" first for resolving issue in v2.0m branch. Hi Josh and Tim, Do you think we need this patch on other branches? eg, 2.1 or higher. Or file another bug? Thanks.
blocking-b2g: --- → 2.0M?
Flags: needinfo?(jocheng)
Assignee | ||
Updated•9 years ago
|
Attachment #8556991 -
Flags: feedback?(timdream) → review?(timdream)
Comment 21•9 years ago
|
||
Hi Gary, Hi Tim, Hi Hsin-Yi, I think we can land this for 2.0M for now and maybe you will open a bug for long term solution later? Thanks!
blocking-b2g: 2.0M? → 2.0M+
status-b2g-v2.0:
--- → affected
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.1S:
--- → affected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Flags: needinfo?(sync-1)
Flags: needinfo?(jocheng)
Flags: needinfo?(htsai)
Comment 22•9 years ago
|
||
Comment on attachment 8556991 [details] [review] https://github.com/mozilla-b2g/gaia/pull/27808 As I stated before, I have no problem landing this on v2.0m or in master. But I ask the platform bug to be filed and a XXX comment left in Gaia code should it lands on master. Thanks!
Attachment #8556991 -
Flags: review?(timdream) → review+
Comment 24•9 years ago
|
||
Hi Kai-Zhen, Could you help to land this on 2.0M? Thanks!
Flags: needinfo?(kli)
See Also: → 1129272
Comment 25•9 years ago
|
||
Gary, could you help to add comment in gaia code per comment 22? Once you finished, please ni me. Thanks!
Flags: needinfo?(kli) → needinfo?(gchen)
Comment 26•9 years ago
|
||
Hi Kai-Zhen, This will only land on 2.0M as workaround. HsinYi will fix this with bug 1129272 on master. Thanks!
Comment 27•9 years ago
|
||
(In reply to Josh Cheng [:josh] from comment #26) > Hi Kai-Zhen, > This will only land on 2.0M as workaround. > HsinYi will fix this with bug 1129272 on master. Thanks! Ha, there seems miscommunication here. I said the formal fix should be on bug 1129272, however not sure where the statement (I will fix this) came from. ;) If workload permits, I'll like to help of course.
Comment 28•9 years ago
|
||
v2.0m: https://github.com/mozilla-b2g/gaia/commit/68bc0bf86e9addf9f4291737d858c491258a74f8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gchen)
Resolution: --- → FIXED
Whiteboard: [2.0M_only]
You need to log in
before you can comment on or make changes to this bug.
Description
•