В контроллер 8.4 добавлены модули:
WBE2-DO-R6C-1 в MOD1 + MOD3,
WBE2R-R-ZIGBEE v.2 в MOD2,
WBMZ4-SUPERCAP в батарею
В логах очень странные ошибки.
Непонятны предупреждения о невозможности чтения некоторых устройств.
Но вот ошибки … очень странно.
13-02-2025 12:30:22.013 [wpa_supplicant] wlan0: WPA: Group rekeying completed with dc:2c:6e:14:a6:7c [GTK=CCMP]
13-02-2025 12:30:22.011 RTW: send eapol packet - WPA Group Key 2/2
13-02-2025 12:30:22.011 RTW: set group key camid:2, addr:dc:2c:6e:14:a6:7c, kid:2, type:AES
13-02-2025 12:30:21.998 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:30:19.735 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD3, can't get termios attributes Input/output error (5)
13-02-2025 12:30:15.724 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD1, can't open serial port
13-02-2025 12:30:15.724 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD1, can't open serial port
13-02-2025 12:29:59.902 [NetworkManager] <info> [1739438999.9024] dhcp4 (wlan0): state changed new lease, address=172.26.128.248
13-02-2025 12:29:16.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:27:15.427 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:25:31.567 [wb-mqtt-serial] WARNING: [modbus] failed to read 7 input(s) @ 33 of device </dev/ttyRS485-1 115200 8 N 2> modbus:193: Serial protocol error: malformed response: invalid crc
13-02-2025 12:25:22.028 [wb-mqtt-serial] WARNING: [modbus] failed to read 7 coil(s) @ 5100 of device </dev/ttyRS485-1 115200 8 N 2> modbus:157: Serial protocol error: request timed out
13-02-2025 12:25:22.011 [wpa_supplicant] wlan0: WPA: Group rekeying completed with dc:2c:6e:14:a6:7c [GTK=CCMP]
13-02-2025 12:25:22.007 RTW: send eapol packet - WPA Group Key 2/2
13-02-2025 12:25:22.007 RTW: set group key camid:1, addr:dc:2c:6e:14:a6:7c, kid:1, type:AES
13-02-2025 12:25:21.997 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:25:21.997 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:25:19.586 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD3, can't get termios attributes Input/output error (5)
13-02-2025 12:25:15.587 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD1, can't open serial port
13-02-2025 12:25:14.453 [wb-mqtt-serial] WARNING: [modbus] failed to read 2 input(s) @ 270 of device </dev/ttyRS485-1 115200 8 N 2> modbus:193: Serial protocol error: request timed out
13-02-2025 12:25:14.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:24:59.865 [NetworkManager] <info> [1739438699.8650] dhcp4 (wlan0): state changed new lease, address=172.26.128.248
13-02-2025 12:24:28.587 [wb-mqtt-serial] WARNING: [modbus] failed to read 2 input(s) @ 270 of device </dev/ttyRS485-1 115200 8 N 2> modbus:123: Serial protocol error: malformed response: invalid crc
13-02-2025 12:23:13.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:21:12.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:20:22.025 [wb-mqtt-serial] WARNING: [modbus] failed to read 98 discrete(s) @ 0 of device </dev/ttyRS485-1 115200 8 N 2> modbus:123: Serial protocol error: request timed out
13-02-2025 12:20:22.025 [wb-mqtt-serial] WARNING: [modbus] failed to read 98 discrete(s) @ 0 of device </dev/ttyRS485-1 115200 8 N 2> modbus:123: Serial protocol error: request timed out
13-02-2025 12:20:22.010 [wpa_supplicant] wlan0: WPA: Group rekeying completed with dc:2c:6e:14:a6:7c [GTK=CCMP]
13-02-2025 12:20:22.007 RTW: send eapol packet - WPA Group Key 2/2
13-02-2025 12:20:22.007 RTW: set group key camid:2, addr:dc:2c:6e:14:a6:7c, kid:2, type:AES
13-02-2025 12:20:21.995 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:20:19.422 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD3, can't get termios attributes Input/output error (5)
13-02-2025 12:20:15.449 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD1, can't open serial port
13-02-2025 12:19:59.860 [NetworkManager] <info> [1739438399.8605] dhcp4 (wlan0): state changed new lease, address=172.26.128.248
13-02-2025 12:19:35.726 [wb-mqtt-db.service] INFO: [dblogger] Group data limit is reached: group all, row count 102021, limit 100000
13-02-2025 12:19:11.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:19:11.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:17:10.427 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
13-02-2025 12:17:01.179 [cron] pam_unix(cron:session): session closed for user root
13-02-2025 12:17:01.172 [cron] (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
13-02-2025 12:17:01.170 [cron] pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
13-02-2025 12:15:22.022 [wb-mqtt-serial] WARNING: [modbus] failed to read 2 holding(s) @ 97 of device </dev/ttyRS485-1 115200 8 N 2> modbus:126: Serial protocol error: malformed response: invalid crc
13-02-2025 12:15:22.008 [wpa_supplicant] wlan0: WPA: Group rekeying completed with dc:2c:6e:14:a6:7c [GTK=CCMP]
13-02-2025 12:15:22.007 RTW: send eapol packet - WPA Group Key 2/2
13-02-2025 12:15:22.007 RTW: set group key camid:1, addr:dc:2c:6e:14:a6:7c, kid:1, type:AES
13-02-2025 12:15:21.994 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:15:21.994 RTW: recv eapol packet - WPA Group Key 1/2
13-02-2025 12:15:19.262 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD3, can't get termios attributes Input/output error (5)
13-02-2025 12:15:15.315 [wb-mqtt-serial] ERROR: [serial client] Serial protocol error: /dev/ttyMOD1, can't open serial port
13-02-2025 12:15:09.442 [wb-mqtt-serial] WARNING: [serial client] Reading events failed: malformed response: invalid packet
13-02-2025 12:15:09.423 RTW: WARN cfg80211_rtw_scan (wlan1) : scan abort!! BusyTraffic
Содержимое правила тоже подозрительное (там нет MOD1, как минимум)
И что могло поменять файлы?
root@wirenboard:~# cat /etc/udev/rules.d/99-wb-uart.rules
KERNEL=="ttyS0", SUBSYSTEM=="tty", SYMLINK+="ttyCONSOLE", GROUP="tty"
KERNEL=="ttyS1", SUBSYSTEM=="tty", SYMLINK+="ttyRS485-2", GROUP="dialout"
KERNEL=="ttyS2", SUBSYSTEM=="tty", SYMLINK+="ttyRS485-1", GROUP="dialout"
KERNEL=="ttyS4", SUBSYSTEM=="tty", SYMLINK+="ttyMOD2", GROUP="dialout"
KERNEL=="ttyS5", SUBSYSTEM=="tty", SYMLINK+="ttyMOD3", GROUP="dialout"
root@wirenboard:~# ls -l /dev | grep ttyMOD
lrwxrwxrwx 1 root root 5 фев 13 11:23 ttyMOD2 -> ttyS4
lrwxrwxrwx 1 root root 5 авг 25 22:05 ttyMOD3 -> ttyS5




