Hello
I am trying to get the AG525 module to work on Linux and am having problems.
The problem is that it freezes when I try to send AT commands in Linux. Is the driver not installed correctly? Or is there a problem with the firmware?
Below is a description of the current situation.
Thanks.
OS :Ubuntu16.04
Driver :Quectel_Linux_USB_Serial_Option_Driver_20220902.tgz →v4.15.1
FW :AG525RGLAAR01A16M4G_OCPU_05.001.05.001.zip
“uname”
suzuki@suzuki-VirtualBox:~$ uname -a
Linux suzuki-VirtualBox 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
suzuki@suzuki-VirtualBox:~$ uname -r
4.15.0-142-generic
suzuki@suzuki-VirtualBox:~$
“lsusb”
suzuki@suzuki-VirtualBox:~$ lsusb
Bus 002 Device 002: ID 2c7c:0452
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
suzuki@suzuki-VirtualBox:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 2, If 4, Class=Communications, Driver=cdc_ether, 5000M
|__ Port 1: Dev 2, If 5, Class=CDC Data, Driver=cdc_ether, 5000M
|__ Port 1: Dev 2, If 6, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 2, If 7, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 2, If 8, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 2, If 15, Class=Vendor Specific Class, Driver=, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
suzuki@suzuki-VirtualBox:~$
“ls -la /sys/bus/usb/drivers/option/”
suzuki@suzuki-VirtualBox:~$ ls -la /sys/bus/usb/drivers/option/
total 0
drwxr-xr-x 2 root root 0 11月 23 10:02 .
drwxr-xr-x 9 root root 0 11月 23 09:57 …
lrwxrwxrwx 1 root root 0 11月 23 10:02 2-1:1.0 → …/…/…/…/devices/pci0000:00/0000:00:0c.0/usb2/2-1/2-1:1.0
lrwxrwxrwx 1 root root 0 11月 23 10:02 2-1:1.6 → …/…/…/…/devices/pci0000:00/0000:00:0c.0/usb2/2-1/2-1:1.6
lrwxrwxrwx 1 root root 0 11月 23 10:02 2-1:1.7 → …/…/…/…/devices/pci0000:00/0000:00:0c.0/usb2/2-1/2-1:1.7
lrwxrwxrwx 1 root root 0 11月 23 10:02 2-1:1.8 → …/…/…/…/devices/pci0000:00/0000:00:0c.0/usb2/2-1/2-1:1.8
–w------- 1 root root 4096 11月 23 10:02 bind
lrwxrwxrwx 1 root root 0 11月 23 10:02 module → …/…/…/…/module/usbserial
–w------- 1 root root 4096 11月 23 09:57 uevent
–w------- 1 root root 4096 11月 23 10:02 unbind
“sudo cat /sys/kernel/debug/usb/devices”
suzuki@suzuki-VirtualBox:~$ sudo cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.15
S: Manufacturer=Linux 4.15.0-142-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:0c.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=80ee ProdID=0021 Rev= 1.00
S: Manufacturer=VirtualBox
S: Product=USB Tablet
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 4.15
S: Manufacturer=Linux 4.15.0-142-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:0c.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=2c7c ProdID=0452 Rev= 4.09
S: Manufacturer=Quectel
S: Product=LTE-A Module
S: SerialNumber=5abecca7
C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=496mA
A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 5 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=8d(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0e(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=85(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=88(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=87(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#=15 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=89(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
“dmesg”
[ 43.106749] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 43.128008] usb 2-1: config 1 has an invalid interface number: 7 but max is 6
[ 43.128010] usb 2-1: config 1 has an invalid interface number: 8 but max is 6
[ 43.128011] usb 2-1: config 1 has an invalid interface number: 15 but max is 6
[ 43.128011] usb 2-1: config 1 has no interface number 1
[ 43.128012] usb 2-1: config 1 has no interface number 2
[ 43.128012] usb 2-1: config 1 has no interface number 3
[ 43.131787] usb 2-1: New USB device found, idVendor=2c7c, idProduct=0452
[ 43.131788] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 43.131789] usb 2-1: Product: LTE-A Module
[ 43.131790] usb 2-1: Manufacturer: Quectel
[ 43.131791] usb 2-1: SerialNumber: 5abecca7
[ 43.162971] cdc_ether 2-1:1.4 usb0: register ‘cdc_ether’ at usb-0000:00:0c.0-1, CDC Ethernet Device, 0a:90:9c:4e:66:94
[ 43.165256] usbcore: registered new interface driver cdc_ether
[ 43.169510] usbcore: registered new interface driver usbserial_generic
[ 43.169514] usbserial: USB Serial support registered for generic
[ 43.190751] usbcore: registered new interface driver option
[ 43.190761] usbserial: USB Serial support registered for GSM modem (1-port)
[ 43.190792] option 2-1:1.0: GSM modem (1-port) converter detected
[ 43.191579] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 43.191768] option 2-1:1.6: GSM modem (1-port) converter detected
[ 43.192442] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 43.192470] option 2-1:1.7: GSM modem (1-port) converter detected
[ 43.193155] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 43.193188] option 2-1:1.8: GSM modem (1-port) converter detected
[ 43.193521] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 43.198405] cdc_ether 2-1:1.4 enp0s12u1i4: renamed from usb0
[ 43.214396] IPv6: ADDRCONF(NETDEV_UP): enp0s12u1i4: link is not ready
suzuki@suzuki-VirtualBox:~$