How long takes the downgrade?
on my pi 3 runs already over 30 minutes… (*** Backup up modules 4.9.24-v7+)
CPUis on 100%
-
Help, homeduino not working anymore [Solved]
-
@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
-
I understand. Ok then, I will give it a shot during the next days. Will let you guys know about the results.
-
Is this issue solved already? i’ve just compiled a new version of vhduino it’s working great on Linux raspberrypi 4.9.39+ #1021 Mon Jul 24 11:27:49 BST 2017 armv6l GNU/Linux
-
@DaanNL Not yet. But we should all be grateful if you let us participate from your success
-
@DaanNL Unfortunately, I couldn’t find the time to do anything yet. Would be nice if you could describe the exact steps you took. Did you have to change code in the https://github.com/pimatic/virtualhomeduino project?
-
@DaanNL said in Help, homeduino not working anymore [Solved]:
Is this issue solved already? i’ve just compiled a new version of vhduino it’s working great on Linux raspberrypi 4.9.39+ #1021 Mon Jul 24 11:27:49 BST 2017 armv6l GNU/Linux
Maybe you can share the steps required to compile the executable? This will be great!
https://github.com/pimatic/virtualhomeduino/issues/2 and https://github.com/pimatic/virtualhomeduino/issues/3"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Yes i can…
I think i’ll make a repository on github… i’m doing a lot of things i want to share so i can check out how everything on github works and how i can merge changes -
@DaanNL you make me curious!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@DaanNL said in Help, homeduino not working anymore [Solved]:
Yes i can…
Sounds great! Re virtualhomeduino you can start with creating a “fork” from the project and doing a “pull request”. If you familiar with “git” you should get easily started with github. If not, it might be helpful to start with “git” tutorial or alike.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@DaanNL That’s great! Any progress on uploading it to github?
-
@DaanNL Maybe you can summarize the compilation & linkage steps you did and I’ll be happy to setup a Makefile accordingly. Did you also modify sources?
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law