Состояние wb при старте

В виду необходимости, приходится выключать WB (halt -> red LED -> копка). Cостояние на выводах после включения хаотично, правила не работают, но wb-rules запущен. Часто помогает # reset, иногда по несколько раз.
В логах часто после перезагрузки или рестарта wb-rules wirenboard daemon.info wb-rules[…]: ERROR: command ‘/bin/sh -c echo 16666 > /sys/class/pwm/pwmchip0/pwm2/duty_cycle’ failed with exit status 1. Удалял все правила (свои и системные) результат тот-же.
Хочу уточнить, помогает только аккумулятор?

Извините, я ничего не понял.
Итого: вы считаете, что движок правил у вас не работает как нужно?

В таком случае:

  1. удалите (временно) все свои правила из /etc/wb-rules , проверьте, что всё работает
  2. возвращайте правила по одному, пока проблема не повториться
  3. Если сами не разберётесь, выкладывайте сюда полный лог из /var/log/messages с последней загрузки.

В кратце так. После включения правила не работают.

cat /var/log/messages

Sep 9 09:56:02 wirenboard user.notice shutdown[4484]: shutting down for system reboot
Sep 9 09:56:03 wirenboard daemon.info init: Switching to runlevel: 6
Sep 9 09:56:04 wirenboard daemon.info dnsmasq[1843]: exiting on receipt of SIGTERM
Sep 9 09:56:05 wirenboard syslog.info syslogd exiting
Sep 9 09:57:34 wirenboard syslog.info syslogd started: BusyBox v1.20.2
Sep 9 09:57:34 wirenboard user.notice kernel: [ 0.000000] .init : 0xc06ca000 - 0xc0712000 ( 288 kB)
Sep 9 09:57:34 wirenboard user.notice kernel: [ 0.000000] .data : 0xc0712000 - 0xc075d958 ( 303 kB)
Sep 9 09:57:34 wirenboard user.notice kernel: [ 0.000000] .bss : 0xc075d958 - 0xc0f5ec5c (8197 kB)
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.000000] NR_IRQS:16 nr_irqs:16 16
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.000000] Console: colour dummy device 80x30
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] Lock dependency validator: Copyright © 2006 Red Hat, Inc., Ingo Molnar
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … MAX_LOCKDEP_SUBCLASSES: 8
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … MAX_LOCK_DEPTH: 48
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … MAX_LOCKDEP_KEYS: 8191
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … CLASSHASH_SIZE: 4096
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … MAX_LOCKDEP_ENTRIES: 32768
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … MAX_LOCKDEP_CHAINS: 65536
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] … CHAINHASH_SIZE: 32768
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] memory used by lock dependency info: 5167 kB
Sep 9 09:57:34 wirenboard user.warn kernel: [ 0.000000] per task-struct memory footprint: 1152 bytes
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.070000] Calibrating delay loop… 226.09 BogoMIPS (lpj=1130496)
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.070000] pid_max: default: 32768 minimum: 301
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.070000] CPU: Testing write buffer coherency: ok
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.080000] Setting up static identity map for 0x404dbab0 - 0x404dbb08
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.100000] devtmpfs: initialized
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.110000] pinctrl core: initialized pinctrl subsystem
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.160000] NET: Registered protocol family 16
Sep 9 09:57:34 wirenboard user.info kernel: [ 0.160000] DMA: preallocated 256 KiB pool for atomic coherent allocations
Sep 9 09:57:35 wirenboard user.debug kernel: [ 0.190000] gpiochip_add: registered GPIOs 0 to 31 on device: 80018000.pinctrl:gpio@0
Sep 9 09:57:35 wirenboard user.debug kernel: [ 0.200000] gpiochip_add: registered GPIOs 32 to 63 on device: 80018000.pinctrl:gpio@1
Sep 9 09:57:35 wirenboard user.debug kernel: [ 0.200000] gpiochip_add: registered GPIOs 64 to 95 on device: 80018000.pinctrl:gpio@2
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.250000] Serial: AMBA PL011 UART driver
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.250000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 18, base_baud = 0) is a PL011 rev2
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.430000] console [ttyAMA0] enabled
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.510000] mxs-dma 80004000.dma-apbh: initialized
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.530000] mxs-dma 80024000.dma-apbx: initialized
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.540000] usbcore: registered new interface driver usbfs
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.550000] usbcore: registered new interface driver hub
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.550000] usbcore: registered new device driver usb
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.560000] Advanced Linux Sound Architecture Driver Initialized.
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.580000] Switched to clocksource mxs_timer
Sep 9 09:57:35 wirenboard user.info kernel: [ 0.590000] cfg80211: Calling CRDA to update world regulatory domain
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.150000] NET: Registered protocol family 2
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.160000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.160000] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.170000] TCP: Hash tables configured (established 1024 bind 1024)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.180000] TCP: reno registered
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.180000] UDP hash table entries: 256 (order: 2, 20480 bytes)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.190000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.200000] NET: Registered protocol family 1
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.210000] NetWinder Floating Point Emulator V0.97 (double precision)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.220000] futex hash table entries: 256 (order: 1, 11264 bytes)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.360000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.370000] io scheduler noop registered (default)
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.390000] of_dma_request_slave_channel: dma-names property of node ‘/apb@80000000/apbx@80040000/serial@80070000’ missing or empty
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.400000] uart-pl011 80070000.serial: no DMA platform data
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer cts
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘cts-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘cts-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO cts failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer dsr
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dsr-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dsr-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO dsr failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer dcd
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dcd-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dcd-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO dcd failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer rng
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘rng-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘rng-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO rng failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer rts
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘rts-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘rts-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO rts failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer dtr
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dtr-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘dtr-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO dtr failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer out1
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘out1-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘out1-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO out1 failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: GPIO lookup for consumer out2
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘out2-gpios’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] of_get_named_gpiod_flags: can’t parse ‘out2-gpio’ property of node ‘/apb@80000000/apbx@80040000/serial@8006c000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.410000] mxs-auart 8006c000.serial: lookup for GPIO out2 failed
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.410000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 146, base_baud = 1500000) is a 8006c000.serial
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.420000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.440000] mxs-spi 80034000.ssp: cs-gpios count: 3
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.440000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.440000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[1]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.440000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[2]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.450000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.450000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[1]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.450000] of_get_named_gpiod_flags: parsed ‘cs-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80034000[2]’ - status (0)
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.450000] spi_master spi1: will run message pump with realtime priority
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.460000] spi spi1.3: gpio index 0, gpio_cs 3
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.470000] sc16is7x2 spi1.3: probe start
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.480000] sc16is7x2 spi1.3: gpio-base=120
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.480000] sc16is7x2 spi1.3: uartclk=24000000
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.490000] sc16is7x2 spi1.3: uart_base=0
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.490000] irq: 49
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.500000] irq: 49
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.510000] gpiochip_add: registered GPIOs 120 to 127 on device: sc16is7x2
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.510000] sc16is7x2 spi1.3: sc16is7x2 at CS3 (irq 49), 2 UARTs, 8 GPIOs
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.510000] ttyNSC0, ttyNSC1, gpiochip120
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.520000] spi spi1.4: gpio index 1, gpio_cs 4
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.530000] spi spi1.5: gpio index 2, gpio_cs 56
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.540000] PPP generic driver version 2.4.2
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.550000] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.560000] usbcore: registered new interface driver usbserial
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.560000] usbcore: registered new interface driver usbserial_generic
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.570000] usbserial: USB Serial support registered for generic
Sep 9 09:57:35 wirenboard user.warn kernel: [ 1.580000] 80080000.usb supply vbus not found, using dummy regulator
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.600000] ci_hdrc ci_hdrc.0: doesn’t support gadget
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.600000] ci_hdrc ci_hdrc.0: EHCI Host Controller
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.610000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.640000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.640000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.650000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.660000] usb usb1: Product: EHCI Host Controller
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.660000] usb usb1: Manufacturer: Linux 3.19.0-imxv5-x0.1 ehci_hcd
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.670000] usb usb1: SerialNumber: ci_hdrc.0
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.690000] hub 1-0:1.0: USB hub found
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.690000] hub 1-0:1.0: 1 port detected
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.720000] mousedev: PS/2 mouse device common for all mice
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.730000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as rtc0
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.740000] i2c /dev entries driver
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.750000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.760000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/watchdog[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.warn kernel: [ 1.760000] Driver ‘mmcblk’ needs updating - please use bus_type methods
Sep 9 09:57:35 wirenboard user.warn kernel: [ 1.770000] 80010000.ssp supply vmmc not found, using dummy regulator
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: GPIO lookup for consumer cd
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] of_get_named_gpiod_flags: can’t parse ‘cd-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80010000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] of_get_named_gpiod_flags: can’t parse ‘cd-gpio’ property of node ‘/apb@80000000/apbh@80000000/ssp@80010000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: lookup for GPIO cd failed
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: GPIO lookup for consumer wp
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: using device tree for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] of_get_named_gpiod_flags: can’t parse ‘wp-gpios’ property of node ‘/apb@80000000/apbh@80000000/ssp@80010000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] of_get_named_gpiod_flags: can’t parse ‘wp-gpio’ property of node ‘/apb@80000000/apbh@80000000/ssp@80010000[0]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: using lookup tables for GPIO lookup
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.780000] mxs-mmc 80010000.ssp: lookup for GPIO wp failed
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.820000] mxs-mmc 80010000.ssp: initialized
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.830000] imx23-pinctrl 80018000.pinctrl: pin SSP1_DETECT already requested by 80018000.pinctrl; cannot claim for leds
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.840000] imx23-pinctrl 80018000.pinctrl: pin-65 (leds) status -22
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.840000] imx23-pinctrl 80018000.pinctrl: could not request pin 65 (SSP1_DETECT) from group led_gpio2_1.0 on device 80018000.pinctrl
Sep 9 09:57:35 wirenboard user.err kernel: [ 1.860000] leds-gpio leds: Error applying setting, reverse things back
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.870000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/leds/user[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.870000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/leds/green[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 1.880000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/leds/red[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.warn kernel: [ 1.890000] mmc0: host does not support reading read-only switch, assuming write-enable
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.900000] usbcore: registered new interface driver usbhid
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.910000] usbhid: USB HID core driver
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.920000] mmc0: new high speed SDHC card at address b368
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.940000] mmcblk0: mmc0:b368 USD 7.45 GiB
Sep 9 09:57:35 wirenboard user.info kernel: [ 1.970000] mmcblk0: p1 p2 p3
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.010000] mxs-builtin-audio mxs-builtin-audio: mxs-builtin-codec-dai <-> 80048000.mxs-builtin-cpu-dai mapping ok
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.040000] TCP: cubic registered
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.060000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.060000] NET: Registered protocol family 10
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.080000] sit: IPv6 over IPv4 tunneling driver
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.090000] NET: Registered protocol family 17
Sep 9 09:57:35 wirenboard user.notice kernel: [ 2.100000] Key type dns_resolver registered
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.110000] registered taskstats version 1
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.120000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 2015-09-09 09:56:35 UTC (1441792595)
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.170000] ALSA device list:
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.170000] #0: mxs-builtin-audio
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.210000] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.210000] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.240000] hub 1-1:1.0: USB hub found
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.250000] hub 1-1:1.0: 5 ports detected
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.280000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.290000] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.330000] devtmpfs: mounted
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.330000] Freeing unused kernel memory: 288K (c06ca000 - c0712000)
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.560000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.690000] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.690000] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.810000] usb 1-1.4: new high-speed USB device number 4 using ci_hdrc
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.940000] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8179
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.950000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.960000] usb 1-1.4: Product: 802.11n WLAN NIC
Sep 9 09:57:35 wirenboard user.info kernel: [ 2.960000] usb 1-1.4: Manufacturer: Realtek^M
Sep 9 09:57:35 wirenboard user.err kernel: 0>[ 6.020000] udevd[157]: starting version 175
Sep 9 09:57:35 wirenboard user.info kernel: [ 8.870000] Driver for 1-wire Dallas network protocol.
Sep 9 09:57:35 wirenboard user.debug kernel: [ 8.990000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/onewire@0[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 8.990000] of_get_named_gpiod_flags: can’t parse ‘gpios’ property of node ‘/onewire@0[1]’
Sep 9 09:57:35 wirenboard user.debug kernel: [ 9.120000] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/onewire@1[0]’ - status (0)
Sep 9 09:57:35 wirenboard user.debug kernel: [ 9.120000] of_get_named_gpiod_flags: can’t parse ‘gpios’ property of node ‘/onewire@1[1]’
Sep 9 09:57:35 wirenboard user.info kernel: [ 13.470000] smsc95xx v1.0.4
Sep 9 09:57:35 wirenboard user.warn kernel: [ 13.700000] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
Sep 9 09:57:35 wirenboard user.debug kernel: [ 13.780000] gpiochip_find_base: found new base at 245
Sep 9 09:57:35 wirenboard user.debug kernel: [ 13.790000] gpiochip_add: registered GPIOs 245 to 255 on device: smsc95xx
Sep 9 09:57:35 wirenboard user.info kernel: [ 13.800000] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-ci_hdrc.0-1.1, smsc95xx USB 2.0 Ethernet, 52:6f:eb:0b:0b:72
Sep 9 09:57:35 wirenboard user.info kernel: [ 13.870000] usbcore: registered new interface driver smsc95xx
Sep 9 09:57:35 wirenboard user.info kernel: [ 14.140000] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
Sep 9 09:57:35 wirenboard user.info kernel: [ 14.510000] usbcore: registered new interface driver r8188eu
Sep 9 09:57:35 wirenboard user.info kernel: [ 21.350000] Adding 262140k swap on /dev/mmcblk0p3. Priority:-1 extents:1 across:262140k SS
Sep 9 09:57:35 wirenboard user.info kernel: [ 22.020000] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Sep 9 09:57:35 wirenboard user.info kernel: [ 23.130000] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
Sep 9 09:57:35 wirenboard user.notice kernel: [ 38.720000] random: nonblocking pool is initialized
Sep 9 09:57:35 wirenboard user.info kernel: [ 51.910000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
Sep 9 09:57:35 wirenboard user.info kernel: [ 51.920000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 9 09:57:35 wirenboard user.info kernel: [ 53.440000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 9 09:57:35 wirenboard user.info kernel: [ 53.450000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Sep 9 09:57:37 wirenboard daemon.info dnsmasq[1848]: started, version 2.62 cachesize 150
Sep 9 09:57:37 wirenboard daemon.info dnsmasq[1848]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
Sep 9 09:57:37 wirenboard daemon.warn dnsmasq[1848]: warning: interface wlan0 does not currently exist
Sep 9 09:57:37 wirenboard daemon.info dnsmasq-dhcp[1848]: DHCP, IP range 192.168.42.50 – 192.168.42.150, lease time 12h
Sep 9 09:57:37 wirenboard daemon.info dnsmasq[1848]: reading /etc/resolv.conf
Sep 9 09:57:37 wirenboard daemon.info dnsmasq[1848]: using nameserver 192.168.0.1#53
Sep 9 09:57:37 wirenboard daemon.info dnsmasq[1848]: read /etc/hosts - 6 addresses
Sep 9 09:57:39 wirenboard daemon.notice ntpdate[1673]: adjust time server 62.149.0.30 offset -0.368883 sec
Sep 9 09:57:41 wirenboard daemon.notice ntpdate[1649]: adjust time server 194.54.80.30 offset -0.357115 sec
Sep 9 09:57:43 wirenboard user.info kernel: [ 70.110000] MAC Address = 44:33:4c:cc:e0:fc
Sep 9 09:57:43 wirenboard user.info kernel: [ 70.140000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep 9 09:57:43 wirenboard user.info kernel: [ 70.260000] R8188EU: ERROR assoc success
Sep 9 09:57:43 wirenboard user.info kernel: [ 70.270000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep 9 09:57:45 wirenboard daemon.notice ntpd[1992]: ntpd 4.2.6p5@1.2349-o Fri Apr 10 19:13:18 UTC 2015 (1)
Sep 9 09:57:45 wirenboard daemon.notice ntpd[1997]: proto: precision = 7.663 usec
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen and drop on 1 v6wildcard :: UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen normally on 2 lo 127.0.0.1 UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen normally on 3 eth0 192.168.0.16 UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen normally on 4 lo ::1 UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen normally on 5 wlan0 fe80::4633:4cff:fecc:e0fc UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listen normally on 6 eth0 fe80::286:41ff:fecc:e0fc UDP 123
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: peers refreshed
Sep 9 09:57:45 wirenboard daemon.info ntpd[1997]: Listening on routing socket on fd #23 for interface updates
Sep 9 09:57:48 wirenboard daemon.info netplugd[2068]: /etc/netplug/netplug eth0 in -> pid 2068
Sep 9 09:57:48 wirenboard daemon.info netplugd[2067]: eth0: state INNING pid 2068 exited status 0
Sep 9 09:57:48 wirenboard auth.info sshd[2069]: Server listening on 0.0.0.0 port 22.
Sep 9 09:57:48 wirenboard auth.info sshd[2069]: Server listening on :: port 22.
Sep 9 09:58:48 wirenboard auth.info sshd[2322]: Accepted password for root from 192.168.0.31 port 43045 ssh2
Sep 9 09:58:48 wirenboard authpriv.info sshd[2322]: pam_unix(sshd:session): session opened for user root by (uid=0)

ps ax | grep wb-rules
2273 ? Sl 0:05 /usr/bin/wb-rules -syslog /usr/share/wb-rules-system/rules/ /etc/wb-rules
2334 pts/0 S+ 0:00 grep wb-rules

ps ax | grep wb-homa-w1
2188 ? S 0:00 /usr/bin/wb-homa-w1
2338 pts/0 S+ 0:00 grep wb-homa-w1

service wb-rules restart
ok…

после этого правила заработали

tail /var/log/messages
Sep 9 10:11:02 wirenboard daemon.info wb-rules[2481]: ERROR: command ‘/bin/sh -c echo 2 > /sys/class/pwm/pwmchip0/export’ failed with exit status 1

Удалил всё из /usr/share/wb-rules-system/rules/.
В /etc/wb-rules осталось правило rules.js с содержимым из примера:
defineRule(“motion_detector”, {
whenChanged: “wb-gpio/D1_IN”,
then: function (newValue, devName, cellName) {
dev[“wb-gpio”][“Relay_2”] = newValue;
dev[“wb-mrm2_6”][“Relay 1”] = newValue;
}
});
После перезагрузки правило не работает, логи те-же см.выше

В общем dd if= off=. Всё заработало.