Hey Jan, See comments inline below.
> > When you are saying not to mix e-mail threads you mean not to reply all? I am > only replying to e-mails which are related to my problem. It's ok to reply-all; but we're now talking in an email thread about the ID_MM_TTY_BAUDRATE related patch, which you didn't even test :) The original thread you opened had subject "Could not acquire the 'org.freedesktop.ModemManager1' service name"; and things have evolved from that original issue to the fact that the TTY isn't correctly probed, and now we're talking in the email thread about a patch I sent last week which is already merged in git master; a bit of a mess! ;) BTW, now that we're into mailing list etiquette, top-posting is also not a good way to write to the mailing list, see: http://www.idallen.com/topposting.html These two previous things are so that everything is kept tidy for everyone to easily follow; not everyone is interested in every topic posted here. :) > I have done mmcli -S and that command response with "successfully requested > to scan devices". Here is the output from ModemManager debug session: > > ModemManager[1532]: <debug> [1490186663.752548] [mm-plugin.c:767] > mm_plugin_supports_port(): (Generic) [ttymxc2] probe required: 'at, qcdm' > ModemManager[1532]: <debug> [1490186663.752733] [mm-port-probe.c:1353] > mm_port_probe_run(): (tty/ttymxc2) launching port probing: 'qcdm' > ModemManager[1532]: <debug> [1490186663.752965] [mm-port-probe.c:658] > serial_probe_qcdm(): (tty/ttymxc2) probing QCDM... > ModemManager[1532]: <debug> [1490186663.753384] [mm-port-serial.c:1099] > mm_port_serial_open(): (ttymxc2) opening serial port... > ModemManager[1532]: <debug> [1490186663.755754] [mm-port-serial.c:1237] > mm_port_serial_open(): (ttymxc2) device open count is 1 (open) > ModemManager[1532]: <debug> [1490186663.756270] [mm-port-serial-qcdm.c:201] > debug_log(): (ttymxc2): --> 7e 00 78 f0 7e > ModemManager[1532]: <debug> [1490186666.742982] [mm-port-serial-qcdm.c:201] > debug_log(): (ttymxc2): --> 7e 00 78 f0 7e > ModemManager[1532]: <debug> [1490186669.743253] [mm-port-probe.c:258] > mm_port_probe_set_result_qcdm(): (tty/ttymxc2) port is not QCDM-capable > ModemManager[1532]: <debug> [1490186669.746282] [mm-port-serial.c:1296] > mm_port_serial_close(): (ttymxc2) device open count is 0 (close) > ModemManager[1532]: <debug> [1490186669.748909] [mm-port-serial.c:1312] > mm_port_serial_close(): (ttymxc2) closing serial port... > ModemManager[1532]: <debug> [1490186669.759468] [mm-port-serial.c:1361] > mm_port_serial_close(): (ttymxc2) serial port closed > ModemManager[1532]: <debug> [1490186669.759689] [mm-port-serial.c:1415] > port_serial_close_force(): (ttymxc2) forced to close port > ModemManager[1532]: <debug> [1490186669.760001] [mm-plugin-manager.c:462] > plugin_supports_port_ready(): (Plugin Manager) (Generic) [ttymxc2] found best > plugin for port > ModemManager[1532]: <debug> [1490186669.760300] [mm-plugin-manager.c:316] > port_probe_context_finished(): (Plugin Manager) 'ttymxc2' port probe > finished, last one in device > ModemManager[1532]: <debug> [1490186669.760459] [mm-plugin-manager.c:138] > find_device_support_context_complete_and_free(): (Plugin Manager) > [/sys/devices/soc0/soc/2100000.aips-bus/21ec000.serial] device support check > finished in '15.800204' seconds > ModemManager[1532]: <info> [1490186669.760657] [mm-device.c:509] > mm_device_create_modem(): Creating modem with plugin 'Generic' and '1' ports > ModemManager[1532]: <warn> [1490186669.773671] [mm-plugin.c:905] > mm_plugin_create_modem(): Could not grab port (tty/ttymxc2): 'Cannot add port > 'tty/ttymxc2', unhandled serial type' > ModemManager[1532]: <debug> [1490186669.774134] [mm-base-modem.c:1485] > finalize(): Modem (Generic) > '/sys/devices/soc0/soc/2100000.aips-bus/21ec000.serial' completely disposed > ModemManager[1532]: <warn> [1490186669.774314] [mm-base-manager.c:158] > find_device_support_ready(): Couldn't create modem for device at > '/sys/devices/soc0/soc/2100000.aips-bus/21ec000.serial': Failed to find > primary AT port > > It looks like the ttymxc2 modem port is not QCDM-capable. Is there anything I > can do to make it QCDM-capable? The ModemManager software version running on > my development board is 1.4.0. Does this make difference? > I'm not sure why it didn't re-probe "AT" in the TTY... Please test "mmcli -S" using ModemManager git master, because a recent patch there allowed to fully re-probe ports that were not acquired by any modem, as in your case. -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel