r13 Posted July 17, 2022 Share Posted July 17, 2022 @vst Попробовал на 3.9а2 USB: добавлена функция интерактивной посылки AT-команд для модемов UsbLte, UsbQmi [NDM-2266] Не завелось, модем qmi lt4220 В логе вот так: Скрытый текст [I] Jul 17 21:00:31 ndm: Network::Interface::Base: debug enabled. [I] Jul 17 21:01:12 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 <-- "AT^CA_INFO?" (expect "OK|ERROR"). [I] Jul 17 21:01:15 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 timedout. [E] Jul 17 21:01:15 ndm: Mobile::Interface: "UsbQmi0": timeout waiting for expected response. [W] Jul 17 21:01:42 ndm: Timer: unable to alarm "Network::Interface::LinkDetector" for 30 seconds. [W] Jul 17 21:01:42 ndm: Timer: "Session /var/run/ndm.core.socket" (12913) backtrace: [W] Jul 17 21:01:42 ndm: Timer: no backtrace available. [I] Jul 17 21:02:01 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 <-- "AT^DEBUG?" (expect "OK|ERROR"). [I] Jul 17 21:02:04 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 timedout. [E] Jul 17 21:02:04 ndm: Mobile::Interface: "UsbQmi0": timeout waiting for expected response. [W] Jul 17 21:02:31 ndm: Timer: unable to alarm "Network::Interface::LinkDetector" for 30 seconds. [W] Jul 17 21:02:31 ndm: Timer: "Session /var/run/ndm.core.socket" (12913) backtrace: [W] Jul 17 21:02:31 ndm: Timer: no backtrace available. 1 Quote Link to comment Share on other sites More sharing options...
0 slomblobov Posted July 17, 2022 Share Posted July 17, 2022 Скорее всего для данного модема(03f0:0857) неправильно выставлен номер tty интерфейса. Сейчас используется нулевой. Через minicom какой отвечает? Quote Link to comment Share on other sites More sharing options...
0 r13 Posted July 19, 2022 Author Share Posted July 19, 2022 В 17.07.2022 в 22:24, vst сказал: Скорее всего для данного модема(03f0:0857) неправильно выставлен номер tty интерфейса. Сейчас используется нулевой. Через minicom какой отвечает? Там к сожалению entware нет, как доберусь до него проверю. Quote Link to comment Share on other sites More sharing options...
0 slomblobov Posted August 1, 2022 Share Posted August 1, 2022 Использовался ttyUSB2. Модема нет в наличии, приходится гадать. Переключил на ttyUSB0. 1 Quote Link to comment Share on other sites More sharing options...
0 Gp21 Posted August 2, 2022 Share Posted August 2, 2022 (edited) lt4220 Edited August 2, 2022 by Gp21 Отредактировал файл Quote Link to comment Share on other sites More sharing options...
0 r13 Posted August 5, 2022 Author Share Posted August 5, 2022 В 01.08.2022 в 17:30, vst сказал: Использовался ttyUSB2. Модема нет в наличии, приходится гадать. Переключил на ttyUSB0. Добрался таки с другим роутером. В миником отвечают ttyUSB0 и ttyUSB1 так что жду следующей сборки 1 Quote Link to comment Share on other sites More sharing options...
0 r13 Posted August 6, 2022 Author Share Posted August 6, 2022 Alfa5 - все ок, interface UsbQmi0 tty send at^ca_info? at^ca_info? PCC info: Band is LTE_B7, Band_width is 20.0 MHz SCC1 info: Band is LTE_B7, Band_width is 20.0 MHz SCC2 info: Band is LTE_B3, Band_width is 20.0 MHz OK Mobile::Interface: "UsbQmi0": got expected response. 1 Quote Link to comment Share on other sites More sharing options...
Question
r13
@vst
Попробовал на 3.9а2
USB: добавлена функция интерактивной посылки AT-команд для модемов UsbLte, UsbQmi [NDM-2266]
Не завелось, модем qmi lt4220
В логе вот так:
[I] Jul 17 21:00:31 ndm: Network::Interface::Base: debug enabled.
[I] Jul 17 21:01:12 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 <-- "AT^CA_INFO?" (expect "OK|ERROR").
[I] Jul 17 21:01:15 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 timedout.
[E] Jul 17 21:01:15 ndm: Mobile::Interface: "UsbQmi0": timeout waiting for expected response.
[W] Jul 17 21:01:42 ndm: Timer: unable to alarm "Network::Interface::LinkDetector" for 30 seconds.
[W] Jul 17 21:01:42 ndm: Timer: "Session /var/run/ndm.core.socket" (12913) backtrace:
[W] Jul 17 21:01:42 ndm: Timer: no backtrace available.
[I] Jul 17 21:02:01 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 <-- "AT^DEBUG?" (expect "OK|ERROR").
[I] Jul 17 21:02:04 ndm: Mobile::TtyDevice: "UsbQmi0": tty0 timedout.
[E] Jul 17 21:02:04 ndm: Mobile::Interface: "UsbQmi0": timeout waiting for expected response.
[W] Jul 17 21:02:31 ndm: Timer: unable to alarm "Network::Interface::LinkDetector" for 30 seconds.
[W] Jul 17 21:02:31 ndm: Timer: "Session /var/run/ndm.core.socket" (12913) backtrace:
[W] Jul 17 21:02:31 ndm: Timer: no backtrace available.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.