Closed Bug 994761 Opened 10 years ago Closed 10 years ago

[B2G][Tarako][Dialer] Cannot hear sound the first 4-7 seconds of an active phone call

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:1.3T+, b2g-v1.3 unaffected, b2g-v1.3T verified)

RESOLVED FIXED
1.4 S6 (25apr)
blocking-b2g 1.3T+
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.3T --- verified

People

(Reporter: jschmitt, Assigned: sam.hua)

Details

(Keywords: perf, Whiteboard: [c=progress p= s= u=tarako] [POVB])

Attachments

(2 files, 1 obsolete file)

Attached file log.txt (obsolete) —
Description:
Making an inbound / outbound call, the user cannot hear any sound for the first 4-7 seconds of the phone call.

Repro Steps:
1) Update a Tarako to BuildID: 20140410004001
2) Call a Tarako device
3) Answer the call and proceed to talk

Actual:
No sound is heard for 4-7 seconds while in an active call.

Expected:
The active call to have sound immediately after being connected.

1.3 Environmental Variables:
Device: Tarako 1.3 MOZ
BuildID: 20140410004001
Gaia: 022b03a57e4b8c697a6066961e7581d07eb99305
Gecko: b9dba13d50a9
Version: 28.1
Firmware Version: Sp6821a

Notes:
Repro frequency: 100%
See attached: Logcat
I was not able to repro on 1.3 Buri1.3 Environmental Variables:

Device: Buri 1.3 MOZ
BuildID: 20140409130909
Gaia: 9d0b1bdf746823a94b13e6574c1d8304dc584763
Gecko: 5a5ed08df529
Version: 31.0a1
Firmware Version: V1.2-device.cfg
Please disregard comment 1, wrong environmental variables were posted, here are the correct environmental variables

1.3 Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140408004002
Gaia: 0a7a50129995f080c1df4d807a2334701701e8ed
Gecko: e3fca8c23e1d
Version: 28.0
Firmware Version: V1.2-device.cfg
I'm at about 3 to 4 seconds delay for hearing.  This is after a reboot.
blocking-b2g: --- → 1.3T?
Keywords: perf
Attached file log.txt
I have updated the logcat with ril debug enabled.
Attachment #8404778 - Attachment is obsolete: true
Are we sure that latest PAC is installed here?  I'm not experiencing this delay.
aha, and then I rebooted.  I then experienced the delay.
Triage: 1.3T+ to make sure phone call experience is fine
ni? Sku / Wayne to take initial look
blocking-b2g: 1.3T? → 1.3T+
Flags: needinfo?(waychen)
Flags: needinfo?(sku)
1. enter phone call mode
04-10 10:42:22.937: V/AudioPolicyManagerBase(89): setPhoneState() state 2

2. set audio path to DEVICE_OUT_EARPIECE
04-10 10:42:22.947: V/AudioPolicyManagerBase(89): setOutputDevice() routing=1

But I didn't see audio hardware to configure audio driver. 
Need partner take look first.
Flags: needinfo?(waychen)
looks like performance issue per comment 8 adddress.

Hi James:
 Could you please have audio driver RD to check this issue first?
Thanks!!
Shawn
Flags: needinfo?(sku) → needinfo?(james.zhang)
seem like [POVB]
Whiteboard: [POVB]
Attached file Firewatch
Loop Sam.Hua

I think you have updated the modem and nvitem, it may cause mozilla incoming call issue.
You should check it and uplift new pac to FTP.
Flags: needinfo?(james.zhang) → needinfo?(sam.hua)
(In reply to Wayne Chen [:xwaynec] from comment #8)
> 1. enter phone call mode
> 04-10 10:42:22.937: V/AudioPolicyManagerBase(89): setPhoneState() state 2
> 
> 2. set audio path to DEVICE_OUT_EARPIECE
> 04-10 10:42:22.947: V/AudioPolicyManagerBase(89): setOutputDevice() routing=1
> 
> But I didn't see audio hardware to configure audio driver. 
> Need partner take look first.

Dafeng, you also should check it.
Flags: needinfo?(Dafeng.Xu)
Assignee: nobody → sam.hua
Priority: -- → P1
Whiteboard: [POVB] → [c=progress p= s= u=tarako] [POVB]
There is some bugs in cp, we just fix it yesterday, you can see it in spreadtrum bugzilla:
http://bugzilla.spreadtrum.com/bugzilla/show_bug.cgi?id=300702
Flags: needinfo?(Dafeng.Xu)
This issue is fixed on spreadtrum bugzilla, but mozilla should update modem.
Please set RESOLVED FIXED once updated PAC released to Mozilla for testing.
(In reply to Wesley Huang [:wesley_huang] from comment #16)
> Please set RESOLVED FIXED once updated PAC released to Mozilla for testing.

Please ask our PM to get PAC.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: needinfo?(sam.hua)
Following the STR from Comment 0, confirmed in the latest Tarako build that sound can be heard immediately after being connected.

Environmental Variables:
Device: Tarako 1.3T MOZ
BuildID: 20140428014001
Gaia: 8895b180ed636069473703d0e7b73086989601ce
Gecko: 7caf4b5abfce
Version: 28.1
Firmware Version: sp6821a_gonk4.0_user.pac
Target Milestone: --- → 1.4 S6 (25apr)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: