ublox SARA-U260 not showing up in mmcli
Schroer, Jens Peter
jens at manetos.com
Wed May 3 09:58:37 UTC 2017
Hey,
Author of the patch here.
I am running the modem in Ethernet over USB mode here and tested the
patch especially in that regards.
I meant to upstream the patch, but time is the limiting factor so far.
Sorry for that.
Just for you to try out, this is the command line I use for screen to
connect to the modem:
screen /dev/tty<USB> 115200,cs8,-parenb,-cstopb,-hupcl,-fn
Let me know if you need additional help or if something that is related
to the patch is not working.
Kind regards,
Jens
On 2017-05-03 10:34, Aleksander Morgado wrote:
> Hey,
>
>>
>>
>> I am using ModemManager version 1.7.0, and have checked out the master
>> branch that has the ublox plugins. I have compiled this using
>> buildroot and
>> installed on a custom i.MX6 board with the ublox SARA-U260 connected
>> via
>> USB. The imx6 sees the USB device and creates 7 ttyACMx ports, but
>> when I
>> check ModemManager, there are no modems listed. Thinking that maybe
>> there
>> wasn't support for the SARA-U260, I also tried adding a patch from
>> here:
>> https://github.com/Scypho/modemmanager-ublox/tree/sara-u270, which
>> looks to
>> add support for the U270. I compiled again and still no luck. Is
>> there
>> something else I need to do?
>>
>>
>> # lsusb
>>
>> Bus 001 Device 003: ID 1546:1102 U-Blox AG
>>
>>
>> # ls /dev/ttyACM*
>>
>> /dev/ttyACM0 /dev/ttyACM2 /dev/ttyACM4 /dev/ttyACM6
>> /dev/ttyACM1 /dev/ttyACM3 /dev/ttyACM5
>>
>> # mmcli -V
>> mmcli 1.7.0
>> Copyright (2011 - 2016) Aleksander Morgado
>>
>> # mmcli -L
>> No modems were found
>>
>> # dmesg | grep acm
>> [ 1.861414] usbcore: registered new interface driver cdc_acm
>> [ 1.865803] cdc_acm: USB Abstract Control Model driver for USB
>> modems and
>> ISDN adapters
>> [ 4.856405] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
>> [ 4.894693] cdc_acm 1-1.1:1.2: ttyACM1: USB ACM device
>> [ 4.940068] cdc_acm 1-1.1:1.4: ttyACM2: USB ACM device
>> [ 4.956373] cdc_acm 1-1.1:1.6: ttyACM3: USB ACM device
>> [ 4.968178] cdc_acm 1-1.1:1.8: ttyACM4: USB ACM device
>> [ 4.985635] cdc_acm 1-1.1:1.10: ttyACM5: USB ACM device
>> [ 5.021563] cdc_acm 1-1.1:1.12: ttyACM6: USB ACM device
>>
>> I should note that when I try to send AT commands using screen or
>> minicom,
>> it behaves a little weird. When I try to type in "AT+CGMI", it will
>> type
>> "@T*BFLH" instead. Could this be the problem? Any ideas why the
>> letters on
>> my keyboard don't mach up to what is shown on screen/minicom?
>>
>
> Oh, that's weird. Which serial port settings are you using when
> opening the TTY on minicom?
>
> Could you get ModemManager debug logs as well to see where/how the
> port probing fails?
> https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/
>
> The patch in the github repo could help, but first you need to have
> the TTYs properly detected.
More information about the ModemManager-devel
mailing list