Closed Bug 1021298 Opened 10 years ago Closed 6 years ago

[B2G][Tarako][Audio Channel]Volume heard via Headphones is significantly quieter for same audio heard via Speaker on device

Categories

(Firefox OS Graveyard :: Hardware, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3T affected, b2g-v1.4 affected, b2g-v2.0 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v1.3T --- affected
b2g-v1.4 --- affected
b2g-v2.0 --- affected

People

(Reporter: mclemmons, Assigned: xinhe.yan)

Details

(Whiteboard: [tarako-exploratory][2.0-flame-test-run-2])

Attachments

(2 files)

Attached file Firewatch Audio Log
User taps FM Radio App and selects audio to play. With standard headphones (ear buds) the volume is significantly lower than the same audio being played and heard via speaker with the same number of bars when adjusted by the volume rocker.

Prerequisites:
1. Have headphones that use ear buds and install jack into device slot.

Repro Steps:
1) Update a Tarako to BuildID: 20140604014021
2) Tap FM Radio
3) Select a valid station to play
4) Observe device behavior

Actual:
For FM Radio, playing station 88.5, six bars can be heard reasonably yet softly with headphones. With speakers enabled, six bars is quite loud.

Expected:
Speaker volume and headphone volume are closer to a 1:1 ratio in terms of volume.

Notes:
Repro frequency: (5/5, 100%)

See attached: logcat, firewatch
No video provided because comparison involves using headphones and cannot be captured reasonably.

1.3T Environmental Variables:
Device: Tarako 1.3T
BuildID: 20140604014021
Gaia: 41a763154fbac34bef6baf17a201e50f52f2b72a
Gecko: fed0b4e6da6c
Version: 28.1
Firmware Version: sp6821a-gonk-4.0-5-12
User Agent: Mozilla/5.0 (Mobile; rv:28.1) Gecko/28.1 Firefox/28.1
Cannot test on 1.3 Buri due to being blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=947720
This issue reproduces on Flame 1.4 following STR from Comment 0. Volume from headphones is different than volume from speaker at the same bar level, with headphones being harder to hear.

1.4F Environmental Variables:
Device: Flame 1.4F
BuildID: 20140604000202
Gaia: 0c16adced7c51f795ef250aebe184f60b6a9b987
Gecko: 04216748e6c1
Version: 30.0
Firmware Version: v10G-2
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

This issue reproduces on Flame Base Build v10G-2 following STR from Comment 0. Volume from headphones is harder to hear at lower bar levels than at the same level listening via speaker.

Flame Base v10G-2

1.3 Environmental Variables:
Device: Flame 1.3
BuildID: 20140520094859
Gaia: a73235d23685e9898f40647cebd83b3fcbfd0117
Gecko: Unknown
Version: 28.0
Firmware Version: v10G-2
User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Whiteboard: [tarako-exploratory] → [tarako-exploratory][2.0-flame-test-run-2]
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]
Hi, James

Can you help to check the gain value of headset/headphone and speaker in tarako device? 
Thanks
Flags: needinfo?(james.zhang)
(In reply to Montoya Clemmons (MClemmons) from comment #2)
> This issue reproduces on Flame 1.4 following STR from Comment 0. Volume from
> headphones is different than volume from speaker at the same bar level, with
> headphones being harder to hear.
> 

Hi, Montoya 

I flashed the latest SW on the flame device and checked the STR of comment 0. The volume of headphone and speaker is not big difference for me. If you can provide the precise dB value for speaker and headphone, it is very useful to us.


Hi, Francis

If there is a big difference for volume on flame device, we have to tune the gain value for the headphone and speaker hardware. The jobs need flame's ODM partner to help to do it. Could you help to provide the owner to take this issue?
Thanks
Flags: needinfo?(mclemmons)
Flags: needinfo?(frlee)
hi Star,

i noticed that base image V10G-2 was used.
do you mind to try with base image V123 first and see if same issue can be reproduced?
base image V123.zip: http://1drv.ms/1rCB954
Flags: needinfo?(frlee)
Loop Xinhe.
Assignee: nobody → xinhe.yan
Flags: needinfo?(james.zhang) → needinfo?(xinhe.yan)
(In reply to Star Cheng [:scheng] from comment #4)
> Hi, James
> 
> Can you help to check the gain value of headset/headphone and speaker in
> tarako device? 
> Thanks
I checked the gain of tarako.
Input 'adb shell tinymix', you can get this.

Number of controls: 31
ctl type num name                                     value
0 INT 2 Master Playback Volume                   12 12
1 INT 2 Line Playback Volume                     12 12
2 INT 1 Capture Volume                           12
3 INT 1 Mic Boost Volume                         1
4 INT 1 Ear Boost Volume                         1
5 INT 2 HeadPhone Playback Volume                21 21
6 BOOL 1 Speaker Function                         Off
7 BOOL 1 Earpiece Function                        Off
8 BOOL 1 HeadPhone Function                       Off
9 BOOL 1 Line Function                            Off
10 BOOL 1 Mic Function                             Off
11 BOOL 1 HP Mic Function                          Off
12 BOOL 1 Linein Rec Function                      Off
13 BOOL 1 Mic Bias Function                        Off
14 INT 1 Inter PA Playback Volume                 12
15 INT 1 LineinRec Capture Volume                 0
16 BOOL 1 Speaker Mute                             Off
17 BOOL 1 Earpiece Mute                            Off
18 BOOL 1 HeadPhone Mute                           Off
19 ENUM 1 VBC Switch                               arm
20 BOOL 1 VBC EQ Switch                            On
21 ENUM 1 VBC EQ Update                            idle
22 INT 1 VBC DACL DG Set                          0
23 INT 1 VBC DACR DG Set                          0
24 INT 1 VBC ADCL DG Set                          24
25 INT 1 VBC ADCR DG Set                          24
26 BOOL 1 VBC DACL DG Switch                       Off
27 BOOL 1 VBC DACR DG Switch                       Off
28 BOOL 1 VBC ADCL DG Switch                       Off
29 BOOL 1 VBC ADCR DG Switch                       Off
30 INT 1 VBC EQ Profile Select                    0

'Master Playback Volume' is 12.The range is 12.  This is for speaker.
'HeadPhone Playback Volume' is 21.The range is 31.
You can input "adb shell tinymix 5 30". The headphone volume will increase.

The value came from NV. Every time change output device,the value will be rewrite. So you need input "adb shell tinymix 5 30" again after change FM to speaker.

The value is measured by our audio hardware engineer. After hardware engineer give the audio parameters, we will stored in NV.
Different speaker/PA, the value is different.

This is problem between sprd and ODM. ODM will change NV base on their specific device.
If they change speaker, the value will be update.

For tarako, I guess the PA had been changed and the NV did not update.

Anyway,this is a audio hardware bug. Leave it to sprd.
If you think volume is low with headphone, increase stream volume when plugin headphone.
Flags: needinfo?(xinhe.yan)
(In reply to Xinhe Yan from comment #8)
> 
> This is problem between sprd and ODM. ODM will change NV base on their
> specific device.


According comment 8, I change the component as hardware.
Component: AudioChannel → Hardware
(In reply to Star Cheng [:scheng] from comment #5)
> (In reply to Montoya Clemmons (MClemmons) from comment #2)
> > This issue reproduces on Flame 1.4 following STR from Comment 0. Volume from
> > headphones is different than volume from speaker at the same bar level, with
> > headphones being harder to hear.
> > 
> 
> Hi, Montoya 
> 
> I flashed the latest SW on the flame device and checked the STR of comment
> 0. The volume of headphone and speaker is not big difference for me. If you
> can provide the precise dB value for speaker and headphone, it is very
> useful to us.
> 
> 
> Hi, Francis
> 
> If there is a big difference for volume on flame device, we have to tune the
> gain value for the headphone and speaker hardware. The jobs need flame's ODM
> partner to help to do it. Could you help to provide the owner to take this
> issue?
> Thanks

Hi Star, 

I was out of the office since your request thus the reason for not a sooner response. My apologies. I've communicated with my Lead here and was unable to find a device onsite to capture the specific details you requested. Please advise if you are aware of an online app or alternative suggestion that we could do to help in your efforts. Thank you.
QA Whiteboard: [QAnalyst-Triage+][lead-review+] → [QAnalyst-Triage?][lead-review+]
Flags: needinfo?(scheng)
Flags: needinfo?(ktucker)
Flags: needinfo?(mclemmons)
QA Whiteboard: [QAnalyst-Triage?][lead-review+] → [QAnalyst-Triage+][lead-review+]
Flags: needinfo?(ktucker)
Flags: needinfo?(scheng)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: