annotate compal/audio/volume-ctrl @ 392:35009c936a4a

compal/melody-extr: first attempt at actual melody extraction
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 01 Apr 2022 06:03:47 +0000
parents 82fb5a70c9fd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
378
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 It appears that the only way to bring up audio volume control (as opposed to
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 ringer volume) on a C139 phone running Mot official fw is to be in active call,
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 implying the need for a valid SIM, a GSM network, working service with that
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 SIM+network combination and a party one can test-call. When you do get into
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 the necessary active call state, navigation left and right buttons bring up the
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 audio volume control screen and move this volume up or down. However, instead
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 of seeing just 5 possible volume levels as would be available if Iota ABB
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 downlink volume controls were used in TI's simple way, we see 8 possible volume
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 levels being offered by Motorola's fw, numbered from 0 through 7. Level 0 is
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 not mute - downlink audio is still present in the earpiece speaker, albeit
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 quiet.
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 It appears that Compal did something similar to Foxconn/Pirelli, probably
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 manipulating both volume and PGA gain settings in Iota VBDCTRL in order to
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 offer more than 5 possible volume levels to the user. However, because Compal
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 firmwares don't have ETM and their oabbr TM3 command is broken (returns
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 garbage), we don't have a way to just read out the register settings for each
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 volume level. Furthermore, because the audio volume setting is so difficult to
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 get to (requiring not only a SIM, but also network registration and a call),
82fb5a70c9fd compal/audio: results of simple experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 doing a tfc139 break-in for each possible volume level would be too much work.