Closed
Bug 934881
Opened 11 years ago
Closed 11 years ago
[flatfish] Headset icon is always on status bar if booting up with headset plugged.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:koi+)
RESOLVED
WORKSFORME
blocking-b2g | koi+ |
People
(Reporter: atsai, Unassigned)
References
Details
(Whiteboard: [Flatfish only][developer+])
+++ This bug was initially created as a clone of Bug #911117 +++
I doubt the fix in bug 911117 caused the bug.
Now, I got the headset icon all the time.
Gaia: 51e80edcfb40082793e1f3219fc1fe2729f338f9
Gecko: b6a4edc4e3778d3844752c8998debb930890eb20
BuildID 20131105100731
Version 28.0a1
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → koi?
Reporter | ||
Updated•11 years ago
|
QA Contact: atsai
Comment 1•11 years ago
|
||
George, can you check if this is a regression of bug 911117? Thanks!
Flags: needinfo?(gduan)
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 2•11 years ago
|
||
That's interesting. I tried to dump the value of acm.headphones when first booted without headset, and the value is 'true'(plz see below reference)
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/statusbar.js#L188
As I remembered, it didn't behave like this.
Hi Terry,
could you kindly check?
Currently, we use navigator.mozAudioChannelManager.headphones to check if headset is plugged or not, however, this method seems always return true after reboot.
Flags: needinfo?(gduan) → needinfo?(phterry)
We checked today. That works for me. Please kindly check the kernel image should be flashed. We flash system with whole image file. Otherwise, please remember to fastboot the boot.img and then re-check this.
(In reply to George Duan [:gduan] from comment #2)
> That's interesting. I tried to dump the value of acm.headphones when first
> booted without headset, and the value is 'true'(plz see below reference)
> https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/statusbar.
> js#L188
>
> As I remembered, it didn't behave like this.
>
> Hi Terry,
> could you kindly check?
> Currently, we use navigator.mozAudioChannelManager.headphones to check if
> headset is plugged or not, however, this method seems always return true
> after reboot.
We have applied a (temp) fix for bug 924729 and it works fine. I think the root cause of this issue is that UeventPoller failed to initialize. This causes the headphone status not able to change. The information of this fix is as below,
https://bugzilla.mozilla.org/show_bug.cgi?id=911117#c3
Flags: needinfo?(phterry)
Comment 5•11 years ago
|
||
Hi Al,
Is it possible to flash the whole boot.img and retest it?
(In reply to sulapy from comment #3)
> We checked today. That works for me. Please kindly check the kernel image
> should be flashed. We flash system with whole image file. Otherwise,
> please remember to fastboot the boot.img and then re-check this.
(In reply to Terry Li from comment #4)
> (In reply to George Duan [:gduan] from comment #2)
> > That's interesting. I tried to dump the value of acm.headphones when first
> > booted without headset, and the value is 'true'(plz see below reference)
> > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/statusbar.
> > js#L188
> >
> > As I remembered, it didn't behave like this.
> >
> > Hi Terry,
> > could you kindly check?
> > Currently, we use navigator.mozAudioChannelManager.headphones to check if
> > headset is plugged or not, however, this method seems always return true
> > after reboot.
> We have applied a (temp) fix for bug 924729 and it works fine. I think the
> root cause of this issue is that UeventPoller failed to initialize. This
> causes the headphone status not able to change. The information of this fix
> is as below,
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=911117#c3
Flags: needinfo?(atsai)
Comment 6•11 years ago
|
||
Hi George,
I can help you check this issue from logcat to see if the issue is caused like Terry said. Do you have device which can reproduce it? I can help on verifying it.
Updated•11 years ago
|
Whiteboard: [Flatfish only] → [Flatfish only][developer+]
Reporter | ||
Comment 7•11 years ago
|
||
WFM since not happens on a newer build..
Gaia: e95ab38f3c7ea2834e92f4ff37143432f0312a71
Gecko: 7a9d20c22caf534b027f69ffd5e4a274be8c66b7
BuildID 20131106064537
Version 28.0a1
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(atsai)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•