FreeCalypso > hg > fc-magnetite
annotate components/icn-tcs3 @ 660:293c7db5f10f
bmi3: fixed the mysterious "mute on first call" bug
When UI-enabled fw boots on a previously blank (no /mmi/* files) FFS
for the first time, the output_volume member of the persistent UI settings
structure was left uninitialized, corresponding to the earpiece volume
being set to mute, which is an invalid setting. Because of other quirks
in the far-from-finished UI code, this volume setting takes effect only
when the first call is answered, producing the odd behaviour seen at the
user level.
The current fix is to set the blank-FFS default for output_volume to
volume level 4, which is the same -6 dB Iota volume as the ACI default.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 May 2020 02:50:41 +0000 |
parents | ad7f986afae3 |
children |
rev | line source |
---|---|
431
b006702b48ca
components/icn-tcs3: recipe created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
1 # Building icn.lib from TCS3/LoCosto source |
124 | 2 |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 CPPFLAGS= | |
5 | |
6 # Defines | |
7 | |
8 CPPFLAGS=-DMMI_HOMEZONE_ENABLED | |
9 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
10 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
11 | |
12 if [ "$GPRS" = 1 ] | |
13 then | |
14 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" | |
15 fi | |
16 | |
17 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" | |
18 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" | |
19 | |
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
20 case "$UI_CONFIG" in |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
21 bigcolor) |
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
parents:
431
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" |
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
23 CPPFLAGS="$CPPFLAGS -DLSCREEN" |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
24 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
25 bigbw) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DLSCREEN" |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
27 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
28 84x48) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
29 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
30 *) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
31 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2 |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
32 exit 1 |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
33 esac |
124 | 34 |
35 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" | |
36 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" | |
37 CPPFLAGS="$CPPFLAGS -DTRGT_G23" | |
38 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" | |
39 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN" | |
40 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
41 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
42 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
43 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
44 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
45 CPPFLAGS="$CPPFLAGS -DALR" | |
46 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
47 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
48 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
49 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
50 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
51 CPPFLAGS="$CPPFLAGS -DUART" | |
52 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
53 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
54 | |
55 if [ "$GPRS" = 1 ] | |
56 then | |
57 CPPFLAGS="$CPPFLAGS -DGPRS" | |
58 fi | |
59 | |
60 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
61 CPPFLAGS="$CPPFLAGS -DMMI=2" | |
62 CPPFLAGS="$CPPFLAGS -DMFW" | |
63 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
64 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
65 | |
66 if [ "$SRVC" != 0 ] | |
67 then | |
68 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
69 if [ "$SRVC" = 1 ] | |
70 then | |
71 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
72 fi | |
73 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
74 fi | |
75 | |
76 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
77 CPPFLAGS="$CPPFLAGS -DNWARN" | |
482
ad7f986afae3
pass -DCHIPSET and -DBOARD for all TCS3.2 components
Mychaela Falconia <falcon@freecalypso.org>
parents:
452
diff
changeset
|
78 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" |
ad7f986afae3
pass -DCHIPSET and -DBOARD for all TCS3.2 components
Mychaela Falconia <falcon@freecalypso.org>
parents:
452
diff
changeset
|
79 CPPFLAGS="$CPPFLAGS -DBOARD=41" |
124 | 80 |
81 # Includes | |
82 | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
84 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
85 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
86 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
431
b006702b48ca
components/icn-tcs3: recipe created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/bmi" |
b006702b48ca
components/icn-tcs3: recipe created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw" |
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci" |
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd" |
124 | 91 CPPFLAGS="$CPPFLAGS -I.." |
92 CPPFLAGS="$CPPFLAGS -I../config" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
113 | |
114 # Source modules | |
115 | |
431
b006702b48ca
components/icn-tcs3: recipe created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
116 SRCDIR=$SRC/ui3/bmi/Icons |
124 | 117 |
118 cfile_str2ind $SRCDIR/IcnAniPhone.c | |
119 cfile_str2ind $SRCDIR/IcnBattery.c | |
120 cfile_str2ind $SRCDIR/IcnBgdSquares.c | |
121 cfile_str2ind $SRCDIR/IcnBgdTI.c | |
122 cfile_str2ind $SRCDIR/IcnCallBackGround.c | |
123 cfile_str2ind $SRCDIR/IcnCipher.c | |
124 cfile_str2ind $SRCDIR/IcnDefs.c | |
125 cfile_str2ind $SRCDIR/IcnForward.c | |
126 cfile_str2ind $SRCDIR/IcnGprs.c | |
127 cfile_str2ind $SRCDIR/IcnHomezone.c | |
128 cfile_str2ind $SRCDIR/IcnKeylock.c | |
129 cfile_str2ind $SRCDIR/IcnLogoTI.c | |
130 cfile_str2ind $SRCDIR/IcnMainApp.c | |
131 cfile_str2ind $SRCDIR/IcnMainDiv.c | |
132 cfile_str2ind $SRCDIR/IcnMainMsg.c | |
133 cfile_str2ind $SRCDIR/IcnMainPhb.c | |
134 cfile_str2ind $SRCDIR/IcnMainRcl.c | |
135 cfile_str2ind $SRCDIR/IcnMainSec.c | |
136 cfile_str2ind $SRCDIR/IcnMainSet.c | |
137 cfile_str2ind $SRCDIR/IcnMainStk.c | |
138 cfile_str2ind $SRCDIR/IcnMainWap.c | |
139 cfile_str2ind $SRCDIR/IcnMessage.c | |
140 cfile_str2ind $SRCDIR/IcnNetBouygues.c | |
141 cfile_str2ind $SRCDIR/IcnNetChinamobile.c | |
142 cfile_str2ind $SRCDIR/IcnNetFareast.c | |
143 cfile_str2ind $SRCDIR/IcnNetorange.c | |
144 cfile_str2ind $SRCDIR/IcnNetSFR.c | |
145 cfile_str2ind $SRCDIR/IcnNetsonofon.c | |
146 cfile_str2ind $SRCDIR/IcnNetTMobile.c | |
147 cfile_str2ind $SRCDIR/IcnNetVodafone.c | |
148 cfile_str2ind $SRCDIR/IcnNetVodafoneD2.c | |
149 cfile_str2ind $SRCDIR/IcnPopupBgd.c | |
150 cfile_str2ind $SRCDIR/IcnSignal.c | |
151 cfile_str2ind $SRCDIR/IcnVoicemail.c |