yes, only mango without PC. I understand that I cannot run QXDM on the board, I only need a diagnostic port
then what program are you going to run on the module linux?
As mentioned before, you can use diag_mdlog to capture DM log locally in module.
then what program are you going to run on the module linux?
we have program send read data from dm port and parsing raw data.
As mentioned before, you can use diag_mdlog to capture DM log locally in module.
so diag_mdlog i can run on the module’s linux?
i found it
Can it helps to get acces to DM? on mango yellow
yes, did you try “diag_mdlog -h” on the console?
yes, i try find default mask
The log mask is in .cfg format.
/mnt/userrw/diag_logs is empty
I don’ see problem, you can use my default.cfg filter:
Default.cfg (3.9 KB)
root@swi-mdm9x28-wp:~# diag_mdlog -f Default.cfg -o /tmp/test.log
diag_mdlog: Directory /mnt/userrw is accessible
diag_mdlog: successfully created pid file, pid: 3344
diag_mdlog: Created logging directory /tmp/test.log
Total Disk Space: 79929344, Available Disk Space: 79892480, Maximum file size adjusted to 71899546 bytes.
Turned off circular logging because max file size is too big.
diag_mdlog: Diag_LSM_Init succeeded.
REMOTE PROCESSOR MASK 0
logging switched
Output dirs /tmp/test.log --- /tmp/test.log
diag_mdlog: Reading mask for MSM, proc_type: 0
Reading the mask file: Default.cfg
diag: Determining contents of directory /tmp/test.log for logging ...
creating new file /tmp/test.log/diag_log_19800106_081028315965428765.qmdl
^Cdiag: Signal received
diag:In diag_kill_qshrink4_threads finished killing qshrink4 threads
diag: sending signal to unblock read thread
diag:dummy_handler: pid-tid 3344-3353
CreateWaitThread exiting ...[1]..
Exiting....WriteToDisk
diag: Sending cond to CreateWaitThread
diag: Exiting program
root@swi-mdm9x28-wp:~# ls /tmp/test.log/diag_
diag_log_19800106_081028315965428765.qmdl
diag_qsr4_guid_list.xml
root@swi-mdm9x28-wp:~# ls /tmp/test.log/diag_
diag_log_19800106_081028315965428765.qmdl
diag_qsr4_guid_list.xml
root@swi-mdm9x28-wp:~# ls /tmp/test.log/diag_log_19800106_081028315965428765.qmd
l -l
-rw-r--r-- 1 root root 811215 Jan 6 08:10 /tmp/test.log/diag_log_19800106_081028315965428765.qmdl
1 Like
thanks, it works.
do you have mask for mdm?
no, i don’t have mask for “-m” mdm filter