Hi all,
When I run QLog in linux I get this error:
[ 2174.904525] option 1-2.3:1.2: GSM modem (1-port) converter detected
[ 2174.906109] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB5
I’m using this module:
Quectel
RM520N-GL
Revision: RM520NGLAAR03A01M4G
I’m running this on a Jetson TX2 which has an ARM processor, so I built the QLog executable like this:
make CROSS_COMPILE=aarch64-linux-gnu-
Then I transferred the executable to a Jetson which is connected to a Quectel RM520N-GL modem.
When running QLog I got this output:
sudo ./QLog_arm
[000.000] Version: QLog_Linux_Android_V1.5.22
[000.000] will use filter file: default filter
[001.108] Find [0] idVendor=2c7c, idProduct=0801, bNumInterfaces=6, ttyDM=, ttyGENERAL=, ttyTHIRD=, busnum=001, dev=005, usbdevice_pah=/sys/bus/usb/devices/1-2.3
[001.109] open /dev/bus/usb/001/005 dm_usbfd = 3
[001.109] Press CTRL+C to stop catch log.
[001.109] catch log via usbfs
[001.110] qlog_usbfs_read ( dm ) enter
[001.110] kfifo_alloc [0] = 5
[001.110] ql_usbfs_write submit n = -1, errno: 22 (Invalid argument)
[003.111] timeout g_mdm_req=73000000
[003.111] ql_usbfs_write submit n = -1, errno: 22 (Invalid argument)
[005.111] timeout g_mdm_req=7d5d0500
[005.111] ql_usbfs_write submit n = -1, errno: 22 (Invalid argument)
I made sure no other modem was connected to the jetson and then tried to run on each /dev/tty like so:
sudo ./QLog_arm -p /dev/ttyUSB4
sudo ./QLog_arm -p /dev/ttyUSB5
sudo ./QLog_arm -p /dev/ttyUSB6
sudo ./QLog_arm -p /dev/ttyUSB7
sudo ./QLog_arm -p /dev/ttyUSB8
But I always got the same output.
When connecting the modem through USB, I get the following output with dmesg:
[ 2174.857865] usb 1-2.3: new high-speed USB device number 12 using tegra-xusb
[ 2174.882402] usb 1-2.3: New USB device found, idVendor=2c7c, idProduct=0801
[ 2174.882414] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2174.882421] usb 1-2.3: Product: RM520N-GL
[ 2174.882427] usb 1-2.3: Manufacturer: Quectel
[ 2174.882432] usb 1-2.3: SerialNumber: 34bd40e
[ 2174.903936] rndis_host 1-2.3:1.0 usb1: register 'rndis_host' at usb-3530000.xhci-2.3, RNDIS device, f6:79:85:21:93:69
[ 2174.904525] option 1-2.3:1.2: GSM modem (1-port) converter detected
[ 2174.906109] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB5
[ 2174.906325] option 1-2.3:1.3: GSM modem (1-port) converter detected
[ 2174.906559] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB6
[ 2174.906773] option 1-2.3:1.4: GSM modem (1-port) converter detected
[ 2174.906929] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 2174.907217] option 1-2.3:1.5: GSM modem (1-port) converter detected
[ 2174.907489] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB8
What is the issue here?