Jump to content
  • 0

3.9а Alpha 2: посылка AT-команд для модемов UsbLte, UsbQmi


r13

Question

@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. 

 

  • Thanks 1
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
В 17.07.2022 в 22:24, vst сказал:

Скорее всего для данного модема(03f0:0857) неправильно выставлен номер tty интерфейса. Сейчас используется нулевой. Через minicom какой отвечает?

Там к сожалению entware нет, как доберусь до него проверю.

Link to comment
Share on other sites

  • 0
В 01.08.2022 в 17:30, vst сказал:

Использовался ttyUSB2.  Модема нет в наличии, приходится гадать. Переключил на ttyUSB0.

Добрался таки с другим роутером.

В миником отвечают ttyUSB0 и ttyUSB1 так что жду следующей сборки

  • Upvote 1
Link to comment
Share on other sites

  • 0

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.

  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...