annotate pirelli/vibrator-ctrl @ 405:f7df0f4d7d4f

tfo/find-is-hdr.c: print found offset in hex
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Mar 2023 05:57:23 +0000
parents 844f884e0171
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
369
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 Pirelli fw behaviour on incoming calls: when the vibrating alert mode is
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 selected, the vibrator runs in pulses, each pulse appears to be 1 s in total
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 period, duty cycle too difficult to determine. If the alert mode is set to
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 vibe and ring, then these vibrator cycles run in parallel with the ringer on/off
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 cycles - the vibrator cycle is faster, and the two cycles appear to be
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 independent, as in not explicitly synchronized. If the alert mode is set to
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 vibe then ring, in that case only one vibration pulse is produced, followed by
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ringing only, with no more vibration.
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 Pirelli fw behaviour on incoming SMS: when the alert mode is vibrate only, then
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 a total of 4 vibration pulses are produced. If the alert mode is set to vibe
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 and ring, then only 3 vibration pulses are produced instead of 4, and this
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 vibration cycle coincides with SMS alert ringtone playing. If the alert mode
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 is set to vibe then ring, in that case only one vibration pulse is produced,
66a6cb976076 pirelli/vibrator-ctrl
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 followed by the SMS alert ringtone.
370
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
16
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
17 Pirelli's fw also has a user-accessible debug mode for the vibrator: *#2003#
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
18 puts the vibrator into the same state as for incoming calls, where it pulses
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
19 continuously until stopped with another *#2003# command. The 1 s pulsing feels
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
20 exactly the same whether it's an actual incoming call or *#2003# test mode.
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
21
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
22 At FreeCalypso HQ we have a decased Pirelli motherboard that has the LCD and
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
23 keypad still attached, but no other peripherals. Turning on *#2003# test mode
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
24 and putting an oscilloscope probe on an accessible test point in the vibrator
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
25 driving circuit has revealed the vibrator pulse sequence to be 500 ms on, 500 ms
844f884e0171 pirelli/vibrator-ctrl: additional observations
Mychaela Falconia <falcon@freecalypso.org>
parents: 369
diff changeset
26 off, endlessly repeating.