×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[FIXED?] DOME_MOTION is not defined

  • Posts: 2255
  • Thank you received: 223
I have not used my system since last winter as I wasn't able to align the mount.
Now that I'm back here on holidays, I might be able to finish a few things.

I tried to open my box with the indi driver but that's no longer working.
I get the following error:
my code is at github.com/Trigger-broom-289/odroid-indi-roof

Any one kind enough to point me in the right direction, obviously I'd like to fix this before I go back to the UK as my next trip here is in 6 months...

thanks in advance
Last edit: 5 years 9 months ago by Gonzothegreat.
5 years 9 months ago #26749

Please Log in or Create an account to join the conversation.

Nothing obvious jumps out. Looks fine. Try to do a clean build, make sure existing build is completely removed from system. Check 'which odroid_indi_roof'
The following user(s) said Thank You: Gonzothegreat
5 years 9 months ago #26751

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Seems to be working fine now.

I've done a clean build again, here my output:

before:
root@heidenrod-obs:/home/odroid-indi-roof/indi-driver/odroid-indi-roof# ll /usr/bin/odroid_indi_roof
-rwxr-xr-x 1 root root 44468 Sep 18 2017 /usr/bin/odroid_indi_roof*

after:
root@heidenrod-obs:/home/odroid-indi-roof/indi-driver# ll /usr/bin/odroid_indi_roof
-rwxr-xr-x 1 root root 44468 Jun 24 12:55 /usr/bin/odroid_indi_roof*
root@heidenrod-obs:

Nothing changed in file size.


However, I believe I know what happened:
Running the indiserver as a non-privilege user, I get this issue:
2018-06-24T10:56:38: Driver odroid_indi_roof: wiringPiSetup: Unable to open /dev/gpiomem: Permission denied
and this "probably" "maybe"? lead to:
2018-06-24T10:56:55: Driver odroid_indi_roof: odroid_indi_roof dispatch error: Property DOME_MOTION is not defined in Odroid Roof

Running is as root, I do not get any of the above and the roof opens and loses correctly without the DOME_MOTION issue.

Is it worth looking into this "DOME_MOTION" message further or not?
5 years 9 months ago #26752

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
As gpiomem is in the sys group, I've added my user to this group.
root@heidenrod-obs:/home/odroid-indi-roof/indi-driver# ll /dev/gpiomem
crw-rw---- 1 root sys 236, 0 Jun 23 14:07 /dev/gpiomem

I can now run the driver under this user :)
5 years 9 months ago #26753

Please Log in or Create an account to join the conversation.

Time to create page: 0.146 seconds