I have a 3G/4G<E Base HAT attached to a Pi Zero W running Pi OS Lite 12-02-2021 Buster with all updates. Some boots I can go into minicom to bring up cellular via ECM with command AT#ECM=1,0 but often I am unable to issue commands in minicom. If I cycle power enough times it eventually works. A difference I can find is this line in output of “dmesg|grep tty”
[ 7.778384] systemd[1]: Created slice system-getty.slice.
When this line exists, it works. Any thoughts? See full output below:
Thanks,
Dave
pi@PiZeroAuto:~ $ uname -sr
Linux 5.10.63+
pi@PiZeroAuto:~ $ lsusb
Bus 001 Device 002: ID 1bc7:1206 Telit Wireless Solutions
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@PiZeroAuto:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 1: Dev 2, If 1, Class=Vendor Specific Class, Driver=, 480M
|__ Port 1: Dev 2, If 2, Class=Communications, Driver=cdc_ether, 480M
|__ Port 1: Dev 2, If 3, Class=CDC Data, Driver=cdc_ether, 480M
|__ Port 1: Dev 2, If 4, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 1: Dev 2, If 5, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 1: Dev 2, If 6, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 1: Dev 2, If 7, Class=Vendor Specific Class, Driver=option, 480M
pi@PiZeroAuto:~ $ ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4
pi@PiZeroAuto:~ $ dmesg|grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:E5:83:FE vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=tty1 root=PARTUUID=d5f4c4a4-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.001488] printk: console [tty1] enabled
[ 3.496772] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 3.512507] 20215040.serial: ttyS0 at MMIO 0x20215040 (irq = 53, base_baud = 50000000) is a 16550
[ 7.778384] systemd[1]: Created slice system-getty.slice.
[ 20.297224] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 20.327629] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 20.348634] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 20.372123] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 20.386959] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
pi@PiZeroAuto:~ $ sudo cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= -5, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.63+ dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=20980000.usb
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=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1bc7 ProdID=1206 Rev= 3.18
S: Manufacturer=Android
S: Product=LE910C4-NF
S: SerialNumber=0123456789ABCDEF
C:* #Ifs= 8 Cfg#= 1 Atr=a0 MxPwr=500mA
A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 3 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 3 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 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= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 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= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=8a(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=8c(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms