В списке Module type нет WBE2S-R-433MHZ


#1

а сам модуль установлен в офисе.
HW 6.5
FW 201901142341

Подскажите что с этим можно сделать, как его добавить?


#2

Здравствуйте!
Пожалуйста, на контроллере выполните

apt-get update

apt-get install wb-hwconf-manager wb-homa-ism-radio linux-image-4.9.22 linux-firmware-image-4.9.22 linux-image-wb6

Это обновит необходимые системные пакеты, и модуль появится в списке устройств.
Приносим искренние извинения за неудобства.


#3

Спасибо, помогло.


#4

Добрый день! Подобная ситуация, модуля нет в списке. Необходимо выполнить такую же команду или на данный момент может отличаться ?
FW 201808151542
HW 6.3


#5

Добрый день! Да, команды обновления по-прежнему актуальны.


#6

результат выполнения команды apt-get update:
root@wirenboard-A7NAXHXU:~# apt-get update
Ign:1 http://mirror.yandex.ru/debian stretch InRelease
Get:2 http://mirror.yandex.ru/debian stretch-updates InRelease [91.0 kB]
Get:3 http://security.debian.org stretch/updates InRelease [94.3 kB]
Get:4 http://releases.contactless.ru/stable/stretch stretch InRelease [10.6 kB]
Get:6 http://mirror.yandex.ru/debian stretch Release [118 kB]
Get:7 http://mirror.yandex.ru/debian stretch Release.gpg [2434 B]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:8 http://mirror.yandex.ru/debian stretch-updates/main armhf Packages.diff/Index [11.6 kB]
Get:9 http://mirror.yandex.ru/debian stretch-updates/main Translation-en.diff/Index [6148 B]
Get:10 http://mirror.yandex.ru/debian stretch-updates/main armhf Packages [27.3 kB]
Get:11 http://mirror.yandex.ru/debian stretch-updates/main Translation-en [11.3 kB]
Get:12 http://security.debian.org stretch/updates/main armhf Packages [489 kB]
Get:13 http://security.debian.org stretch/updates/main Translation-en [226 kB]
Get:14 http://releases.contactless.ru/stable/stretch stretch/main armhf Packages [86.4 kB]
Get:15 http://releases.contactless.ru/stable/stretch stretch/main all Packages [35.7 kB]
Get:16 http://mirror.yandex.ru/debian stretch/main armhf Packages [6912 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian stretch-backports/main armhf Packages.diff/Index [27.8 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian stretch-backports/main armhf Packages.diff/Index [27.8 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en.diff/Index [27.8 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en.diff/Index [27.8 kB]
Get:19 http://cdn-fastly.deb.debian.org/debian stretch-backports/main armhf Packages [592 kB]
Get:20 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en [463 kB]
Get:21 http://mirror.yandex.ru/debian stretch/main Translation-en [5384 kB]
Reading package lists… Done
E: Could not open file /var/lib/apt/lists/http.debian.net_debian_dists_stretch-backports_main_binary-armhf_Packages.diff_Index - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/http.debian.net_debian_dists_stretch-backports_main_i18n_Translation-en.diff_Index - open (2: No such file or directory)

результат выполнения команды apt-get install wb-hwconf-manager wb-homa-ism-radio linux-image-4.9.22 linux-firmware-image-4.9.22 linux-image-wb6:
root@wirenboard-A7NAXHXU:~# apt-get install wb-hwconf-manager wb-homa-ism-radio linux-image-4.9.22 linux-firmware-image-4.9.22 linux-image-wb6
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘linux-image-4.9.22-wb2’ for regex ‘linux-image-4.9.22’
Note, selecting ‘linux-image-4.9.22-wb6’ for regex ‘linux-image-4.9.22’
Note, selecting ‘linux-firmware-image-4.9.22-wb2’ for regex ‘linux-firmware-image-4.9.22’
Note, selecting ‘linux-firmware-image-4.9.22-wb6’ for regex ‘linux-firmware-image-4.9.22’
The following packages were automatically installed and are no longer required:
libssl1.0.0 u-boot-tools
Use ‘apt autoremove’ to remove them.
The following additional packages will be installed:
u-boot-tools u-boot-tools-wb wb-configs wb-configs-stretch wb-mqtt-homeui
wb-mqtt-serial wb-rules-system wb-utils
The following NEW packages will be installed:
linux-firmware-image-4.9.22-wb2 u-boot-tools-wb
The following packages will be upgraded:
linux-firmware-image-4.9.22-wb6 linux-image-4.9.22-wb6 linux-image-wb6
u-boot-tools wb-configs wb-configs-stretch wb-homa-ism-radio
wb-hwconf-manager wb-mqtt-homeui wb-mqtt-serial wb-rules-system wb-utils
12 upgraded, 2 newly installed, 0 to remove and 80 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 3316 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://releases.contactless.ru/stable/stretch stretch/main armhf linux-firmware-image-4.9.22-wb2 all 4.9+wb20190126112722 [1014 kB]
Get:2 http://releases.contactless.ru/stable/stretch stretch/main armhf linux-firmware-image-4.9.22-wb6 all 4.9+wb20190126112722 [1014 kB]
Get:3 http://releases.contactless.ru/stable/stretch stretch/main armhf linux-image-4.9.22-wb6 armhf 4.9+wb20190126112722 [10.7 MB]
Get:4 http://releases.contactless.ru/stable/stretch stretch/main armhf linux-image-wb6 armhf 4.9+wb20190126112722 [994 B]
Get:5 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-configs all 1.81.0 [31.6 kB]
Get:6 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-configs-stretch all 1.81.0 [13.3 kB]
Get:7 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-mqtt-serial armhf 1.53.0 [132 kB]
Get:8 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-hwconf-manager all 1.28.0 [50.4 kB]
Get:9 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-mqtt-homeui all 1.7.1 [3080 kB]
Get:10 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-rules-system all 1.6.2 [4446 B]
Get:11 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-utils all 2.1.2 [24.9 kB]
Get:12 http://releases.contactless.ru/stable/stretch stretch/main armhf u-boot-tools all 2:2017.03+wb-2 [6620 B]
Get:13 http://releases.contactless.ru/stable/stretch stretch/main armhf u-boot-tools-wb armhf 2:2017.03+wb-2 [103 kB]
Get:14 http://releases.contactless.ru/stable/stretch stretch/main armhf wb-homa-ism-radio all 1.17.3 [29.0 kB]
Fetched 16.2 MB in 21s (744 kB/s)
Selecting previously unselected package linux-firmware-image-4.9.22-wb2.
(Reading database … 28403 files and directories currently installed.)
Preparing to unpack …/00-linux-firmware-image-4.9.22-wb2_4.9+wb20190126112722_all.deb …
Unpacking linux-firmware-image-4.9.22-wb2 (4.9+wb20190126112722) …
Preparing to unpack …/01-linux-firmware-image-4.9.22-wb6_4.9+wb20190126112722_all.deb …
Unpacking linux-firmware-image-4.9.22-wb6 (4.9+wb20190126112722) over (4.9+wb20180901162751) …
Preparing to unpack …/02-linux-image-4.9.22-wb6_4.9+wb20190126112722_armhf.deb …
Unpacking linux-image-4.9.22-wb6 (4.9+wb20190126112722) over (4.9+wb20180901162751) …
Preparing to unpack …/03-linux-image-wb6_4.9+wb20190126112722_armhf.deb …
Unpacking linux-image-wb6 (4.9+wb20190126112722) over (4.9+wb20180901162751) …
Preparing to unpack …/04-wb-configs_1.81.0_all.deb …
Unpacking wb-configs (1.81.0) over (1.77.1) …
dpkg: warning: unable to delete old directory ‘/etc/udev/wb’: Directory not empty
Preparing to unpack …/05-wb-configs-stretch_1.81.0_all.deb …
Unpacking wb-configs-stretch (1.81.0) over (1.77.1) …
Preparing to unpack …/06-wb-mqtt-serial_1.53.0_armhf.deb …
Unpacking wb-mqtt-serial (1.53.0) over (1.44) …
Preparing to unpack …/07-wb-hwconf-manager_1.28.0_all.deb …
Unpacking wb-hwconf-manager (1.28.0) over (1.24.1) …
Preparing to unpack …/08-wb-mqtt-homeui_1.7.1_all.deb …
Unpacking wb-mqtt-homeui (1.7.1) over (1.7) …
Preparing to unpack …/09-wb-rules-system_1.6.2_all.deb …
Unpacking wb-rules-system (1.6.2) over (1.6) …
Preparing to unpack …/10-wb-utils_2.1.2_all.deb …
Unpacking wb-utils (2.1.2) over (1.75.6) …
Preparing to unpack …/11-u-boot-tools_2%3a2017.03+wb-2_all.deb …
Unpacking u-boot-tools (2:2017.03+wb-2) over (2017.03+wb-1) …
Selecting previously unselected package u-boot-tools-wb.
Preparing to unpack …/12-u-boot-tools-wb_2%3a2017.03+wb-2_armhf.deb …
Unpacking u-boot-tools-wb (2:2017.03+wb-2) …
Preparing to unpack …/13-wb-homa-ism-radio_1.17.3_all.deb …
Unpacking wb-homa-ism-radio (1.17.3) over (1.17.2) …
Setting up linux-image-4.9.22-wb6 (4.9+wb20190126112722) …
Setting up linux-firmware-image-4.9.22-wb2 (4.9+wb20190126112722) …
Setting up wb-configs-stretch (1.81.0) …
Adding ‘diversion of /etc/avahi/avahi-daemon.conf to /etc/avahi/avahi-daemon.conf.wb-orig by wb-configs-stretch’
Setting up u-boot-tools-wb (2:2017.03+wb-2) …
Processing triggers for systemd (232-25+deb9u4) …
Setting up linux-firmware-image-4.9.22-wb6 (4.9+wb20190126112722) …
Setting up u-boot-tools (2:2017.03+wb-2) …
Setting up linux-image-wb6 (4.9+wb20190126112722) …
Setting up wb-configs (1.81.0) …
Installing new version of config file /etc/wb-configs.d/01wb-configs …
*** OMINOUS WARNING ***: /etc/hostname is not linked to either hostname.wb or hostname.wb-orig
*** OMINOUS WARNING ***: /etc/network/interfaces is not linked to either interfaces.wb or interfaces.wb-orig
*** OMINOUS WARNING ***: /etc/dnsmasq.conf is not linked to either dnsmasq.conf.wb or dnsmasq.conf.wb-orig
*** OMINOUS WARNING ***: /etc/hostapd.conf is not linked to either hostapd.conf.wb or hostapd.conf.wb-orig
Adding ‘diversion of /etc/fw_env.config to /etc/fw_env.config.wb-orig by wb-configs’
Removing obsolete conffile /etc/apt/preferences …
Removing obsolete conffile /etc/preferences …
Setting up wb-utils (2.1.2) …
Installing new version of config file /etc/init.d/wb-init …
Installing new version of config file /etc/wb_env.sh …
Setting up wb-homa-ism-radio (1.17.3) …
Installing new version of config file /etc/init.d/wb-homa-ism-radio …
Setting up wb-hwconf-manager (1.28.0) …

A new version (/usr/share/wb-hwconf-manager/wb-hardware.conf.wb61) of
configuration file /mnt/data/etc/wb-hardware.conf is available, but the version installed currently has been locally modified.

{здесь был выбран вариант “install the package maintainer’s version”}

Replacing config file /mnt/data/etc/wb-hardware.conf with new version
Setting up wb-mqtt-serial (1.53.0) …
Installing new version of config file /etc/init.d/wb-mqtt-serial …

A new version (/usr/share/wb-mqtt-serial/wb-mqtt-serial.conf.wb6) of configuration file /mnt/data/etc/wb-mqtt-serial.conf is available, but the version installed currently has been locally modified.

{здесь был выбран вариант “keep the local version currently installed”}

Setting up wb-mqtt-homeui (1.7.1) …
Setting up wb-rules-system (1.6.2) …
Processing triggers for systemd (232-25+deb9u4) …

После этого в разделе Configs - Hardware Modules Configuration в Internal slot 3 выбрали “WBE2S-R-433MHZ” и нажали Save, но в веб-интерфейсе устройство ISM Radio не появилось.
Что делать дальше ?


#7

Обнаружилась еще одна особенность. Если выбрать в Internal slot 3 - “none”, нажать кнопку Save, а потом опять “WBE2S-R-433MHZ”, то после нажатия на кнопку Save контроллер перезагружается…


#8

Добрый день, Arti-san! Сейчас проверю на стенде, напишу.


#9

Не могу пока воспроизвести вашу проблему у себя.
Удалить модуль из конфигурации, перезагрузить контроллер, добавить модуль и прислать лог /var/log/messages ?
Что показывает вывод service wb-homa-ism-radio status ?


#10

root@wirenboard-A7NAXHXU:~# service wb-homa-ism-radio status
● wb-homa-ism-radio.service - LSB: MQTT driver for WB HomA for RFM69 ISM radio
Loaded: loaded (/etc/init.d/wb-homa-ism-radio; generated; vendor preset: enabled)
Active: active (exited) since Wed 2019-09-04 17:21:21 +05; 4h 58min ago
Docs: man:systemd-sysv-generator(8)
Process: 1498 ExecStart=/etc/init.d/wb-homa-ism-radio start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/wb-homa-ism-radio.service

Sep 04 17:21:08 wirenboard-A7NAXHXU systemd[1]: Starting LSB: MQTT driver for WB HomA for RFM69 ISM radio…
Sep 04 17:21:21 wirenboard-A7NAXHXU wb-homa-ism-radio[1498]: Starting MQTT driver for WB HomA for RFM69 ISM radio: wb-homa-rcd.
Sep 04 17:21:21 wirenboard-A7NAXHXU systemd[1]: Started LSB: MQTT driver for WB HomA for RFM69 ISM radio.


#11

Фрагмент лога после добавления устройства:
Sep 5 10:46:34 wirenboard-A7NAXHXU user.info wb-hwconf-manager: Adding wb6-mod3:wbe2s-r-433mhz
Sep 5 10:46:34 wirenboard-A7NAXHXU user.info wb-hwconf-manager: Initializing wb6-mod3:wbe2s-r-433mhz.
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info wb-hwconf-manager: Warning (reg_format): “reg” property in /fragment_add_spi_dev/overlay/spidev@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info wb-hwconf-manager: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment_add_spi_dev/overlay/spidev@0
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info wb-hwconf-manager: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment_add_spi_dev/overlay/spidev@0
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info kernel: [ 111.244281] spi_imx 2008000.ecspi: probed
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info kernel: [ 111.265647] lirc_pwm lirc-rfm69-mod3: GPIO receiver on pin 85
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info kernel: [ 111.296154] lirc_pwm lirc-rfm69-mod3: lirc_dev: driver lirc-rfm69-mod3 registered at minor = 1
Sep 5 10:46:35 wirenboard-A7NAXHXU user.info kernel: [ 111.330787] lirc_pwm lirc-rfm69-mod3: probed
Sep 5 10:46:37 wirenboard-A7NAXHXU user.info wb-hwconf-manager: …


#12

Arti-san, прошу прощения, я на весь лог хотел бы посмотреть.


#13

messages.zip.txt (174.4 КБ)
пришлось поставить расширение txt, чтобы прикрепить файл, там zip-архив


#14

Спасибо, не нашел ничего в логе.
Удалите, пожалуйста, модуль из конфигурации, затем добавьте и покажите вывод dmesg


#15

root@wirenboard-A7NAXHXU:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.22-wb6 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 SMP Sat Jan 26 11:34:05 UTC 2019
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Wiren Board rev. 6.1 (i.MX6UL/ULL)
[ 0.000000] cma: Reserved 16 MiB at 0x9f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c0b4b100, node_mem_map deb34000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 14 pages/cpu @defc8000 s25932 r8192 d23220 u57344
[ 0.000000] pcpu-alloc: s25932 r8192 d23220 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait ro
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 492244K/524288K available (6144K kernel code, 302K rwdata, 2264K rodata, 1024K init, 342K bss, 15660K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0a00000 - 0xc0b00000 (1024 kB)
.data : 0xc0b00000 - 0xc0b4b9c0 ( 303 kB)
.bss : 0xc0b4d000 - 0xc0ba282c ( 343 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000051] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002504] Console: colour dummy device 80x30
[ 0.002546] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=240000)
[ 0.002577] pid_max: default: 32768 minimum: 301
[ 0.002775] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002801] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.004103] CPU: Testing write buffer coherency: ok
[ 0.004613] /cpus/cpu@0 missing clock-frequency property
[ 0.004654] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004709] Setting up static identity map for 0x80100000 - 0x80100070
[ 0.007088] Brought up 1 CPUs
[ 0.007121] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.007138] CPU: All CPU(s) started in SVC mode.
[ 0.008514] devtmpfs: initialized
[ 0.034891] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.035642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.035693] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.037019] pinctrl core: initialized pinctrl subsystem
[ 0.039252] NET: Registered protocol family 16
[ 0.041335] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.044142] cpuidle: using governor menu
[ 0.078406] No ATAGs?
[ 0.078460] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.078483] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.080705] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.125680] mxs-dma 1804000.dma-apbh: initialized
[ 0.130265] SCSI subsystem initialized
[ 0.130897] usbcore: registered new interface driver usbfs
[ 0.131058] usbcore: registered new interface driver hub
[ 0.131422] usbcore: registered new device driver usb
[ 0.133189] i2c-gpio i2c_rtc: using pins 48 (SDA) and 49 (SCL)
[ 0.134096] i2c-gpio i2c_eeprom1: using pins 76 (SDA) and 67 (SCL)
[ 0.134979] i2c-gpio i2c_eeprom2: using pins 70 (SDA) and 71 (SCL)
[ 0.136321] i2c i2c-1: IMX I2C adapter registered
[ 0.136363] i2c i2c-1: can’t use DMA, using PIO instead.
[ 0.136710] Linux video capture interface: v2.00
[ 0.136868] pps_core: LinuxPPS API ver. 1 registered
[ 0.136885] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.136940] PTP clock support registered
[ 0.137678] Advanced Linux Sound Architecture Driver Initialized.
[ 0.140160] clocksource: Switched to clocksource mxc_timer1
[ 0.164240] NET: Registered protocol family 2
[ 0.165454] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.165576] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.165734] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.165850] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.165904] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.166215] NET: Registered protocol family 1
[ 0.167054] RPC: Registered named UNIX socket transport module.
[ 0.167086] RPC: Registered udp transport module.
[ 0.167102] RPC: Registered tcp transport module.
[ 0.167118] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.171925] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.188591] NFS: Registering the id_resolver key type
[ 0.188662] Key type id_resolver registered
[ 0.188681] Key type id_legacy registered
[ 0.198829] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.198863] io scheduler noop registered (default)
[ 0.198880] io scheduler deadline registered
[ 0.198954] io scheduler cfq registered
[ 0.205636] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.205679] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[ 0.214666] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
[ 0.793917] console [ttymxc0] enabled
[ 0.799429] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 55, base_baud = 5000000) is a IMX
[ 0.809711] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 56, base_baud = 5000000) is a IMX
[ 0.853060] imx_rngc 2284000.rngb: Freescale RNGC registered.
[ 0.859117] [drm] Initialized
[ 0.897270] brd: module loaded
[ 0.916203] loop: module loaded
[ 0.924476] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[ 0.935909] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[ 0.946741] libphy: Fixed MDIO Bus: probed
[ 0.953343] 20b4000.ethernet supply phy not found, using dummy regulator
[ 0.961392] pps pps0: new PPS source ptp0
[ 0.994436] libphy: fec_enet_mii_bus: probed
[ 1.000078] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.120249] 2188000.ethernet supply phy not found, using dummy regulator
[ 1.241291] pps pps1: new PPS source ptp1
[ 1.246520] libphy: fec_enet_mii_bus: probed
[ 1.254512] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.261059] PPP generic driver version 2.4.2
[ 1.265848] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.272531] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.278347] usbcore: registered new interface driver usb-storage
[ 1.284965] usbcore: registered new interface driver usbserial
[ 1.291100] usbcore: registered new interface driver usbserial_generic
[ 1.297760] usbserial: USB Serial support registered for generic
[ 1.304430] mousedev: PS/2 mouse device common for all mice
[ 1.368035] rtc-pcf8563 4-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 1.384172] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[ 1.393288] i2c /dev entries driver
[ 1.406564] lm75 4-0048: hwmon0: sensor ‘lm75b’
[ 1.527426] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 1.535776] sdhci: Secure Digital Host Controller Interface driver
[ 1.542112] sdhci: Copyright© Pierre Ossman
[ 1.546497] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.620232] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 1.639885] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.664490] usbcore: registered new interface driver usbhid
[ 1.672249] usbhid: USB HID core driver
[ 1.697956] NET: Registered protocol family 10
[ 1.705133] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.712975] NET: Registered protocol family 17
[ 1.717638] Key type dns_resolver registered
[ 1.726875] Registering SWP/SWPB emulation handler
[ 1.733768] registered taskstats version 1
[ 1.759039] random: fast init done
[ 1.763715] mmc0: new DDR MMC card at address 0001
[ 1.770749] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 1.781717] mmcblk0: mmc0:0001 W62704 3.53 GiB
[ 1.786647] mmcblk0boot0: mmc0:0001 W62704 partition 1 2.00 MiB
[ 1.805559] rtc-pcf8563 4-0051: setting system clock to 2019-09-05 11:27:56 UTC (1567682876)
[ 1.814056] of_cfs_init
[ 1.816622] mmcblk0boot1: mmc0:0001 W62704 partition 2 2.00 MiB
[ 1.823090] mmcblk0rpmb: mmc0:0001 W62704 partition 3 512 KiB
[ 1.832050] of_cfs_init: OK
[ 1.840501] mmcblk0: p1 p2 p3 p4 < p5 p6 >
[ 1.847878] vdd3p0: disabling
[ 1.852106] vref-3v3: disabling
[ 1.855276] usb1_vbus: disabling
[ 1.858513] usb2_vbus: disabling
[ 1.861846] ALSA device list:
[ 1.864826] No soundcards found.
[ 1.869268] EXT4-fs (mmcblk0p2): couldn’t mount as ext3 due to feature incompatibilities
[ 1.878147] EXT4-fs (mmcblk0p2): couldn’t mount as ext2 due to feature incompatibilities
[ 1.887602] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.895020] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.916555] EXT4-fs (mmcblk0p2): recovery complete
[ 1.922913] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.931145] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.938741] devtmpfs: mounted
[ 1.943180] Freeing unused kernel memory: 1024K (c0a00000 - c0b00000)
[ 2.171907] ip_tables: © 2000-2006 Netfilter Core Team
[ 2.194628] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 2.213900] systemd[1]: Detected architecture arm.
[ 2.254653] systemd[1]: Set hostname to .
[ 2.838209] systemd[1]: Created slice System Slice.
[ 2.870576] systemd[1]: Reached target Remote File Systems.
[ 2.901017] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 2.944547] systemd[1]: Mounting /sys/kernel/config…
[ 2.981410] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.023934] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.060908] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.030645] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 4.372937] systemd-journald[144]: Received request to flush runtime journal from PID 1
[ 5.721141] lirc_dev: IR Remote Control driver registered, major 245
[ 5.789714] Driver for 1-wire Dallas network protocol.
[ 5.796241] lirc_pwm: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.872934] lirc_pwm lirc-rfm69: GPIO receiver on pin 77
[ 5.950466] lirc_pwm lirc-rfm69: lirc_dev: driver lirc-rfm69 registered at minor = 0
[ 5.958237] lirc_pwm lirc-rfm69: probed
[ 6.243117] fec 20b4000.ethernet rename2: renamed from eth0
[ 6.587732] fec 2188000.ethernet eth0: renamed from eth1
[ 6.601989] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 6.606941] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 6.668002] fec 20b4000.ethernet eth1: renamed from rename2
[ 6.750329] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 6.800773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.807590] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.814952] usb usb1: Product: EHCI Host Controller
[ 6.819843] usb usb1: Manufacturer: Linux 4.9.22-wb6 ehci_hcd
[ 6.825634] usb usb1: SerialNumber: ci_hdrc.0
[ 7.080439] hub 1-0:1.0: USB hub found
[ 7.107942] hub 1-0:1.0: 1 port detected
[ 7.175449] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 7.234695] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 7.370318] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 7.411963] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.418781] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.426162] usb usb2: Product: EHCI Host Controller
[ 7.431087] usb usb2: Manufacturer: Linux 4.9.22-wb6 ehci_hcd
[ 7.436845] usb usb2: SerialNumber: ci_hdrc.1
[ 7.730640] hub 2-0:1.0: USB hub found
[ 7.766131] hub 2-0:1.0: 1 port detected
[ 8.160313] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 8.209858] Adding 262140k swap on /dev/mmcblk0p5. Priority:-1 extents:1 across:262140k SS
[ 8.371098] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[ 8.377852] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8.395676] hub 2-1:1.0: USB hub found
[ 8.402445] hub 2-1:1.0: 4 ports detected
[ 8.720313] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[ 8.881903] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720
[ 8.888864] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8.896315] usb 2-1.1: Product: 802.11n WLAN Adapter
[ 8.901322] usb 2-1.1: Manufacturer: Realtek
[ 8.905601] usb 2-1.1: SerialNumber: 00e04c000001
[ 9.113339] Bluetooth: Core ver 2.22
[ 9.117072] NET: Registered protocol family 31
[ 9.121672] Bluetooth: HCI device and connection manager initialized
[ 9.174129] Bluetooth: HCI socket layer initialized
[ 9.182258] Bluetooth: L2CAP socket layer initialized
[ 9.188596] Bluetooth: SCO socket layer initialized
[ 9.211993] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 9.261408] usbcore: registered new interface driver btusb
[ 9.271677] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 9.280479] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[ 9.318117] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[ 9.327396] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
[ 9.333977] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 9.346655] Bluetooth: hci0: rom_version status=0 version=1
[ 9.352450] Bluetooth: cfg_sz 0, total size 22496
[ 9.750312] 8723bu: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.799188] RTL871X: module init start
[ 9.803128] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
[ 9.810101] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
[ 10.057947] RTL871X: rtw_ndev_init(wlan0)
[ 10.074645] RTL871X: rtw_ndev_init(wlan1)
[ 10.094258] usbcore: registered new interface driver rtl8723bu
[ 10.100250] RTL871X: module init ret=0
[ 11.697685] RTL871X: RTW_ADAPTIVITY_EN_
[ 11.701515] AUTO, chplan:0x20, Regulation:3,3
[ 11.705886] RTL871X: RTW_ADAPTIVITY_MODE_
[ 11.709751] NORMAL
[ 11.751298] cgroup: new mount options do not match the existing superblock, will be ignored
[ 12.995942] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.001399] Bluetooth: BNEP filters: protocol multicast
[ 13.080456] Bluetooth: BNEP socket layer initialized
[ 14.036094] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 16.092007] RTL871X: nolinked power save enter
[ 17.373785] random: crng init done
[ 26.149813] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 250, base_baud = 5000000) is a IMX
[ 41.210778] SMSC LAN8710/LAN8720 2188000.ethernet:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
[ 41.416821] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 41.813059] Micrel KSZ8081 or KSZ8091 2188000.ethernet:03: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:03, irq=-1)
[ 42.013173] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 43.530799] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 43.610329] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 192.104607] spi_imx 2008000.ecspi: probed
[ 192.117488] lirc_pwm lirc-rfm69-mod3: GPIO receiver on pin 85
[ 192.149150] lirc_pwm lirc-rfm69-mod3: lirc_dev: driver lirc-rfm69-mod3 registered at minor = 1
[ 192.186616] lirc_pwm lirc-rfm69-mod3: probed


#16

Пожалуйста, выполните:

service wb-homa-ism-radio stop  
wb_source of; of_gpio_to_num $(of_get_prop_gpio /wirenboard/radio irq-gpios)  

Подождите некоторое время, попробуйте передать что-то по радио (если есть возможность), остановите Ctrl-C и пришлите вывод.


#17

есть реле noolite, как передать по радио ?
я так понял, что как раз в веб-интерфейсе должны появится шаблоны устройств, а они не появились


#18

Да, должны, их как раз создает служба wb-homa-ism-radio. Но у вас она почему-то не запускается. Вот хочется понять, почему. Попробовали команду из сообщения выше?


#19

root@wirenboard-A7NAXHXU:~# wb_source of; of_gpio_to_num $(of_get_prop_gpio /wirenboard/radio irq-gpios)
75


#20

Спасибо! Теперь убедитесь, что wb-homa-ism-radio остановлен (или exited) и запустите команду
/usr/bin/python /usr/bin/wb-homa-rcd 0 75 -1
Попробуйте попередавать какие-то радиопакеты, через некоторое время остановите (Ctrl-C) и покажите здесь вывод. Так мы убедимся, что модуль исправен. Не забудьте подключить антенну.