Opened 5 years ago

Last modified 4 years ago

#35 closed баг

Модуль SIM включается в работу только после многократных перевключений питания — at Initial Version

Reported by: san Owned by: alx
Priority: major Milestone: 1 очередь
Keywords: Cc: andrei

Description

Пользователи выслали нам логи работы устройств, в логе одного из устройств(назовём его клиент2) я вижу что контроллер дёргает питанием сима 8 раз подряд прежде чем Sim выйдет в рабочий режим.
В логах других устройств подобных сценариев пока не обнаружил, а в логах клиент2 такое поведение встречается не раз. Думаю что это, как минимум, странно и нужно попытаться понять причины.
Все логи которые есть можно увидеть в xchange\alx\Test_and_bugs\Рамис, там логи от трёх разных устройств, в том числе и клиент2.
Вот фрагмент лога(r140) с описанным поведением:

Jul  4 17:52:16 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:52:16 kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Jul  4 17:52:16 kernel: option 1-2:1.2: device disconnected
Jul  4 17:52:16 pppd[22895]: Hangup (SIGHUP)
Jul  4 17:52:16 pppd[22895]: Modem hangup
Jul  4 17:52:16 pppd[22895]: Connect time 20.5 minutes.
Jul  4 17:52:16 pppd[22895]: Sent 3441244 bytes, received 2145184 bytes.
Jul  4 17:52:16 pppd[22895]: Script /etc/ppp/ip-down started (pid 23002)
Jul  4 17:52:16 pppd[22895]: Connection terminated.
Jul  4 17:52:16 kernel: option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Jul  4 17:52:16 kernel: option 1-2:1.3: device disconnected
Jul  4 17:52:16 kernel: option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
Jul  4 17:52:16 kernel: option 1-2:1.4: device disconnected
Jul  4 17:52:16 pppd[22895]: Script /etc/ppp/ip-down finished (pid 23002), status = 0x0
Jul  4 17:52:18 ntpd[253]: Deleting interface #78 ppp0, 46.23.190.112#123, interface stats: received=47, sent=51, dropped=0, active_time=1230 secs
Jul  4 17:52:18 ntpd[253]: 91.189.94.4 local addr 46.23.190.112 -> <null>
Jul  4 17:52:18 ntpd[253]: 91.189.91.157 local addr 46.23.190.112 -> <null>
Jul  4 17:52:18 ntpd[253]: 91.189.89.199 local addr 46.23.190.112 -> <null>
Jul  4 17:52:18 ntpd[253]: 91.189.89.198 local addr 46.23.190.112 -> <null>
Jul  4 17:52:21 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:52:36 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:52:36 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:52:41 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:52:46 pppd[22895]: Failed to open /dev/modem: No such file or directory
Jul  4 17:52:56 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:52:56 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:53:01 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:53:14 ntpd[253]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Jul  4 17:53:16 3gd[17863]: tcp_tty.cpp:355: TCP inactivity timeout
Jul  4 17:53:16 3gd[17863]: link.cpp:192: --> Link::error(): connection closed (16)
Jul  4 17:53:16 pppd[22895]: Failed to open /dev/modem: No such file or directory
Jul  4 17:53:16 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:53:16 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:53:21 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:53:37 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:53:37 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:53:42 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:53:46 3gd[17863]: tcp_tty.cpp:181: connecting to 46.23.184.150 port 1001 (fd 16)...
Jul  4 17:53:46 3gd[17863]: tcp_tty.cpp:197: cannot connect: Network is unreachable
Jul  4 17:53:46 3gd[17863]: link.cpp:192: --> Link::error(): connection closed (-1)
Jul  4 17:53:46 pppd[22895]: Failed to open /dev/modem: No such file or directory
Jul  4 17:53:57 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:53:57 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:54:02 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:54:16 3gd[17863]: tcp_tty.cpp:181: connecting to 46.23.184.150 port 1001 (fd 16)...
Jul  4 17:54:16 3gd[17863]: tcp_tty.cpp:197: cannot connect: Network is unreachable
Jul  4 17:54:16 3gd[17863]: link.cpp:192: --> Link::error(): connection closed (-1)
Jul  4 17:54:16 pppd[22895]: Failed to open /dev/modem: No such file or directory
Jul  4 17:54:17 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:54:17 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:54:20 ntpd[253]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Jul  4 17:54:22 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:54:37 3gd[17863]: sim5320.cpp:190: cannot open /dev/ttyUSB2: No such file or directory
Jul  4 17:54:37 3gd[17863]: sim5320.cpp:164: powering off SIM5320...
Jul  4 17:54:42 3gd[17863]: sim5320.cpp:139: powering on SIM5320...
Jul  4 17:54:43 kernel: usb 1-2: new high-speed USB device number 39 using atmel-ehci
Jul  4 17:54:43 kernel: usb 1-2: New USB device found, idVendor=1e0e, idProduct=9001
Jul  4 17:54:43 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  4 17:54:43 kernel: usb 1-2: Product: SimTech, Incorporated
Jul  4 17:54:43 kernel: usb 1-2: Manufacturer: SimTech, Incorporated
Jul  4 17:54:43 kernel: usb 1-2: SerialNumber: 0123456789ABCDEF
Jul  4 17:54:43 kernel: option 1-2:1.0: GSM modem (1-port) converter detected
Jul  4 17:54:43 kernel: usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
Jul  4 17:54:43 kernel: option 1-2:1.1: GSM modem (1-port) converter det
...
...

Change History (0)

Note: See TracTickets for help on using tickets.