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
Impossible IPState stdin EOF #1
Comments
I was able to attach the process to gdb an I got a backtrace:
|
Hi. export WIRINGPI_GPIOMEM=1 I know the driver will fail if this is not done, unless you run as root (witch is not a good idea). |
Well, I usually run indiserver as root because another driver (astroberry focuser) uses the bcm2835 lib and wants access to /dev/mem, so I need to run it as root. BUT I just tried to run it as normal user and with just the indi_wiringpi_gpio driver, also with WIRINGPI_GPIOMEM exported it fails the same way. |
So no I have recompiled the latest INDI from git and this driver. So I cloned a new copy of WiringPi and built it, and then it worked. $ cd ~/Projects The cat: /etc/lsb-release error is why there is no OS info on System tab. It's only implemented for Ubuntu. If you are missing info on the sensors tab, then make sure you installed gawk. |
Also try to go to the wiringPi directory, and gpio subdir cd ~/Projects/wiringPi2/gpio and issue the commands gpio -v and gpio readall |
Thats weird. I rebuilt everything, libindi wiringPi kstars on the client and on the server. I still get this error. But you did'nt really test on raspberry hardware? |
Well, I have another wheater station Raspberry Pi with a bit older system files. Tomorrow I'll try to install indiserver & stuff there and see if it works. Then I could rule out that the error might be indi or wiring pi but something deeper in the system. |
It has been tested on Raspberry Pi 1 type B and Raspberry Pi 3. And also Odroid C1+ In the output you posted it fail in INDI::DefaultDevice::ISNewSwitch that is called from the WiringPiGPIO::updateProperties(), you also have the Impossible IPState -1877497395 witch suggest you may have a corrupt config file. Not sure if it will help, but you can try deleting if you are running as root, then it might be /root/.indi/WiringPi GPIO_config.xml |
I deletet all configs, no success. Is it possible that this "Impossible IPState" is just the symptom of an error before that? Because it happens right after "Child process 3614 died". So there must happen something. Maybe that has to do something with my gcc upgrade from 4.9.x to 5.4.0. Maybe I need to rebuild some unknown library. Well if everything fails I will try to ask knro. Maybe he has a sudden enlightenment on this issue. |
Let me know how it goes on the other RPi tomorrow. Try first without running as root. |
Right. I tried on my old Raspberry, with indilib 1.4.1, ggc-4.9.3, same error PLUS a few more...:
I'm running out of ideas. I think I can rule out that there was a change in your driver nor gcc or other libraries that can be blamed as source of this errors. So if my new Raspbery Pi with up to date libs and my old Raspbery with old libs etc. behaves even worse then the last suspicious point is the client, the machine that runs kstars, maybe it also affects (through newest indilib) how the indiserver on the RPi behaves. I will downgrade indilib in my kstars machine, maybe theres a difference. If that doesnt help I will open an thread on indilib.org. |
I will continue discussion on indilib forum until I found a solution. |
Hi Paule. Added your bugfix. Let me know when / if it's time to close this issue :) |
Fixed in commit a1e5c18 |
Hi
I run indi_wiringpi_gpio on my RaspberyPi 2 (gentoo linux).
I installed git.drogon.net/wiringPi
compiling of indi_wiringpi_gpio without errors.
After starting indiserver I only get the error
2017-08-13T12:49:57: Driver indi_wiringpi_gpio: cat: /etc/lsb-release: Datei oder Verzeichnis nicht gefunden
(not found)I think this is not critical because gentoo linux does not provide lsb-release.
But then if I connect from kstars to the server I can see this in the server log:
In ekos it shows connected but no values in the sensor tab, some values in the system tab and
only one pin in the configuration tab ( wiPi-pin:(0) ). If I try to set this pin to output I get this error in the server log:
2017-08-13T12:59:07: Driver indi_wiringpi_gpio: indi_wiringpi_gpio dispatch error: Property PIN_0_CONFIG is not defined in WiringPi GPIO.
Any idea what is wrong here?
greets
Paul
The text was updated successfully, but these errors were encountered: