@ManuelW
Are there any instructions for an easy downgrade?
-
Help, homeduino not working anymore [Solved]
-
@jee67 as i posted
put this in shell and press enter
rpi-update af9cb14d5053f89857225bd18d1df59a089c171e
-
@ManuelW said in Help, homeduino not working anymore:
rpi-update af9cb14d5053f89857225bd18d1df59a089c171e
Thanks. Did that, now I’ll wait and see.
No apt-get upgrades for a while?
-
I’m feeling a little bit stupid.
After the kernel downgrade it still didn’t work, so I rechecked everything. In all my trying to get everything working again, I somehow switched the wires for the transmitter and receiver. A minute ago I put the wires back on to the correct GPIO and guess what…
-
@jee67 did you a reboot after downgrade?
-
@ManuelW
I did, but the wires were the problem. However, why it stopped working a couple of days a go is still a big question. -
The kernel was the problem indeed. I switched to 4.9 and homeduino did not work any more. Going back to 4.4 and homeduino worked properly again.
-
Does anyone know wether it’s safe to go to Kernel 4.8?
-
Guys - I had the same issue and the downgrade solved it. Thanks. Now I can control again my lights via Alexa…
-
This post is deleted!
-
How long takes the downgrade?
on my pi 3 runs already over 30 minutes… (*** Backup up modules 4.9.24-v7+)
CPUis on 100% -
@christoph.ch
as far as I remember only a couple of seconds/minutes… -
@Wolf hmm, very interessting, anything ideas?
-
@Wolf: I have done it now, 4.4.38-v7+ and gpio version 2.36 was installed but homeduino not working
-
Same problem here, with kernel v4.9 wiringPi and pimatic on my RPi3 is not working. I was able to downgrade the kernel as explained above, but today “sudo apt-get dist-upgrade” upgraded my kernel to 4.9 again but now I am unable to downgrade:
pi@pi:~ $ sudo rpi-update af9cb14d5053f89857225bd18d1df59a089c171e *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update *** Relaunching after update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Your firmware is already up to date
After the reboot ‘uname -r’ still says 4.9.28-v7+
What am I doing wrong?
-
@ArthurDent: i have installed the following firmware 4.4.50: sudo rpi-update 52241088c1da59a359110d39c1875cda56496764
and gpio version 2.44 and homeduino work’s again -
@christoph.ch Thank you so much, that did the trick. By the way, I do not think it’s wiringPi that has issues with kernel v4.9, since I can manually switch all RF outlets with a simple send command from raspberry-remote, and raspberry-remote needs wiringPi as well. I blame the node.js wrapper of wiringPi or whatever homeduino uses…
-
@ArthurDent said in Help, homeduino not working anymore [Solved]:
@christoph.ch Thank you so much, that did the trick. By the way, I do not think it’s wiringPi that has issues with kernel v4.9, since I can manually switch all RF outlets with a simple send command from raspberry-remote, and raspberry-remote needs wiringPi as well. I blame the node.js wrapper of wiringPi or whatever homeduino uses…
no problem
-
I’m having the same issue here using Raspbian release 2017-06-21:
$ uname -r 4.9.28-v7+
11:50:19.654 [pimatic-homeduino] debug: data: "hardware not supported" unknown message received: hardware not supported 11:50:19.661 [pimatic-homeduino] debug: data: "garbage collected wiringX library" unknown message received: garbage collected wiringX library
I tracked it down (https://github.com/wiringX/wiringX/blob/master/src/wiringX.c#L696) to the
vhduino
binary from this project https://github.com/pimatic/virtualhomeduino. It was compiled against a rather old version of the https://github.com/wiringX/wiringX library. In fact thevhduino
is more than 2 years old.As I understand it, there have been adaptions made recently to support newer kernels on the Raspberry PI: https://github.com/wiringX/wiringX/commit/196f892f62244597fec7570d4b41d7e38a0e1e9c
The kernel downgrade workaround will not work forever. Eventually, we will have to upgrade and then we’ll need a fix for this issue.
I would fix it myself, but my capabilities in c/c++ are quite poor.
-
@layereight said in Help, homeduino not working anymore [Solved]:
I would fix it myself, but my capabilities in c/c++ are quite poor.
At the moment we are short on resources. Volunteers are welcome. In my opinion, we should also get rid of wiringPi at this point and migrate to piGPIO. Moreover, we need a proper build script (Makefile, Gulpfile or whatever).
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law