comparison pirelli/volume-ctrl @ 374:f59d2577df2d

pirelli/volume-ctrl: captured VBDCTRL for all levels in all modes
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Jul 2021 07:00:26 +0000
parents
children
comparison
equal deleted inserted replaced
373:754be25cd6a0 374:f59d2577df2d
1 Pirelli's fw offers 10 audio output volume levels selectable via volume up/down
2 keys. Cycling through these volume levels on the idle screen and reading out
3 Iota VBDCTRL register (fc-tmsh abbr 0 6) at each level yields the following
4 table:
5
6 Volume level VBDCTRL Vol PGA Total
7 -----------------------------------------------------
8 1 047 -18 +1 -17
9 2 04A -18 +4 -14
10 3 006 -12 0 -12
11 4 008 -12 +2 -10
12 5 00A -12 +4 -8
13 6 067 -6 +1 -5
14 7 06A -6 +4 -2
15 8 026 0 0 0
16 9 028 0 +2 +2
17 10 02A 0 +4 +4
18
19 In an active call in handheld (earpiece output) mode, the above relation of
20 selectable volume level to VBDCTRL remains the same. However, when the
21 loudspeaker is turned on in a call, the mapping changes to the following:
22
23 Volume level VBDCTRL Vol PGA Total
24 -----------------------------------------------------
25 1 046 -18 0 -18
26 2 049 -18 +3 -15
27 3 005 -12 -1 -13
28 4 007 -12 +1 -11
29 5 009 -12 +3 -9
30 6 066 -6 0 -6
31 7 069 -6 +3 -3
32 8 025 0 -1 -1
33 9 027 0 +1 +1
34 10 029 0 +3 +3
35
36 Plugging in Pirelli's wired headset and cycling through volume levels on the
37 idle screen, we get this:
38
39 Volume level VBDCTRL Vol PGA Total
40 -----------------------------------------------------
41 1 045 -18 -1 -19
42 2 048 -18 +2 -16
43 3 004 -12 -2 -14
44 4 006 -12 0 -12
45 5 008 -12 +2 -10
46 6 065 -6 -1 -7
47 7 068 -6 +2 -4
48 8 024 0 -2 -2
49 9 026 0 0 0
50 10 028 0 +2 +2
51
52 In-call state in headset mode follows the same mapping as headset mode idle
53 screen. If the user turns on the loudspeaker while in a call with the headset
54 inserted, the volume table becomes that of the loudspeaker mode, not the
55 headset mode.