New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frequent connection losts with homeduino after upgrade raspbian #645
Comments
First of all I would suggest not to use an USB stick. It's the same technology as sd cards with flash memory. If using am external storage go for a USB hdd or flash disk. Regarding your above issue, can you tell us what serial chip your arduino has? ftdi or ch340? |
The chip on the Nano has the following text printing on it: I have updated my kernel to Linux raspberrypi 3.18.7+ #755 |
I found in my syslog files: Apr 27 22:05:52 raspberrypi kernel: [ 11.377624] ch341 1-1.3:1.0: ch341-uart converter detected |
Tried several things: But nothing worked. At the end error homeduino connection lost, occured almost every 2 hours constantly. Reverted to old kernel 3.12.28.Had to delete the Sqllite database otherwise pimatic wouldn't start. Database of 200 Gb. Now everything runs flawless for 4 days now. |
@edautz Thanks for the feedback and problem solution. Damn trouble with the new kernels. |
Updated RPI B+ to RPi3, Pimatic 0.9 and al the software upgrade that go aling with it. This issue isn't relevant anymore. |
I am using a rpi with a USB stick for storage after my SD card went bad.
Sometimes I lost connection to homeduino. I had to restart pimatic (0.8.66, homeduino 0.8.50) to get things working again.
After upgrading Raspbian from
Linux raspberrypi 3.12.28+ #709 to Linux raspberrypi 3.18.7+ #755 and update homeduino to 0.8.51, this problem occurred three times this night.
015-04-28 05:30:58warn [pimatic-homeduino]: Couldn't connect (operation timed out), retrying...
03:30:13warn [pimatic-homeduino]: Couldn't connect (operation timed out), retrying...
01:29:31warn [pimatic-homeduino]: Couldn't connect (operation timed out), retrying.
Debug data from the first time:
01:54:52debug [pimatic-homeduino]: data: "PING"
01:49:52debug [pimatic-homeduino]: data: "PING"
01:44:52debug [pimatic-homeduino]: data: "PING"
01:39:52debug [pimatic-homeduino]: data: "PING"
01:34:52debug [pimatic-homeduino]: data: "PING"
01:29:32debug [pimatic-homeduino]: data: "PING"
01:29:32debug [pimatic-homeduino]: data: "ready"
01:29:31debug [pimatic-homeduino]: data: "PING"
01:29:31warn [pimatic-homeduino]: Couldn't connect (operation timed out), retrying...
01:24:02debug [pimatic-homeduino]: data: "ACK 20.4 50.8"
01:19:02debug [pimatic-homeduino]: data: "ACK 20.4 50.9"
01:14:02debug [pimatic-homeduino]: data: "ACK 20.4 50.9"
01:09:02debug [pimatic-homeduino]: data: "ACK 20.5 51.1"
The text was updated successfully, but these errors were encountered: