ublox SARA-U260 not showing up in mmcli
Aleksander Morgado
aleksander at aleksander.es
Mon May 15 10:39:07 UTC 2017
On 14/05/17 05:20, Brent Sink wrote:
>> Just to clarify: can you run minicom with 57600bps (not 115200) and
>
>> talk to the modem via ttyACM0? I wouldn't have expected this kind of
>> issues on a USB serial modem, but who knows.
>
> Ok, I tried 57600 but same issue. The only thing I noticed with 57600 is that when I paste in the text from my clipboard it doesn't paste correctly (looks the same as if I'm typing the characters, i.e. @T). Having the baud rate at 9600 or 115200 does work when I paste from the clipboard.
>
Could you try with the "mmtty" program from the ModemManager git
repository (under /test) but using --send-delay=0 ? That would be the
most similar way to simulate a "copy&paste" to minicom, as otherwise we
may be sending the AT command characters one by one with 1ms between them.
>> Could you try to add a new file with a new udev rule to set
>> ID_MM_TTY_BAUDRATE to 115200 and retry? You need ModemManager git
>> master for this though, no 1.6.x version has this yet.
>
> I'm using v1.7.0 but and I didn't notice any change when adding the udev rule. Looking at the git repo, I don't see any branches or tags for v1.7. Am I using the wrong version?
>
v1.7 is the "dev version" in git master after 1.6 and towards the next
stable which would be 1.8, so not really a released version per se. You
were using the correct one anyway, see below.
> Here is the output from ModemManager --debug, with the udev rule added:
>
I do see the udev rule being taken into account, see the new baudrate
being set to 115200 in the logs:
> ModemManager[826]: <debug> [1494556897.949065] [mm-port-serial.c:1114] mm_port_serial_open(): (ttyACM3) opening serial port...
> ModemManager[826]: <debug> [1494556897.950571] [mm-port-serial.c:415] real_config_fd(): (ttyACM3): setting up baudrate: 115200
> ModemManager[826]: <debug> [1494556897.951171] [mm-port-serial.c:1244] mm_port_serial_open(): (ttyACM3) device open count is 1 (open)
> ModemManager[826]: <debug> [1494556897.952454] [mm-port-serial.c:393] internal_tcsetattr(): (ttyACM3): port attributes not fully set
> ModemManager[826]: <debug> [1494556897.953599] [mm-port-serial.c:1114] mm_port_serial_open(): (ttyACM2) opening serial port...
> ModemManager[826]: <debug> [1494556898.287851] [mm-port-serial.c:415] real_config_fd(): (ttyACM2): setting up baudrate: 115200
> ModemManager[826]: <debug> [1494556898.288147] [mm-port-serial.c:1244] mm_port_serial_open(): (ttyACM2) device open count is 1 (open)
> ModemManager[826]: <debug> [1494556898.291393] [mm-port-serial.c:393] internal_tcsetattr(): (ttyACM2): port attributes not fully set
> ModemManager[826]: <debug> [1494556898.292397] [mm-port-serial.c:1114] mm_port_serial_open(): (ttyACM1) opening serial port...
> ModemManager[826]: <debug> [1494556898.293718] [mm-port-serial.c:415] real_config_fd(): (ttyACM1): setting up baudrate: 115200
> ModemManager[826]: <debug> [1494556898.293973] [mm-port-serial.c:1244] mm_port_serial_open(): (ttyACM1) device open count is 1 (open)
> ModemManager[826]: <debug> [1494556898.294809] [mm-port-serial.c:393] internal_tcsetattr(): (ttyACM1): port attributes not fully set
> ModemManager[826]: <debug> [1494556898.295800] [mm-port-serial.c:1114] mm_port_serial_open(): (ttyACM0) opening serial port...
> ModemManager[826]: <debug> [1494556898.300756] [mm-port-serial.c:415] real_config_fd(): (ttyACM0): setting up baudrate: 115200
> ModemManager[826]: <debug> [1494556898.301016] [mm-port-serial.c:1244] mm_port_serial_open(): (ttyACM0) device open count is 1 (open)
But as you also noticed, that setting didn't get us any improvement.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list