AT commands on the BG770A-GL-TE-B_V1.2

Hi,

I’m trying to connect to the board BG770A-GL-TE-B_V1.2 to my Linux PC to run AT commands for NBIOT use.

I’ve PON_TRIG set to high on the board etc, but no joy with minicom, no output seen for commands.

Does anyone have a list of steps to get this board working on Linux (Ubuntu 22)? I’ve worked on other Quectel modules without issues, but this is giving me nothing. I’ve seen some posts saying I need to run:
modprobe option
echo “$VID $PID” > /sys/bus/usb-serial/drivers/option1/new_id
Is this the case? Or are there Linux drivers I could use?

Any help would be appreciated.

Thanks,
Daniel.

Show the output of cat /sys/kernel/debug/usb/devices

devices.txt (12.2 KB)

I’ve attached the output.
Thanks,
Daniel.

I see no Quectel modem there. It’s too early to talk about AT commands.

If that is your serial converter (USB → UART), then you should try the /dev/ttyUSBx associated with it:

T:  Bus=03 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 29 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=80 Prot=37 MxPS=64 #Cfgs=  1
P:  Vendor=1a86 ProdID=e018 Rev=37.01
S:  Manufacturer=wch.cn
S:  Product=USB2.0 To Multi Serial Ports
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=80 Prot=37 Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

So when I plug in the USB cable I see output in syslog.
Do I need special drivers to get this device wokring on Linux? What is the frist step to get this started up?

Blockquote
Nov 18 10:56:01 dosullivanLT kernel: [2691952.588335] usb 3-4: new high-speed USB device number 30 using xhci_hcd
Nov 18 10:56:01 dosullivanLT kernel: [2691952.715526] usb 3-4: New USB device found, idVendor=1a86, idProduct=e018, bcdDevice=37.01
Nov 18 10:56:01 dosullivanLT kernel: [2691952.715535] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 18 10:56:01 dosullivanLT kernel: [2691952.715537] usb 3-4: Product: USB2.0 To Multi Serial Ports
Nov 18 10:56:01 dosullivanLT kernel: [2691952.715539] usb 3-4: Manufacturer: wch.cn
Nov 18 10:56:01 dosullivanLT kernel: [2691952.719467] option 3-4:1.0: GSM modem (1-port) converter detected
Nov 18 10:56:01 dosullivanLT kernel: [2691952.719733] usb 3-4: GSM modem (1-port) converter now attached to ttyUSB0
Nov 18 10:56:01 dosullivanLT mtp-probe: checking bus 3, device 30: “/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4”
Nov 18 10:56:01 dosullivanLT mtp-probe: bus: 3, device: 30 was not an MTP device
Nov 18 10:56:01 dosullivanLT snapd[510344]: hotplug.go:200: hotplug device add event ignored, enable experimental.hotplug
Nov 18 10:56:01 dosullivanLT mtp-probe: checking bus 3, device 30: “/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4”
Nov 18 10:56:01 dosullivanLT mtp-probe: bus: 3, device: 30 was not an MTP device

Blockquote

The driver (option) is loaded and interface (/dev/ttyUSB0) is created.
My understanding you should be able to see something in the terminal connected to this port, at least on module restart.
See BG770A TE-A module: UART Main rx

I don’t see anything on the serial /dev/ttyUSB0, that is why I’m questioning how to bring up this device, in case I’m missing something?

These are my minicom settings:

Blockquote
OPTI±----------------------------------------------------------------------+
Port| A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
Pres| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| H - RS485 Enable : No |
| I - RS485 Rts On Send : No |
| J - RS485 Rts After Send : No |
| K - RS485 Rx During Tx : No |
| L - RS485 Terminate Bus : No |
| M - RS485 Delay Rts Before: 0 |
| N - RS485 Delay Rts After : 0

Make sure you’re connected to UART connector on the board. According to the manual you should have more than one serial interface created.