Getting no QLog output with the BG770A-GL

I’m using the BG770A-GL model to perform some testing. I’m struggling to get the device out of idle mode, so I’m getting logs using the QLog program on linux. I’ve gotten the program to work with the following command:

sudo QLog -p /dev/ttyCH9344USB1 -p /dev/ttyCH9344USB2 -t -s /tmp/

However I’ve only gotten this in the output:

[000.000] Version: QLog_Linux_Android_V1.5.27.3
[000.000] will use device: /dev/ttyCH9344USB1
[000.000] will use device: /dev/ttyCH9344USB2
[000.000] qlog_read_com_data: 1
[000.000] will use filter file: default filter
[000.000] [init_qlog_path] [1848] entry
[000.000] Written 4 bytes
[000.002] qlog_com_catch_log /tmp//SFP_20241216_121410_0000.bin com_log_fd_1=5
[000.002] qlog_com_catch_log /tmp//FW_20241216_121410_0000.bin com_log_fd_2=6
[005.029] recv: 0M 22K 712B  in 5027 msec
[010.192] recv: 0M 24K 544B  in 5163 msec

Any commands I run against the module don’t seem to be captured in the logs. Is there something I’m missing in the configuration of this?

You can try to send AT command when getting logs and refer to this process.
image



Hi Mikey, thanks for the response. I’ve enabled USB debugging on the device and reset it:

AT+QCFG="usb",1                                                                                                                                   
OK                                                                                                                                                
AT+QCFGEXT="debug",1                                                                                                                              
OK                                                                                                                                                
at+cfun=1,1                                                                                                                                       
OK                                                                                                                                                
                                                                                                                                                  
RDY                                                                                                                                               
                                                                                                                                                  
+CFUN: 1                                                                                                                                          
                                                                                                                                                  
+QUSIM: 1                                                                                                                                         
                                                                                                                                                  
+CPIN: READY                                                                                                                                      
                                                                                                                                                  
+QIND: SMS DONE                                                                                                                                   
                                                                                                                                                  
APP RDY        

I’ve ran the QLog command to capture logs:

cohaodha@druidlaptop:/dev$ sudo QLog -p /dev/ttyCH9344USB2 -t -s /tmp/quectel -m 100
[000.000] Version: QLog_Linux_Android_V1.5.27.3
[000.000] will use device: /dev/ttyCH9344USB2
[000.000] qlog_read_com_data: 1
[000.000] will use filter file: default filter
[000.000] [init_qlog_path] [1848] entry
[000.000] Written 4 bytes
[000.000] qlog_com_catch_log /tmp/quectel/SFP_20241219_125018_0000.bin com_log_fd_1=4

But I’m getting no output into the binary files.

cohaodha@druidlaptop:/tmp/quectel$ ls -ltr
total 8
-r--r--r-- 1 root root 2 Dec 19 12:27 SFP_20241219_121504_0000.bin
-r--r--r-- 1 root root 1 Dec 19 12:29 SFP_20241219_122921_0000.bin
-r--r--r-- 1 root root 0 Dec 19 12:50 SFP_20241219_125018_0000.bin
cohaodha@druidlaptop:/tmp/quectel$ strings *.bin
cohaodha@druidlaptop:/tmp/quectel$