@t1m0 May be your system runs out of file descriptors temporarilly?! Did you you check the syslog for any suspects?
-
Homeduino - timeout
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig said in Homeduino - timeout:
@t1m0 May be your system runs out of file descriptors temporarilly?! Did you you check the syslog for any suspects?
Where can i find the right syslog?
And only my homeduino arduino times out my “my-sensor” arduino works fineHomeduino Chip is still online:
pi@raspberrypi:~ $ ls -l /dev/erstes
lrwxrwxrwx 1 root root 7 Sep 8 15:02 /dev/erstes -> ttyUSB0
pi@raspberrypi:~ $ -
@t1m0
Have you read the complete thread? And have you tryed to set honeduino and MySensors by serial by port and not by ttyUSB0 and TtyUSB1 the raspbian has Problems to regonise the right Port because the serialnumber of the Arduinos is most the same. -
@V1per
yes i did!!!i wrote in
etc/udev/rules.d/99-usb-serial.rules
SUBSYSTEM=="tty", KERNELS=="1-1.2", SYMLINK+="erstes" SUBSYSTEM=="tty", KERNELS=="1-1.3", SYMLINK+="zweites"
and the pimatic config for homeduino is:
"serialDevice": "/dev/erstes",
-
@mwittig
dmesg -T shows:hu Sep 8 15:03:06 2016] Bluetooth: HCI UART protocol H4 registered [Thu Sep 8 15:03:06 2016] Bluetooth: HCI UART protocol Three-wire (H5) [Thu Sep 8 15:03:06 2016] Bluetooth: HCI UART protocol BCM registered [Thu Sep 8 15:03:06 2016] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [Thu Sep 8 15:03:06 2016] Bluetooth: BNEP filters: protocol multicast [Thu Sep 8 15:03:06 2016] Bluetooth: BNEP socket layer initialized [Thu Sep 8 16:20:26 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back - urb stopped: -32 [Thu Sep 8 16:20:26 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back - urb stopped: -32 [Thu Sep 8 19:12:18 2016] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -11 hu Sep 8 19:12:18 2016] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK [Fri Sep 9 01:33:18 2016] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: - [Fri Sep 9 01:33:18 2016] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK [Fri Sep 9 17:19:32 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back- urb stopped: -32 [Mon Sep 12 09:50:50 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back - urb stopped: -32 [Tue Sep 13 22:13:59 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back - urb stopped: -32[Wed Sep 14 16:58:26 2016] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_call back - urb stopped: -32 pi@raspberrypi:~ $
-
Go on and replace the arduino with another one, if you have. Had the same problem, replaced the arduino and it works since two weeks without any timeout issue.
-
@t1m0 said in Homeduino - timeout:
@V1per
yes i did!!!i wrote in
etc/udev/rules.d/99-usb-serial.rules
SUBSYSTEM=="tty", KERNELS=="1-1.2", SYMLINK+="erstes" SUBSYSTEM=="tty", KERNELS=="1-1.3", SYMLINK+="zweites"
and the pimatic config for homeduino is:
"serialDevice": "/dev/erstes",
I don’t think a udev rule is the same as serial by path. For me the udev rule not work. Please test it with the serial by path.
Since I have the serial by path adress in my config Homeduino and MySensors works without any issues. -
@V1per said in Homeduino - timeout:
serial by path
Thanks for answer. Back from holiday.
so…I will try "serial by path"
any idee where i can find a instructions how to do it? I cant find something @google -
okay i understand
pi@raspberrypi:~ $ ls /dev/serial/by-path/
platform-3f980000.usb-usb-0:1.2:1.0-port0
platform-3f980000.usb-usb-0:1.3:1.0-port0
first one is my-sensor
second homeduinoso in the pimatic config:
"serialDevice": "/dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0",
i did i!
I report if it works
Thank you for help -
Report: The change to Serial Port by nothing has changed. Crash every 4h.
I have now bought a new expensive power supply for the Raspberry. System has been running for 3 days with no failures. Seems to have located on the power supply of Raspberry.