×
INDI Library v1.8.4 Released

Minor bugfix release with some highlights:

Indi on the rocks (a Rock64 to be exact)

2 years 4 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2125
Karma: 21
More
Indi on the rocks (a Rock64 to be exact) #21188
you did do these steps first?
sudo apt-get -y install python-pip
sudo -H pip install indiweb

If indiweb is installed, python 2.7 is installed, and the desktop launcher has the right permissions, then the file I use for the icon should be at /usr/local/lib/python2.7/dist-packages/indiweb/views/img/indi_logo.png and the icon should be showing.

Do you have python 2.7 and indiweb installed?

Yes the sudo user should be the name of your login account.

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

2 years 4 months ago
HelgeMK
Gold Boarder
Gold Boarder
Posts: 307
Karma: 1
More
Indi on the rocks (a Rock64 to be exact) #21209
Thanks, Rob - eventually I got the indiwebmanager running. It was a plain stupid spelling error! :S

I tried the $SUDO_USER approach, but got an error code (217). With „rock64“ all fine.

Tomorrow I will work on the icon...

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

2 years 4 months ago
HelgeMK
Gold Boarder
Gold Boarder
Posts: 307
Karma: 1
More
Indi on the rocks (a Rock64 to be exact) #21277
Happy to report that all parts now up and running thru the Rock64 (asi071pro, asi120, EQMod, diy Moonlite focuser).

Big thanks once again to Wim for pioneering, and Rob for the script and kind support!

Helge

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

2 years 4 months ago
wimvb
Expert Boarder
Expert Boarder
Posts: 120
More
Topic Author
Indi on the rocks (a Rock64 to be exact) #21278
Great!
Just don't use a filter wheel with it. ;-)

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

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

2 years 4 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2125
Karma: 21
More
Indi on the rocks (a Rock64 to be exact) #21384
So i got my rock64 about a week ago and I have been tinkering with it. I did have to make a few changes to my script, but I expected that. I have sorted out most of the issues but a couple big ones still linger.

One big Linux issue is that if you want to do VNC on a headless server you have a problem since many of the VNC servers out there want a monitor to be connected to start up the session. One solution is a package called xorg video dummy. That works great as long as you never want to connect a monitor, since the monitor will only display a blank screen. But I want both vnc and the monitor to work anytime. On both the raspberry pi and the odroid c2, this issue was easily solved by editing the config.txt file in the boot partition. You can select any resolution you want and it will work with or without a monitor plugged in. I can find no such file on the rock64. Any suggestions on where to find a similar file on rock64 or how to get vnc working like I have it on the other SBCs? I have already tried several suggestions on edits to xorg.conf but so far not much success.

The second thing, and this one is weird, is that i tried to install zram-config and it seemed to already be installed. But it doesnt appear to be working like it does on the other systems, so i am confused.

Any thoughts? Thanks!

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

2 years 4 months ago
maudy
Platinum Boarder
Platinum Boarder
Posts: 353
Karma: 2
More
Indi on the rocks (a Rock64 to be exact) #21387
Although not ideal, I have used this in the past for a headless pc and solving monitor issues.

www.amazon.ca/gp/aw/d/B00FLZXGJ6

Perhaps this can work if there is no other solution.

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

2 years 4 months ago
HelgeMK
Gold Boarder
Gold Boarder
Posts: 307
Karma: 1
More
Indi on the rocks (a Rock64 to be exact) #21396
The only thing I found, resembling a config file is under /boot/config-4.4.77-Rockchip-ayufan-118 . But is says on the top: “automatically generated file; do not edit”

But then, if automatically generated, it must have been somewhere configured in the first place...

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

2 years 4 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2125
Karma: 21
More
Indi on the rocks (a Rock64 to be exact) #21397
Thanks for the responses. One more question. I noticed that the updates seemed to take longer on this rock64 than on the raspberry pi or the Odroid C2. I had thought that would be faster not slower. I had it directly connected to the router using an ethernet cable, so wifi would not slow it down. One difference is the rock64 is "Xenial Mate" and the other two are "Ubuntu Mate" but I believe that is just the title because the version of ubuntu on the pi and the odroid is in fact Xenial. Did you notice whether the updates were slower? It was significant enough that I thought it was frozen the first time I tried running it and started over, but it really wasn't frozen it just took longer.

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

2 years 4 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2125
Karma: 21
More
Indi on the rocks (a Rock64 to be exact) #21400
Another odd item. Sometimes this code installs PHD2, and sometimes it says it cannot find it, even though the adding of the repository seemed to work. Any ideas?

sudo apt-add-repository ppa:pch/phd2 -y
sudo apt-get update
sudo apt-get -y install phd2

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

2 years 4 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2125
Karma: 21
More
Indi on the rocks (a Rock64 to be exact) #21402
Nevermind, I figured out the last one. I had to add the armhf architecture because phd2 doesn't have a 64 bit version
The following user(s) said Thank You Casaro68

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

2 years 3 months ago 2 years 3 months ago by Casaro68.
Casaro68
Fresh Boarder
Fresh Boarder
Posts: 12
More
Indi on the rocks (a Rock64 to be exact) #21472
Hi

I installed the ayufan 5.15 mate xenial and vnc4server ... I managed to make it work with the monitor connected ... but clearly without monitor, the desktop don't start and so nothing vnc ...
Sifting through the system folders I found the hdmi-toggle file under / usr / local / bin which seems to check the physical state of the monitor connections ...
I do not have the ability to understand if it can serve us or not ...
Perhaps at the end of the check you can tell, if there is no physical connection, to load "xorg video dummy", so if there is an attached monitor, use the monitor, otherwise use "xorg video dummy"
If you want to take a look ...
ps sorry for the english-google.... :-)
Paolo

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

2 years 3 months ago
HelgeMK
Gold Boarder
Gold Boarder
Posts: 307
Karma: 1
More
Indi on the rocks (a Rock64 to be exact) #21474
Hi, I just made another attempt to install wiringPi-Pine64, but was not succesful. Could someone more knowledgable than me have a look on what went wrong? Problems started after executing the step: make -C gpio - maybe already before, not sure what to make out of the warning messages.

rock64@rock64:~$ ls
astroberry-diy Documents Light Pictures Templates wiringPi-Pine64
Desktop Downloads Music Public Videos
rock64@rock64:~$ cd wiringPi-Pine64
rock64@rock64:~/wiringPi-Pine64$ make -C wiringPi clean
make: Entering directory '/home/rock64/wiringPi-Pine64/wiringPi'
[Clean]
make: Leaving directory '/home/rock64/wiringPi-Pine64/wiringPi'
rock64@rock64:~/wiringPi-Pine64$ make -C wiringPi
make: Entering directory '/home/rock64/wiringPi-Pine64/wiringPi'
[Compile] wiringPi.c
wiringPi.c: In function ‘analogRead’:
wiringPi.c:2304:20: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign]
return atoi(value);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from wiringPi.c:54:
/usr/include/stdlib.h:278:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
__NTH (atoi (const char *__nptr))
^
wiringPi.c: In function ‘waitForInterrupt’:
wiringPi.c:2486:1: warning: label ‘wait’ defined but not used [-Wunused-label]
wait:
^
wiringPi.c: In function ‘interruptHandler’:
wiringPi.c:2523:14: warning: return makes pointer from integer without a cast [-Wint-conversion]
return wiringPiFailure (WPI_FATAL, "wiringPiISR: wiringPi has not been in
^
wiringPi.c: In function ‘wiringPiSetup’:
wiringPi.c:2889:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)gpio == -1)
^
wiringPi.c:2910:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)gpio == -1)
^
wiringPi.c:2925:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)gpio == -1)
^
wiringPi.c:2930:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)gpio1 == -1)
^
wiringPi.c:2955:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)gpio == -1)
^
wiringPi.c:2961:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)pwm == -1)
^
wiringPi.c:2967:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)clk == -1)
^
wiringPi.c:2973:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int32_t)pads == -1)
^
wiringPi.c: In function ‘piBoardRev’:
wiringPi.c:1339:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (fd, buf, sizeof(buf));
^
wiringPi.c: In function ‘digitalRead’:
wiringPi.c:2117:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (sysFds [fd_pos], &c, 1) ;
^
wiringPi.c: In function ‘digitalWrite’:
wiringPi.c:2201:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (sysFds [fd_pos], "0\n", 2) ;
^
wiringPi.c:2203:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (sysFds [fd_pos], "1\n", 2) ;
^
wiringPi.c: In function ‘analogRead’:
wiringPi.c:2303:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (adcFds [pin], &value[0], 4);
^
wiringPi.c: In function ‘waitForInterrupt’:
wiringPi.c:2493:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
(void)read (fd, &c, 1) ;
^
wiringPi.c: In function ‘wiringPiISR’:
wiringPi.c:2665:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (sysFds [fd_base], &c, 1) ;
^
wiringPi.c:2692:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (sysFds [fd_base], &c, 1) ;
^
wiringPi.c:2709:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (sysFds [bcmGpioPin], &c, 1) ;
^
[Compile] wiringSerial.c
wiringSerial.c: In function ‘serialPutchar’:
wiringSerial.c:146:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (fd, &c, 1) ;
^
wiringSerial.c: In function ‘serialPuts’:
wiringSerial.c:158:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (fd, s, strlen (s)) ;
^
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
pcf8591.c: In function ‘myAnalogWrite’:
pcf8591.c:44:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (node->fd, b, 2) ;
^
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
mcp3422.c: In function ‘myAnalogRead’:
mcp3422.c:62:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (node->fd, buffer, 4) ;
^
mcp3422.c:68:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (node->fd, buffer, 3) ;
^
mcp3422.c:74:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (node->fd, buffer, 3) ;
^
mcp3422.c:80:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read (node->fd, buffer, 3) ;
^
[Compile] max31855.c
[Compile] max5322.c
[Compile] sn3218.c
[Compile] drcSerial.c
[Link (Dynamic)]
make: Leaving directory '/home/rock64/wiringPi-Pine64/wiringPi'
rock64@rock64:~/wiringPi-Pine64$ ls
build devLib Makefile postinstall-pak
COPYING.LESSER examples newVersion README.TXT
debian gpio People VERSION
debian-template INSTALL pins wiringPi
rock64@rock64:~/wiringPi-Pine64$ gpio readall
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
rock64@rock64:~/wiringPi-Pine64$ make -C wiringPi install
make: Entering directory '/home/rock64/wiringPi-Pine64/wiringPi'
[Install Headers]
install: cannot remove '/usr/local/include/wiringPi.h': Permission denied
Makefile:93: recipe for target 'install-headers' failed
make: *** [install-headers] Error 1
make: Leaving directory '/home/rock64/wiringPi-Pine64/wiringPi'
rock64@rock64:~/wiringPi-Pine64$ sudo make -C wiringPi install
[sudo] password for rock64:
make: Entering directory '/home/rock64/wiringPi-Pine64/wiringPi'
[Install Headers]
[Install Dynamic Lib]
make: Leaving directory '/home/rock64/wiringPi-Pine64/wiringPi'
rock64@rock64:~/wiringPi-Pine64$ gpio readall
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
rock64@rock64:~/wiringPi-Pine64$ make -C devLib
make: Entering directory '/home/rock64/wiringPi-Pine64/devLib'
[Compile] ds1302.c
[Compile] maxdetect.c
[Compile] piNes.c
[Compile] gertboard.c
[Compile] piFace.c
[Compile] lcd128x64.c
[Compile] lcd.c
[Compile] piGlow.c
[Link (Dynamic)]
make: Leaving directory '/home/rock64/wiringPi-Pine64/devLib'
rock64@rock64:~/wiringPi-Pine64$ sudo make -C devLib install
make: Entering directory '/home/rock64/wiringPi-Pine64/devLib'
[Install Headers]
[Install Dynamic Lib]
make: Leaving directory '/home/rock64/wiringPi-Pine64/devLib'
rock64@rock64:~/wiringPi-Pine64$ make -C gpio
make: Entering directory '/home/rock64/wiringPi-Pine64/gpio'
[Compile] gpio.c
gpio.c: In function ‘doEdge’:
gpio.c:569:3: warning: implicit declaration of function ‘doUnexport’ [-Wimplicit-function-declaration]
doUnexport(3, argv); // unexport argc == 3
^
gpio.c: At top level:
gpio.c:642:6: warning: conflicting types for ‘doUnexport’
void doUnexport (int argc, char *argv [])
^
gpio.c:569:3: note: previous implicit declaration of ‘doUnexport’ was here
doUnexport(3, argv); // unexport argc == 3
^
gpio.c: In function ‘doLoad’:
gpio.c:225:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:248:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:252:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:303:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:309:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
[Compile] extensions.c
[Compile] readall.c
[Compile] pins.c
[Link]
/usr/local/lib/libwiringPi.so: undefined reference to `crypt'
/usr/local/lib/libwiringPi.so: undefined reference to `shm_open'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'gpio' failed
make: *** [gpio] Error 1
make: Leaving directory '/home/rock64/wiringPi-Pine64/gpio'
rock64@rock64:~/wiringPi-Pine64$ sudo make -C gpio
make: Entering directory '/home/rock64/wiringPi-Pine64/gpio'
[Link]
/usr/local/lib/libwiringPi.so: undefined reference to `crypt'
/usr/local/lib/libwiringPi.so: undefined reference to `shm_open'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'gpio' failed
make: *** [gpio] Error 1
make: Leaving directory '/home/rock64/wiringPi-Pine64/gpio'
rock64@rock64:~/wiringPi-Pine64$ make -C gpio clean
make: Entering directory '/home/rock64/wiringPi-Pine64/gpio'
[Clean]
make: Leaving directory '/home/rock64/wiringPi-Pine64/gpio'
rock64@rock64:~/wiringPi-Pine64$ sudo make -C gpio
make: Entering directory '/home/rock64/wiringPi-Pine64/gpio'
[Compile] gpio.c
gpio.c: In function ‘doEdge’:
gpio.c:569:3: warning: implicit declaration of function ‘doUnexport’ [-Wimplicit-function-declaration]
doUnexport(3, argv); // unexport argc == 3
^
gpio.c: At top level:
gpio.c:642:6: warning: conflicting types for ‘doUnexport’
void doUnexport (int argc, char *argv [])
^
gpio.c:569:3: note: previous implicit declaration of ‘doUnexport’ was here
doUnexport(3, argv); // unexport argc == 3
^
gpio.c: In function ‘doLoad’:
gpio.c:225:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:248:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:252:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:303:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
gpio.c:309:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system (cmd) ;
^
[Compile] extensions.c
[Compile] readall.c
[Compile] pins.c
[Link]
/usr/local/lib/libwiringPi.so: undefined reference to `crypt'
/usr/local/lib/libwiringPi.so: undefined reference to `shm_open'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'gpio' failed
make: *** [gpio] Error 1
make: Leaving directory '/home/rock64/wiringPi-Pine64/gpio'
rock64@rock64:~/wiringPi-Pine64$ sudo make -C gpio install
make: Entering directory '/home/rock64/wiringPi-Pine64/gpio'
[Install]
cp: cannot stat 'gpio': No such file or directory
Makefile:67: recipe for target 'install' failed
make: *** [install] Error 1
make: Leaving directory '/home/rock64/wiringPi-Pine64/gpio'
rock64@rock64:~/wiringPi-Pine64$ gpio readall
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
rock64@rock64:~/wiringPi-Pine64$

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

Time to create page: 0.482 seconds