P1sec / QCSuper

QCSuper is a tool communicating with Qualcomm-based phones and modems, allowing to capture raw 2G/3G/4G radio frames, among other things.
GNU General Public License v3.0
1.31k stars 235 forks source link

an error with quectel data modem #62

Open fjremnav opened 2 years ago

fjremnav commented 2 years ago

I ran the following command with quectel LTE modem:

sudo python3 ./qcsuper.py --usb-modem /dev/ttyUSB0 --pcap-dump test1.pcap --include-ip-traffic

Got the following error:

Error: unmatched response received: DIAG_EVENT_REPORT_F with payload b'\x10\x00\xd8i\x0bF\xfa\x9a\xecq\xf5\x00\x05\xa2\x00\x80\x00\x00', while the request was DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00'. This is possibly due to another client talking to the Diag device (which is forbidden).

Other capture application, like scat works fine. I check my system and can't find any other program to use this dm port

Any idea why this happens.

Thanks,

StefanBruens commented 2 years ago

This happens when the device outputs DIAG data all by itself. E.g. Sierra devices have a CUSTOM setting which enables this behavior, and on several handsets this can be triggered by pressing the right key sequence (see scats README).

lujiefsi commented 2 years ago

I also meet this error on ubuntu and windows!

lujiefsi commented 2 years ago

@fjremnav have you solved it?

acdf1d531e8afc6b0353a73822b85b7

fjremnav commented 2 years ago

No, I don't know how to fix it