Project

General

Profile

EC25 » History » Version 31

laforge, 12/26/2016 06:21 PM

1 4 laforge
{{>toc}}
2
3 24 laforge
h1. Quectel EC25
4
5
The Quectel EC25 is a LTE Modem Module manufactured by the Chinese Company Quectel.  It is available as solder-type version but also as miniPCIe card.
6
7 25 laforge
It is based around the Qualcomm MSM 9x70 and runs an [[Qualcomm_OE_MSM|OE based Linux distribution]] on its internal Cortex-A5 core.  This Linux on Cortex-A5 is what implements the USB device that you see from the host PC!
8 1 laforge
9 3 laforge
Below testing has been made on an EC25-E Revision: EC25EFAR02A03M4G (according to ATI0 and the label on the device)
10
11 2 laforge
h2. serial console
12
13
In the EC25-E miniPCI that was analyzed, the serial console of bootloader and Linux appears to be active on pins 11+12 of the LGA module (DBG_RXD, DBG_TXD). The console is at 1.8V and at 115200bps.
14
15 23 laforge
You can use something like [[mv-uart:|the Osmocom Multi-Voltage UART]] to interface an UART at 1.8V.
16
17 29 laforge
h3. Linux
18
19
this is the UART from the Linux point-of-view:
20
<pre>
21
[    0.343979] msm_serial_hsl_probe: detected port #0 (ttyHSL0)
22
[    0.344034] msm_serial_hsl_probe: Bus scaling is disabled
23
[    0.344162] 78b3000.serial: ttyHSL0 at MMIO 0x78b3000 (irq = 153, base_baud = 460800) is a MSM
24
</pre>
25
26
The boot command line arguments feature @console=ttyHSL0,115200,n8 earlycon=msm_hsl_uart,0x78b3000@
27 30 laforge
28 29 laforge
h3. Not enabled?
29
30
It seems like not all modules have the serial console enabled.  It is yet TBD to figure out what can be done to enable/disable it.
31
32
In terms of pinctrl, an EC25 with enabled serial console shows the following from @/sys/kernel/debug/pinctrl/pinctrl-handles@:
33
<pre>
34
device: 78b3000.serial current state: default
35
  state: default
36
    type: MUX_GROUP controller 1000000.pinctrl group: gpio8 (8) function: blsp_uart5 (16)
37
    type: MUX_GROUP controller 1000000.pinctrl group: gpio9 (9) function: blsp_uart5 (16)
38
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio8 (8) 00010004 00020009
39
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio9 (9) 00010004 00020009
40
</pre>
41
42 21 laforge
h2. enabling adb
43
44
h3. via serial console
45
46
access the serial console of the device and enter the following commands
47
48
<pre>
49
echo 0 > /sys/class/android_usb/android0/enable                       
50
echo adb,diag,serial,rmnet > /sys/class/android_usb/android0/functions
51
echo 1 > /sys/class/android_usb/android0/enable
52
</pre>
53
54
at this point the usb device re-enumerates on the PC and has now 6 instead of 5 interfaces, in the following order:
55
56
|_.Interface|_.Type|_.Driver|_.Purpose|
57
|0|adb|-|adbd on USB host|
58
|1|diag|-|diag software on host|
59
|2|serial|qcserial|GPS|
60
|3|serial|qcserial|AT commands|
61
|4|serial|qcserial|AT commands|
62
|5|rmnet|qmi_wwan|libqmi/qmicli|
63
64
See [[Android_USB_Gadget]] for more information on configuration options of the USB gadget.
65
66 22 laforge
*NOTE: If you use stock Linux, the drivers will have fixed assumptions as to which interface is used by what function! You need to patch your kernel to change that assumption, or ensure that the order of interfaces / interface numbers doesn't change*
67
68 5 laforge
h2. processes
69
70
h3. quectel_daemon
71
72
seems to be primarily concerned with voice routing / alsa codec related bits, including playback of ringtones
73
74
h3. atfwd_daemon
75
76 18 laforge
implements Quectel specific extensions to the AT command interpreter (ATCOP) using the QMI framework to register them in the modem processor. See [[AT Commands]].
77 5 laforge
78
h3. Quec_WIFI_CLI
79
80
h3. /usr/bin/time_daemon
81
82 17 laforge
* get time from modem via qmi
83
* get time from RTC
84
85 20 laforge
<pre>
86
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 0
87
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: ats_rtc_init: Time read from RTC -- year = 70, month = 0,day = 1
88
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Value read from RTC seconds = 700000
89
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_init_config: ATS_RTC initialized
90
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 1
91
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_1 
92
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_1
93
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
94
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 2
95
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_2 
96
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_2
97
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
98
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
99
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
100
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 3
101
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_3 
102
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_3
103
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
104
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
105
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
106
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 4
107
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_4 
108
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_4
109
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
110
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
111
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
112
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 5
113
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_5 
114
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_5
115
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
116
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
117
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
118
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 6
119
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_6 
120
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_6
121
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
122
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
123
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
124
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 7
125
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_7 
126
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_7
127
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
128
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
129
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
130
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 8
131
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_8 
132
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_8
133
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
134
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
135
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
136
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 9
137
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_9 
138
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_9
139
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
140
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
141
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
142
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 10
143
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_10 
144
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_10
145
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
146
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
147
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
148
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_pre_init::Base = 11
149
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  Storage Name: ats_11 
150
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_11
151
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff Read operation 
152
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Unable to open filefor read
153
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_post_init:Error in accessing storage
154
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_init_config: Other bases initilized, exiting genoff_init
155
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_opr: Base = 1, val = 198101071560715, operation = 1
156
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff get for 1
157
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: rtc_get: Time read from RTC -- year = 70, month = 0,day = 1
158
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Value read from RTC seconds = 700000
159
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Value read from RTC seconds = 700000
160
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Final Time = 315965500246
161
Jan  1 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_boot_tod_init: Updating system time to sec=315965500, usec=246000
162
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_modem_qmi_init: Initiallizing QMI 
163
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_modem_qmi_init: qmi_client_get_service_list returned 0num_services 1
164
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_modem_qmi_init: Sending initial transaction to read time
165
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Daemon:genoff_modem_qmi_init:Time received 315965500233
166
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_opr: Base = 1, val = 315965500233, operation = 0
167
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: rtc_get: Time read from RTC -- year = 70, month = 0,day = 1
168
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Value read from RTC seconds = 701000
169
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: new time 315965500233 
170
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: delta 315964799233 genoff 315964799233 
171
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_persistent_update: Writing genoff = 315964799233 to memory
172
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Opening File: /data/time/ats_1
173
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: time_persistent_memory_opr:Genoff write operation 
174
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: Daemon:genoff_modem_qmi_init: offset 1 updated
175
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_modem_qmi_init: Updating system time to sec=315965500, usec=233000
176
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]: genoff_modem_qmi_init: Local Genoff update for base = 1 , rc = 0
177
Jan  6 00:11:40 mdm9607-perf user.err time_daemon_mdm:[1081]:  starting with pid (1081)
178
Jan  6 00:11:45 mdm9607-perf authpriv.notice login[1080]: ROOT LOGIN  on '/dev/ttyHSL0'
179
Jan  6 03:26:20 mdm9607-perf user.info quectel_daemon: [Max][CodeFlag] rc = 0
180
</pre>
181
182 5 laforge
h3. /usr/bin/mbimd
183
184
h3. /usr/bin/pdc_daemon
185
186
h3. /usr/bin/diagrebootapp
187
188 9 laforge
an application registering a DIAG command with /dev/diag.  Once that diag command is received, it will write to @/dev/rebooterdev@ which will be picked up by reboot-daemon to actually do the reboot. Weird architecture.
189 5 laforge
190
h3. /sbin/reboot-daemon
191
192 8 laforge
strange minimalistic daemon that does a blocking read on @/dev/rebooterdev@ and issues a system("reboot") as soon as the read returns.
193 7 laforge
194 5 laforge
h3. wlan_services
195
196
h3. /usr/bin/qmi_ip_multiclient
197
198
h3. eMBMs_TunnelingModule
199
200
something related to eMBMS (evolved=LTE Multicast)
201
202
h3. alsaucm_test
203
204
h3. /usr/bin/quectel-remotefs-service
205
206 15 laforge
* uses /dev/smd8
207
208
209 5 laforge
h3. /usr/bin/quectel_psm_aware
210
211
h3. /usr/bin/quectel_monitor_daemon
212
213 14 laforge
* reads from  /sys/devices/4080000.qcom,mss/subsys1/quec_state
214
215
216 5 laforge
h3. /usr/bin/quectel-gps-handle
217
218 13 laforge
* uses /dev/ttyGS0 to print NMEA to host
219
* uses /dev/smd7 to communicate with  BB
220
221
222 5 laforge
h3. /usr/bin/qmi_shutdown_modem
223
224 10 laforge
something low power mode related, uses @qmi_simple_ril_test@ and data in /tmp/qmi-shutdown-modem/
225
226 5 laforge
h3. /usr/bin/netmgrd
227
228
h3. /usr/bin/thermal-engine
229
230 6 laforge
some kind of thermal management for the MSM SoC
231
232 19 laforge
<pre>
233
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Thermal daemon started
234
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: No target config file, falling back to '/etc/thermal-engine.conf'
235
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: devices_manager_init: Init
236
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Unable to open /sys/class/kgsl
237
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Number of gpus :0
238
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Number of cpus :1
239
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: update_cpu_topology: Cluster info node not found/sys/module/msm_thermal/cluster_info
240
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: tmd_init_cluster_devs: No clusters found
241
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: vdd_rstr_init: Init KTM VDD RSTR enabled: 0
242
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: cpr_band_init: Could not read /sys/module/msm_thermal/cpr_band/curr_cpr_band
243
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sensors_manager_init: Init
244
Jan  1 00:11:36 mdm9607-perf user.err thermal-engine: bcl_setup: Unexpected node error
245
Jan  1 00:11:36 mdm9607-perf user.err thermal-engine: add_tgt_sensors_set: Error adding bcl
246
Jan  1 00:11:36 mdm9607-perf user.err thermal-engine: sensors_init: Error adding BCL TS
247
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Loading configuration file /etc/thermal-engine.conf
248
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: Parsing section global
249
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [PEAK_POWER_MONITOR]
250
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
251
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor2
252
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 110000
253
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 105000
254
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions cpu
255
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 400000
256
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [MODEM_MONITOR]
257
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
258
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor2
259
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 100000
260
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 95000
261
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions modem
262
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 2
263
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [PA_MONITOR]
264
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
265
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor2
266
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 95000
267
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 90000
268
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions modem
269
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
270
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [CX_MODEM_MONITOR]
271
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
272
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor2
273
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 110000 112000 115000
274
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 105000 110000 112000
275
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions modem_cx modem_cx modem_cx
276
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1 2 3
277
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [VDD_RSTR_MONITOR-TSENS4]
278
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
279
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor4
280
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 5000
281
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 10000
282
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions vdd_restriction
283
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
284
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: descending
285
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [VDD_RSTR_MONITOR-TSENS3]
286
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
287
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor3
288
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 5000
289
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 10000
290
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions vdd_restriction
291
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
292
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: descending
293
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [VDD_RSTR_MONITOR-TSENS2]
294
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
295
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor2
296
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 5000
297
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 10000
298
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions vdd_restriction
299
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
300
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: descending
301
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [VDD_RSTR_MONITOR-TSENS1]
302
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
303
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor1
304
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 5000
305
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 10000
306
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions vdd_restriction
307
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
308
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: descending
309
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [VDD_RSTR_MONITOR-TSENS0]
310
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type monitor
311
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 1000 sensor tsens_tz_sensor0
312
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds 5000
313
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: thresholds_clr 10000
314
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: actions vdd_restriction
315
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: action_info 1
316
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: descending
317
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: [SS-CPU]
318
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: #algo_type ss
319
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: sampling 65 sensor cpu0 device cpu
320
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: set_point 95000 set_point_clr 90000 time_constant 0
321
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: vdd_restrict_qmi_request: MODEM req level(0) is recorded and waiting for completing QMI registration
322
Jan  1 00:11:36 mdm9607-perf user.info thermal-engine: vdd_restrict_qmi_request: ADSP req level(0) is recorded and waiting for completing QMI registration
323
Jan  1 00:11:37 mdm9607-perf user.info quectel_daemon: [Max][CodeFlag] rc = 0
324
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: MODEM thermal mitigation available.
325
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: ACTION: MODEM - Pending request: pa mitigation succeeded for level 0.
326
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: Mitigation:Modem:0
327
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: ACTION: MODEM - Pending request: cpuv_restriction_cold mitigation succeeded for level 0.
328
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: Mitigation:VDD[MODEM-cpuv_restriction_cold]:0
329
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: ACTION: MODEM - Pending request: cx_vdd_limit mitigation succeeded for level 0.
330
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: Mitigation:VDD[MODEM-cx_vdd_limit]:0
331
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: ACTION: MODEM - Pending request: modem mitigation succeeded for level 0.
332
Jan  1 00:11:37 mdm9607-perf user.info thermal-engine: Mitigation:VDD[MODEM-modem]:0
333
</pre>
334
335 5 laforge
h3. /usr/bin/qmuxd
336
337
h3. /usr/bin/quectel_pcm_daemon
338
339
related to alsa soc (asoc) codec configuration, uses /etc/auxpcm.conf
340
341
h3. /usr/bin/qti
342
343 16 laforge
rmnet/tethering related
344
* /dev/dpl_ctrl 
345
* /dev/rmnet_ctrl
346
347
348 5 laforge
h3. QCMAP_ConnectionManager
349
350 11 laforge
related to WLAN/WWAN back-haul switching
351
352 12 laforge
h3. QCMAP_CLI
353
354
Program to configure QCMAP. Cnfiguration can also be done via web?
355
356
<pre>
357
Please select an option to test from the items listed below.
358
359
 1. Display Current Config         49. Get UPnP Status                
360
 2. Delete SNAT Entry              50. Get DLNA Status                
361
 3. Add SNAT Entry                 51. Get MDNS Status                
362
 4. Get SNAT Config                52. Get Station Mode Status        
363
 5. Set Roaming                    53. Set DLNA Media Directory       
364
 6. Get Roaming                    54. Get DLNA Media Directory       
365
 7. Delete DMZ IP                  55. Set MobileAP/WLAN Bootup Config
366
 8. Add DMZ IP                     56. Get MobileAP/WLAN Bootup Config
367
 9. Get DMZ IP                     57. Enable/Disable IPV4            
368
10. Set IPSEC VPN Passthrough      58. Get IPv4 State                 
369
11. Get IPSEC VPN Passthrough      59. Get Data Bitrate               
370
12. Set PPTP VPN Passthrough       60. Set UPnP Notify Interval       
371
13. Get PPTP VPN Passthrough       61. Get UPnP Notify Interval       
372
14. Set L2TP VPN Passthrough       62. Set DLNA Notify Interval       
373
15. Get L2TP VPN Passthrough       63. Get DLNA Notify Interval       
374
16. Set Autoconnect Config         64. Add DHCP Reservation Record    
375
17. Get Autoconnect Config         65. Get DHCP Reservation Records   
376
18. Get WAN status                 66. Edit DHCP Reservation Record   
377
19. Add Firewall Entry             67. Delete DHCP Reservation Record 
378
20. Enable/Disable M-DNS           68. Activate Hostapd Config        
379
21. Enable/Disable UPnP            69. Activate Supplicant Config     
380
22. Enable/Disable DLNA            70. Get Webserver WWAN access flag 
381
23. Display Firewalls              71. Set Webserver WWAN access flag 
382
24. Delete Firewall Entry          72. Enable/Disable ALG             
383
25. Get WWAN Statistics            73. Set SIP server info            
384
26. Reset WWAN Statistics          74. Get SIP server info            
385
27. Get Network Configuration      75. Restore Factory Default Settings(** Will Reboot Device )
386
28. Get NAT Type                   76. Get Connected Device info      
387
29. Set NAT Type                   77. Get Cradle Mode                
388
30. Enable/Disable Mobile AP       78. Set Cradle Mode                
389
31. Enable/Disable WLAN            79. Get Prefix Delegation Config   
390
32. Connect/Disconnect Backhaul    80. Set Prefix Delegation Config   
391
33. Get Mobile AP status           81. Get Prefix Delegation Status   
392
34. Set NAT Timeout                82. Set/Get Gateway URL            
393
35. Get NAT Timeout                83. Enable/Disable DDNS            
394
36. Set WLAN Config                84. Set DDNS Config                
395
37. Get WLAN Config                85. Get DDNS Config                
396
38. Activate WLAN                  86. Enable/Disable TinyProxy       
397
39. Set  LAN Config                87. Get TinyProxy Status           
398
40. Get  LAN Config                88. Set DLNAWhitelisting           
399
41. Activate  LAN                  89. Get DLNAWhitelisting           
400
42. Get WLAN Status                90. Add DLNAWhitelistingIP         
401
43. Enable/Disable IPV6            91. Delete DLNAWhitelistingIP      
402
44. Set Firewall Config            92. Set UPNPPinhole State          
403
45. Get Firewall Config            93. Get UPNPPinhole State          
404
46. Get IPv6 State                 94. Configure Active Backhaul Priority
405
47. Get WWAN Profile               95. Get Backhaul Priority          
406
48. Set WWAN Profile               96. Teardown/Disable and Exit      
407
</pre>
408
409 5 laforge
h3. ipacmdiag
410
411
related to https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr/ ?
412 31 laforge
413 5 laforge
h3. ipacm_perf
414
415
related to https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr/ ?
416
417
h3. psmd
418
419 26 laforge
* /dev/socket/psm
420
* /data/psm_aware_urc
421
* /data/psm/psm_log.txt
422
* /dev/subsys_modem
423
* MSM_IPC sockets
424 5 laforge
425
h3. /sbin/adbd
426
427
android debug bridge.
428
429
h2. misc outputs
430
431
h3. lsusb output
432 1 laforge
433
<pre>
434
Bus 001 Device 058: ID 2c7c:0125··
435
Device Descriptor:
436
  bLength                18
437
  bDescriptorType         1
438
  bcdUSB               2.00
439
  bDeviceClass            0 (Defined at Interface level)
440
  bDeviceSubClass         0·
441
  bDeviceProtocol         0·
442
  bMaxPacketSize0        64
443
  idVendor           0x2c7c·
444
  idProduct          0x0125·
445
  bcdDevice            3.18
446
  iManufacturer           1 Android
447
  iProduct                2 Android
448
  iSerial                 0·
449
  bNumConfigurations      1
450
  Configuration Descriptor:
451
    bLength                 9
452
    bDescriptorType         2
453
    wTotalLength          209
454
    bNumInterfaces          5
455
    bConfigurationValue     1
456
    iConfiguration          0·
457
    bmAttributes         0xa0
458
      (Bus Powered)
459
      Remote Wakeup
460
    MaxPower              500mA
461
    Interface Descriptor:
462
      bLength                 9
463
      bDescriptorType         4
464
      bInterfaceNumber        0
465
      bAlternateSetting       0
466
      bNumEndpoints           2
467
      bInterfaceClass       255 Vendor Specific Class
468
      bInterfaceSubClass    255 Vendor Specific Subclass
469
      bInterfaceProtocol    255 Vendor Specific Protocol
470
      iInterface              0·
471
      Endpoint Descriptor:
472
        bLength                 7
473
        bDescriptorType         5
474
        bEndpointAddress     0x81  EP 1 IN
475
        bmAttributes            2
476
          Transfer Type            Bulk
477
          Synch Type               None
478
          Usage Type               Data
479
        wMaxPacketSize     0x0200  1x 512 bytes
480
        bInterval               0
481
      Endpoint Descriptor:
482
        bLength                 7
483
        bDescriptorType         5
484
        bEndpointAddress     0x01  EP 1 OUT
485
        bmAttributes            2
486
          Transfer Type            Bulk
487
          Synch Type               None
488
          Usage Type               Data
489
        wMaxPacketSize     0x0200  1x 512 bytes
490
        bInterval               0
491
    Interface Descriptor:
492
      bLength                 9
493
      bDescriptorType         4
494
      bInterfaceNumber        1
495
      bAlternateSetting       0
496
      bNumEndpoints           3
497
      bInterfaceClass       255 Vendor Specific Class
498
      bInterfaceSubClass      0·
499
      bInterfaceProtocol      0·
500
      iInterface              0·
501
      ** UNRECOGNIZED:  05 24 00 10 01
502
      ** UNRECOGNIZED:  05 24 01 00 00
503
      ** UNRECOGNIZED:  04 24 02 02
504
      ** UNRECOGNIZED:  05 24 06 00 00
505
      Endpoint Descriptor:
506
        bLength                 7
507
        bDescriptorType         5
508
        bEndpointAddress     0x83  EP 3 IN
509
        bmAttributes            3
510
          Transfer Type            Interrupt
511
          Synch Type               None
512
          Usage Type               Data
513
        wMaxPacketSize     0x000a  1x 10 bytes
514
        bInterval               9
515
      Endpoint Descriptor:
516
        bLength                 7
517
        bDescriptorType         5
518
        bEndpointAddress     0x82  EP 2 IN
519
        bmAttributes            2
520
          Transfer Type            Bulk
521
          Synch Type               None
522
          Usage Type               Data
523
        wMaxPacketSize     0x0200  1x 512 bytes
524
        bInterval               0
525
      Endpoint Descriptor:
526
        bLength                 7
527
        bDescriptorType         5
528
        bEndpointAddress     0x02  EP 2 OUT
529
        bmAttributes            2
530
          Transfer Type            Bulk
531
          Synch Type               None
532
          Usage Type               Data
533
        wMaxPacketSize     0x0200  1x 512 bytes
534
        bInterval               0
535
    Interface Descriptor:
536
      bLength                 9
537
      bDescriptorType         4
538
      bInterfaceNumber        2
539
      bAlternateSetting       0
540
      bNumEndpoints           3
541
      bInterfaceClass       255 Vendor Specific Class
542
      bInterfaceSubClass      0·
543
      bInterfaceProtocol      0·
544
      iInterface              0·
545
      ** UNRECOGNIZED:  05 24 00 10 01
546
      ** UNRECOGNIZED:  05 24 01 00 00
547
      ** UNRECOGNIZED:  04 24 02 02
548
      ** UNRECOGNIZED:  05 24 06 00 00
549
      Endpoint Descriptor:
550
        bLength                 7
551
        bDescriptorType         5
552
        bEndpointAddress     0x85  EP 5 IN
553
        bmAttributes            3
554
          Transfer Type            Interrupt
555
          Synch Type               None
556
          Usage Type               Data
557
        wMaxPacketSize     0x000a  1x 10 bytes
558
        bInterval               9
559
      Endpoint Descriptor:
560
        bLength                 7
561
        bDescriptorType         5
562
        bEndpointAddress     0x84  EP 4 IN
563
        bmAttributes            2
564
          Transfer Type            Bulk
565
          Synch Type               None
566
          Usage Type               Data
567
        wMaxPacketSize     0x0200  1x 512 bytes
568
        bInterval               0
569
      Endpoint Descriptor:
570
        bLength                 7
571
        bDescriptorType         5
572
        bEndpointAddress     0x03  EP 3 OUT
573
        bmAttributes            2
574
          Transfer Type            Bulk
575
          Synch Type               None
576
          Usage Type               Data
577
        wMaxPacketSize     0x0200  1x 512 bytes
578
        bInterval               0
579
    Interface Descriptor:
580
      bLength                 9
581
      bDescriptorType         4
582
      bInterfaceNumber        3
583
      bAlternateSetting       0
584
      bNumEndpoints           3
585
      bInterfaceClass       255 Vendor Specific Class
586
      bInterfaceSubClass      0·
587
      bInterfaceProtocol      0·
588
      iInterface              0·
589
      ** UNRECOGNIZED:  05 24 00 10 01
590
      ** UNRECOGNIZED:  05 24 01 00 00
591
      ** UNRECOGNIZED:  04 24 02 02
592
      ** UNRECOGNIZED:  05 24 06 00 00
593
      Endpoint Descriptor:
594
        bLength                 7
595
        bDescriptorType         5
596
        bEndpointAddress     0x87  EP 7 IN
597
        bmAttributes            3
598
          Transfer Type            Interrupt
599
          Synch Type               None
600
          Usage Type               Data
601
        wMaxPacketSize     0x000a  1x 10 bytes
602
        bInterval               9
603
      Endpoint Descriptor:
604
        bLength                 7
605
        bDescriptorType         5
606
        bEndpointAddress     0x86  EP 6 IN
607
        bmAttributes            2
608
          Transfer Type            Bulk
609
          Synch Type               None
610
          Usage Type               Data
611
        wMaxPacketSize     0x0200  1x 512 bytes
612
        bInterval               0
613
      Endpoint Descriptor:
614
        bLength                 7
615
        bDescriptorType         5
616
        bEndpointAddress     0x04  EP 4 OUT
617
        bmAttributes            2
618
          Transfer Type            Bulk
619
          Synch Type               None
620
          Usage Type               Data
621
        wMaxPacketSize     0x0200  1x 512 bytes
622
        bInterval               0
623
    Interface Descriptor:
624
      bLength                 9
625
      bDescriptorType         4
626
      bInterfaceNumber        4
627
      bAlternateSetting       0
628
      bNumEndpoints           3
629
      bInterfaceClass       255 Vendor Specific Class
630
      bInterfaceSubClass    255 Vendor Specific Subclass
631
      bInterfaceProtocol    255 Vendor Specific Protocol
632
      iInterface              0·
633
      Endpoint Descriptor:
634
        bLength                 7
635
        bDescriptorType         5
636
        bEndpointAddress     0x89  EP 9 IN
637
        bmAttributes            3
638
          Transfer Type            Interrupt
639
          Synch Type               None
640
          Usage Type               Data
641
        wMaxPacketSize     0x0008  1x 8 bytes
642
        bInterval               9
643
      Endpoint Descriptor:
644
        bLength                 7
645
        bDescriptorType         5
646
        bEndpointAddress     0x88  EP 8 IN
647
        bmAttributes            2
648
          Transfer Type            Bulk
649
          Synch Type               None
650
          Usage Type               Data
651
        wMaxPacketSize     0x0200  1x 512 bytes
652
        bInterval               0
653
      Endpoint Descriptor:
654
        bLength                 7
655
        bDescriptorType         5
656
        bEndpointAddress     0x05  EP 5 OUT
657
        bmAttributes            2
658
          Transfer Type            Bulk
659
          Synch Type               None
660
          Usage Type               Data
661
        wMaxPacketSize     0x0200  1x 512 bytes
662
        bInterval               0
663
Device Qualifier (for other device speed):
664
  bLength                10
665
  bDescriptorType         6
666
  bcdUSB               2.00
667
  bDeviceClass            0 (Defined at Interface level)
668
  bDeviceSubClass         0·
669
  bDeviceProtocol         0·
670
  bMaxPacketSize0        64
671
  bNumConfigurations      1
672
Device Status:     0x0000
673
  (Bus Powered)
674 4 laforge
</pre>
675
676
h3. ps
677
678
<pre>
679
root@mdm9607-perf:/firmware/image# ps axuw
680
PID   USER     TIME   COMMAND
681
    1 root       0:06 init [5]
682
    2 root       0:00 [kthreadd]
683
    3 root       0:02 [ksoftirqd/0]
684
    4 root       0:04 [kworker/0:0]
685
    5 root       0:00 [kworker/0:0H]
686
    6 root       0:00 [kworker/u2:0]
687
    7 root       0:00 [rcu_preempt]
688
    8 root       0:00 [rcu_sched]
689
    9 root       0:00 [rcu_bh]
690
   10 root       0:00 [khelper]
691
   11 root       0:00 [netns]
692
   12 root       0:00 [perf]
693
   13 root       0:00 [msm_watchdog]
694
   14 root       0:00 [smd_channel_clo]
695
   15 root       0:00 [smsm_cb_wq]
696
   17 root       0:00 [deferwq]
697
   19 root       0:00 [irq/52-cpr]
698
   20 root       0:00 [mpm]
699
   29 root       0:00 [writeback]
700
   30 root       0:00 [crypto]
701
   31 root       0:00 [bioset]
702
   32 root       0:00 [kblockd]
703
   33 root       0:00 [system]
704
   34 root       0:00 [devfreq_wq]
705
   35 root       0:00 [cfg80211]
706
   36 root       0:00 [power_off_alarm]
707
   37 root       0:00 [kswapd0]
708
   38 root       0:00 [fsnotify_mark]
709
   46 root       0:00 [glink_ssr_wq]
710
   47 root       0:00 [apr_driver]
711
   48 root       0:00 [k_hsuart]
712
   49 root       0:00 [msm_serial_hs_0]
713
   50 root       0:00 [msm_serial_hs_0]
714
   51 root       0:00 [diag_real_time_]
715
   52 root       0:00 [diag_wq]
716
   53 root       0:00 [DIAG_USB_diag]
717
   54 root       0:00 [diag_cntl_wq]
718
   55 root       0:00 [diag_dci_wq]
719
   56 root       0:00 [DIAG_SMD_MODEM_]
720
   57 root       0:00 [DIAG_SMD_MODEM_]
721
   58 root       0:00 [DIAG_SMD_MODEM_]
722
   59 root       0:00 [DIAG_SMD_MODEM_]
723
   60 root       0:00 [DIAG_SMD_MODEM_]
724
   61 root       0:00 [DIAG_SMD_LPASS_]
725
   62 root       0:00 [DIAG_SMD_LPASS_]
726
   63 root       0:00 [DIAG_SMD_LPASS_]
727
   64 root       0:00 [DIAG_SMD_LPASS_]
728
   65 root       0:00 [DIAG_SMD_LPASS_]
729
   66 root       0:00 [DIAG_SMD_WCNSS_]
730
   67 root       0:00 [DIAG_SMD_WCNSS_]
731
   68 root       0:00 [DIAG_SMD_WCNSS_]
732
   69 root       0:00 [DIAG_SMD_WCNSS_]
733
   70 root       0:00 [DIAG_SMD_WCNSS_]
734
   71 root       0:00 [DIAG_SMD_SENSOR]
735
   72 root       0:00 [DIAG_SMD_SENSOR]
736
   73 root       0:00 [DIAG_SMD_SENSOR]
737
   74 root       0:00 [DIAG_SMD_SENSOR]
738
   75 root       0:00 [DIAG_SMD_SENSOR]
739
   76 root       0:00 [DIAG_SOCKMODEM_]
740
   77 root       0:00 [DIAG_SOCKMODEM_]
741
   78 root       0:00 [DIAG_SOCKMODEM_]
742
   79 root       0:00 [DIAG_SOCKMODEM_]
743
   80 root       0:00 [DIAG_SOCKMODEM_]
744
   81 root       0:00 [DIAG_SOCKLPASS_]
745
   82 root       0:00 [DIAG_SOCKLPASS_]
746
   83 root       0:00 [DIAG_SOCKLPASS_]
747
   84 root       0:00 [DIAG_SOCKLPASS_]
748
   85 root       0:00 [DIAG_SOCKLPASS_]
749
   86 root       0:00 [DIAG_SOCKWCNSS_]
750
   87 root       0:00 [DIAG_SOCKWCNSS_]
751
   88 root       0:00 [DIAG_SOCKWCNSS_]
752
   89 root       0:00 [DIAG_SOCKWCNSS_]
753
   90 root       0:00 [DIAG_SOCKWCNSS_]
754
   91 root       0:00 [DIAG_SOCKSENSOR]
755
   92 root       0:00 [DIAG_SOCKSENSOR]
756
   93 root       0:00 [DIAG_SOCKSENSOR]
757
   94 root       0:00 [DIAG_SOCKSENSOR]
758
   95 root       0:00 [DIAG_SOCKSENSOR]
759
   96 root       0:00 [DIAG_CNTL_SOCKE]
760
   97 root       0:00 [k_gserial]
761
   98 root       0:00 [k_ipa_usb]
762
   99 root       0:00 [uether]
763
  100 root       0:00 [k_gbridge]
764
  101 root       0:00 [therm_core:noti]
765
  102 root       0:00 [therm_core:noti]
766
  103 root       0:00 [therm_core:noti]
767
  104 root       0:00 [therm_core:noti]
768
  105 root       0:00 [therm_core:noti]
769
  106 root       0:00 [irq/216-tsens_i]
770
  107 root       0:00 [therm_core:noti]
771
  108 root       0:00 [therm_core:noti]
772
  109 root       0:00 [cfinteractive]
773
  110 root       0:00 [irq/170-7824900]
774
  111 root       0:00 [irq/155-mmc0]
775
  112 root       0:03 [irq/253-7864900]
776
  113 root       0:00 [irq/157-mmc1]
777
  114 root       0:00 [usb_bam_wq]
778
  115 root       0:00 [qsmd]
779
  116 root       0:00 [ipv6_addrconf]
780
  117 root       0:00 [msm_ipc_router]
781
  118 root       0:00 [irq/441-modem]
782
  119 root       0:00 [sysmon_wq]
783
  120 root       0:00 [qmi_svc_event_w]
784
  122 root       0:00 [bam_dmux_rx]
785
  123 root       0:00 [bam_dmux_tx]
786
  124 root       0:00 [ubi_bgt0d]
787
  125 root       0:00 [ubi_bgt1d]
788
  126 root       0:00 [k_bam_data]
789
  127 root       0:00 [f_mtp]
790
  129 root       0:00 [msm_thermal:fre]
791
  130 root       0:00 [msm_thermal:the]
792
  131 root       0:00 [ubifs_bgt0_0]
793
  132 root       0:00 [IPCRTR]
794
  133 root       0:00 [modem_IPCRTR]
795
  186 root       0:00 [ubifs_bgt0_1]
796
  195 root       0:00 /sbin/adbd
797
  216 root       0:00 psmd
798
  324 root       0:00 ipacm_perf
799
  333 root       0:00 ipacmdiag
800
  343 root       0:00 QCMAP_ConnectionManager /etc/mobileap_cfg.xml d
801
  347 root       0:00 /usr/bin/qti
802
  358 root       0:00 /sbin/tftp_server
803
  359 root       0:00 /sbin/fs-scrub-daemon
804
  377 root       0:00 /usr/bin/quectel_pcm_daemon
805
  397 root       0:00 [sh]
806
  435 root       0:00 /sbin/syslogd -n -C64
807
  444 root       0:00 [k_gsmd]
808
  445 root       0:00 [k_gbam]
809
  459 root       0:00 /usr/bin/qmuxd
810
  463 root       0:00 /usr/bin/thermal-engine
811
  468 root       0:00 /usr/bin/netmgrd
812
  497 root       0:00 /usr/bin/qmi_shutdown_modem
813
  504 root       0:01 /usr/bin/quectel-gps-handle
814
  518 root       0:00 /usr/bin/quectel_monitor_daemon
815
  537 root       1:30 /usr/bin/quectel_daemon
816
  544 root       0:00 /usr/bin/quectel_psm_aware
817
  563 root       0:00 /usr/bin/quectel-remotefs-service
818
  672 root       0:20 alsaucm_test
819
  811 www-data   0:02 /usr/sbin/lighttpd -f /etc/lighttpd.conf
820
  818 nobody     0:00 dnsmasq -i bridge0 -I lo -z --dhcp-range=bridge0,192.168.
821
  824 root       0:00 eMBMs_TunnelingModule
822
  828 root       0:00 /usr/bin/qmi_ip_multiclient /etc/qmi_ip_cfg.xml
823
  887 root       0:00 wlan_services
824
 1004 messageb   0:00 /usr/bin/dbus-daemon --system
825
 1022 root       0:00 /sbin/reboot-daemon
826
 1024 diag       0:02 /usr/bin/diagrebootapp
827
 1029 root       1:24 /usr/bin/atfwd_daemon
828
 1066 root       0:00 /usr/bin/pdc_daemon
829
 1079 root       0:00 /usr/bin/mbimd
830
 1080 root       0:00 -sh
831
 1081 root       0:00 /usr/bin/time_daemon
832
 1177 root       0:00 [kworker/0:1]
833
 1202 root       0:00 [kworker/u2:1]
834
 1205 root       0:09 [kworker/u2:2]
835
 1206 root       0:02 [kworker/u2:3]
836
 1213 root       0:00 [kworker/u2:4]
837
 1233 root       0:00 ps axuw
838 1 laforge
</pre>
839 27 laforge
840
h2. GPIOs
841
842
<pre>
843
GPIOs 0-79, platform/1000000.pinctrl, 1000000.pinctrl:
844
 gpio0   : out 1 2mA pull up
845
 gpio1   : in  1 2mA pull down
846
 gpio2   : in  1 2mA pull down
847
 gpio3   : out 1 2mA pull up
848
 gpio4   : out 0 2mA no pull
849
 gpio5   : in  0 2mA pull up
850
 gpio6   : in  0 2mA pull down
851
 gpio7   : in  0 2mA pull down
852
 gpio8   : out 2 2mA pull down
853
 gpio9   : in  2 2mA pull down
854
 gpio10  : in  0 2mA pull down
855
 gpio11  : in  0 2mA pull up
856
 gpio12  : in  0 2mA pull down
857
 gpio13  : in  0 2mA pull down
858
 gpio14  : in  0 2mA pull down
859
 gpio15  : in  0 2mA pull down
860
 gpio16  : in  0 2mA no pull
861
 gpio17  : in  0 2mA pull down
862
 gpio18  : in  3 16mA pull up
863
 gpio19  : in  3 16mA pull up
864
 gpio20  : out 3 8mA no pull
865
 gpio21  : in  3 8mA no pull
866
 gpio22  : out 3 8mA no pull
867
 gpio23  : out 3 8mA no pull
868
 gpio24  : out 0 2mA no pull
869
 gpio25  : in  0 2mA pull down
870
 gpio26  : in  0 2mA pull up
871
 gpio27  : in  0 2mA pull down
872
 gpio28  : in  0 2mA pull down
873
 gpio29  : in  0 2mA pull down
874
 gpio30  : in  0 2mA pull down
875
 gpio31  : out 1 2mA no pull
876
 gpio32  : out 1 2mA no pull
877
 gpio33  : out 1 2mA no pull
878
 gpio34  : in  0 2mA pull down
879
 gpio35  : in  0 2mA pull down
880
 gpio36  : out 1 2mA pull up
881
 gpio37  : in  1 2mA pull up
882
 gpio38  : in  0 2mA pull down
883
 gpio39  : in  0 2mA pull down
884
 gpio40  : in  0 2mA pull down
885
 gpio41  : in  0 2mA pull down
886
 gpio42  : out 0 2mA pull down
887
 gpio43  : in  0 2mA pull down
888
 gpio44  : in  0 2mA pull down
889
 gpio45  : in  0 2mA pull down
890
 gpio46  : in  0 2mA pull down
891
 gpio47  : in  0 2mA pull down
892
 gpio48  : in  0 2mA pull down
893
 gpio49  : in  0 2mA pull down
894
 gpio50  : in  0 2mA pull down
895
 gpio51  : in  0 2mA pull down
896
 gpio52  : in  0 2mA no pull
897
 gpio53  : out 0 2mA no pull
898
 gpio54  : in  0 2mA pull down
899
 gpio55  : out 0 2mA no pull
900
 gpio56  : in  0 2mA no pull
901
 gpio57  : out 0 2mA no pull
902
 gpio58  : out 0 2mA no pull
903
 gpio59  : out 0 2mA no pull
904
 gpio60  : in  0 2mA pull down
905
 gpio61  : in  0 2mA pull down
906
 gpio62  : in  0 2mA pull down
907
 gpio63  : in  0 2mA pull down
908
 gpio64  : in  0 2mA pull down
909
 gpio65  : in  0 2mA pull down
910
 gpio66  : in  0 2mA pull down
911
 gpio67  : in  0 2mA pull down
912
 gpio68  : in  0 2mA pull down
913
 gpio69  : in  0 2mA pull down
914
 gpio70  : in  0 2mA pull down
915
 gpio71  : in  0 2mA pull down
916
 gpio72  : in  0 2mA pull down
917
 gpio73  : in  0 2mA pull down
918
 gpio74  : in  0 2mA pull down
919
 gpio75  : out 0 2mA no pull
920
 gpio76  : in  2 8mA no pull
921
 gpio77  : out 2 8mA no pull
922
 gpio78  : out 2 8mA no pull
923
 gpio79  : out 1 8mA no pull
924
</pre>
925 28 laforge
926
h3. pinctrl-handles
927
928
<pre>
929
root@mdm9607-perf:/sys/kernel/debug/pinctrl# cat pinctrl-handles 
930
Requested pin control handlers their pinmux maps:
931
device: 78b6000.i2c current state: i2c_sleep
932
  state: i2c_active
933
    type: MUX_GROUP controller 1000000.pinctrl group: gpio6 (6) function: blsp_i2c2 (12)
934
    type: MUX_GROUP controller 1000000.pinctrl group: gpio7 (7) function: blsp_i2c2 (12)
935
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio6 (6) 00000000 00020009
936
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio7 (7) 00000000 00020009
937
  state: i2c_sleep
938
    type: MUX_GROUP controller 1000000.pinctrl group: gpio6 (6) function: gpio (1)
939
    type: MUX_GROUP controller 1000000.pinctrl group: gpio7 (7) function: gpio (1)
940
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio6 (6) 00010004 00020009
941
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio7 (7) 00010004 00020009
942
device: 78b1000.uart current state: default
943
  state: sleep
944
    type: MUX_GROUP controller 1000000.pinctrl group: gpio0 (0) function: gpio (1)
945
    type: MUX_GROUP controller 1000000.pinctrl group: gpio1 (1) function: gpio (1)
946
    type: MUX_GROUP controller 1000000.pinctrl group: gpio2 (2) function: gpio (1)
947
    type: MUX_GROUP controller 1000000.pinctrl group: gpio3 (3) function: gpio (1)
948
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio0 (0) 00000000 00020009
949
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio1 (1) 00000000 00020009
950
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio2 (2) 00000000 00020009
951
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio3 (3) 00000000 00020009
952
  state: default
953
    type: MUX_GROUP controller 1000000.pinctrl group: gpio0 (0) function: blsp_uart3 (2)
954
    type: MUX_GROUP controller 1000000.pinctrl group: gpio1 (1) function: blsp_uart3 (2)
955
    type: MUX_GROUP controller 1000000.pinctrl group: gpio2 (2) function: blsp_uart3 (2)
956
    type: MUX_GROUP controller 1000000.pinctrl group: gpio3 (3) function: blsp_uart3 (2)
957
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio0 (0) 00000000 00020009
958
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio1 (1) 00000000 00020009
959
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio2 (2) 00000000 00020009
960
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio3 (3) 00000000 00020009
961
device: 78b3000.serial current state: default
962
  state: default
963
    type: MUX_GROUP controller 1000000.pinctrl group: gpio8 (8) function: blsp_uart5 (16)
964
    type: MUX_GROUP controller 1000000.pinctrl group: gpio9 (9) function: blsp_uart5 (16)
965
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio8 (8) 00010004 00020009
966
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio9 (9) 00010004 00020009
967
device: msm_hsusb current state: none
968
device: 7824900.sdhci current state: sleep
969
  state: active
970
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_clk (80) 00000000 00100009
971
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_cmd (81) 00010003 000a0009
972
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_data (82) 00010003 000a0009
973
  state: sleep
974
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_clk (80) 00000000 00020009
975
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_cmd (81) 00010003 00020009
976
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc1_data (82) 00010003 00020009
977
device: 7864900.sdhci current state: sleep
978
  state: active
979
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_clk (83) 00000000 00100009
980
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_cmd (84) 00010003 000a0009
981
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_data (85) 00010003 000a0009
982
    type: MUX_GROUP controller 1000000.pinctrl group: gpio26 (26) function: gpio (1)
983
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio26 (26) 00010003 00020009
984
  state: sleep
985
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_clk (83) 00000000 00020009
986
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_cmd (84) 00010003 00020009
987
    type: CONFIGS_GROUP controller 1000000.pinctrl group sdc2_data (85) c00010003 00020009
988
device: 6020000.tpiu current state: none
989
  state: sdcard
990
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_clk (86) 00000000 00100009
991
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00010004 00080009
992
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010004 00080009
993
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data1 (89) 00010004 00080009
994
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data2 (90) 00010004 00080009
995
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010004 00080009
996
  state: trace
997
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_clk (86) 00010004 00020009
998
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00010004 00020009
999
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010004 00080009
1000
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data1 (89) 00010004 00080009
1001
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data2 (90) 00010004 00080009
1002
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010004 00080009
1003
  state: swduart
1004
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00010003 00020009
1005
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010004 00020009
1006
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data1 (89) 00010004 00020009
1007
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data2 (90) 00010004 00020009
1008
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010003 00020009
1009
  state: swdtrc
1010
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_clk (86) 00010004 00020009
1011
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00010003 00020009
1012
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010004 00020009
1013
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data1 (89) 00010004 00020009
1014
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data2 (90) 00010004 00020009
1015
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010003 00020009
1016
  state: jtag
1017
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00000000 00080009
1018
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010003 00020009
1019
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data1 (89) 00010004 00020009
1020
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data2 (90) 00010003 00080009
1021
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010003 00020009
1022
  state: spmi
1023
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_clk (86) 00010004 00020009
1024
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_cmd (87) 00010004 000a0009
1025
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data0 (88) 00010004 00020009
1026
    type: CONFIGS_GROUP controller 1000000.pinctrl group qdsd_data3 (91) 00010004 00080009
1027
device: soc:qcom,msm-sec-auxpcm current state: default
1028
  state: default
1029
    type: MUX_GROUP controller 1000000.pinctrl group: gpio79 (79) function: sec_mi2s (120)
1030
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio79 (79) 00000000 00080009 00010011
1031
    type: MUX_GROUP controller 1000000.pinctrl group: gpio78 (78) function: sec_mi2s (120)
1032
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio78 (78) 00000000 00080009 00010011
1033
    type: MUX_GROUP controller 1000000.pinctrl group: gpio77 (77) function: sec_mi2s (120)
1034
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio77 (77) 00000000 00080009 00010011
1035
    type: MUX_GROUP controller 1000000.pinctrl group: gpio76 (76) function: sec_mi2s (120)
1036
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio76 (76) 00000000 00080009
1037
  state: idle
1038
    type: MUX_GROUP controller 1000000.pinctrl group: gpio79 (79) function: sec_mi2s (120)
1039
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio79 (79) 00010004 00020009
1040
    type: MUX_GROUP controller 1000000.pinctrl group: gpio78 (78) function: sec_mi2s (120)
1041
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio78 (78) 00010004 00020009
1042
    type: MUX_GROUP controller 1000000.pinctrl group: gpio77 (77) function: sec_mi2s (120)
1043
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio77 (77) 00010004 00020009
1044
    type: MUX_GROUP controller 1000000.pinctrl group: gpio76 (76) function: sec_mi2s (120)
1045
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio76 (76) 00010004 00020009
1046
device: soc:qcom,msm-dai-mi2s:qcom,msm-dai-q6-mi2s-prim current state: default
1047
  state: default
1048
    type: MUX_GROUP controller 1000000.pinctrl group: gpio20 (20) function: pri_mi2s_ws_a (43)
1049
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio20 (20) 00000000 00080009 00010011
1050
    type: MUX_GROUP controller 1000000.pinctrl group: gpio23 (23) function: pri_mi2s_sck_a (51)
1051
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio23 (23) 00000000 00080009 00010011
1052
    type: MUX_GROUP controller 1000000.pinctrl group: gpio22 (22) function: pri_mi2s_data1_a (48)
1053
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio22 (22) 00000000 00080009 00010011
1054
    type: MUX_GROUP controller 1000000.pinctrl group: gpio21 (21) function: pri_mi2s_data0_a (47)
1055
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio21 (21) 00000000 00080009
1056
  state: idle
1057
    type: MUX_GROUP controller 1000000.pinctrl group: gpio20 (20) function: pri_mi2s_ws_a (43)
1058
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio20 (20) 00010004 00020009
1059
    type: MUX_GROUP controller 1000000.pinctrl group: gpio23 (23) function: pri_mi2s_sck_a (51)
1060
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio23 (23) 00010004 00020009
1061
    type: MUX_GROUP controller 1000000.pinctrl group: gpio22 (22) function: pri_mi2s_data1_a (48)
1062
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio22 (22) 00010004 00020009
1063
    type: MUX_GROUP controller 1000000.pinctrl group: gpio21 (21) function: pri_mi2s_data0_a (47)
1064
    type: CONFIGS_GROUP controller 1000000.pinctrl group gpio21 (21) 00010004 00020009
1065
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)