Using mikroe "LTE IoT Click" aka u-blox SARA-R410M-02B with native serial UART
Alexander Dahl
ada at thorsis.com
Wed Mar 24 16:07:44 UTC 2021
Hei hei,
> Try to do something like this:
>
> $ sudo vim /lib/udev/rules.d/78-mm-whitelist-platform-modem.rules
> ACTION!="add|change|move", GOTO="mm_whitelist_platform_modem_end"
> DEVPATH=="/devices/platform/ahb/ahb:apb/f8024000.serial/atmel_usart_serial.1.auto/tty/ttyAT2",
> ENV{ID_MM_DEVICE_PROCESS}="1"
> LABEL="mm_whitelist_platform_modem_end"
I put that into /etc/udev/rules.d and added 'ENV{ID_MM_TTY_BAUDRATE}="115200"' otherwise the device would not answer and guess what, the modem is recognized now:
root at DistroKit:~ mmcli -m 0
--------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: ***
--------------------------------
Hardware | manufacturer: u-blox
| model: SARA-R410M-02B
| firmware revision: L0.0.00.00.05.08 [Apr 17 2019 19:34:02]
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: ***************
--------------------------------
System | device: /sys/devices/platform/ahb/ahb:apb/f8024000.serial/atmel_usart_serial.1.auto
| drivers: atmel_usart_serial
| plugin: u-blox
| primary port: ttyAT2
| ports: ttyAT2 (at)
--------------------------------
Numbers | own: +4917600000000
--------------------------------
Status | state: disabled
| power state: on
| signal quality: 0% (cached)
--------------------------------
Modes | supported: allowed: any; preferred: none
| current: allowed: any; preferred: none
--------------------------------
Bands | supported: eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-8,
| eutran-12, eutran-13, eutran-19, eutran-20, eutran-28, eutran-39
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: ***************
--------------------------------
3GPP EPS | ue mode of operation: ps-2
--------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
That looks promising, I'll see if I can register to the network if the correct SIM cards arrive.
Thanks for your quick support! :-)
Greets
Alex
More information about the ModemManager-devel
mailing list