Can't Get value of 1 from DIO module Input

Topics about the Hardware of Revolution Pi
User avatar
nicolaiB
KUNBUS
Posts: 878
Joined: 21 Jun 2018, 10:33
Answers: 8
Location: Berlin
Contact:

Re: Can't Get value of 1 from DIO module Input

Post by nicolaiB »

It seems that your eMMC is full. Try to free space (for example with apt-get clean)

df -h shows you the usage.

Nicolai
Harry
Posts: 8
Joined: 15 Dec 2019, 07:42
Answers: 0

Re: Can't Get value of 1 from DIO module Input

Post by Harry »

Hi all,
thanks Nicolai. I tried this and after executing "apt-get clean" the black screen is gone and I get a login dialog on the desktop but it reappears all the time without continuing.
My application is very small (around 400KB src + 600 KB exe). How is it possible to get into a memory leak?
B/R Harry

pi@RevPi31438:~ $ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root 3,5G 3,4G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6,3M 458M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 44M 22M 22M 51% /boot
tmpfs 93M 0 93M 0% /run/user/1000
tmpfs 93M 0 93M 0% /run/user/109
User avatar
nicolaiB
KUNBUS
Posts: 878
Joined: 21 Jun 2018, 10:33
Answers: 8
Location: Berlin
Contact:

Re: Can't Get value of 1 from DIO module Input

Post by nicolaiB »

Hi Harry,

try to login on the tty console (CTRL + ALT + F1-3) and try again. As the system hasn't any disk space left the graphical environment can fail (cannot write temp data). I would also uninstall unused software packages and clean up the home dir.

The following command lists all files with their size in the current directory and sorts them by size:

Code: Select all

du -h | sort -h
Nicolai
Harry
Posts: 8
Joined: 15 Dec 2019, 07:42
Answers: 0

Re: Can't Get value of 1 from DIO module Input

Post by Harry »

Hi Dirk, Nicolai,

the issue could be resolved with writing the default stretch image. Then I updated the system and installed some packages. My application is running fine now.
I cant explain what went wrong with the first installation procedure.

There should be enough available memory, this is the overview in the end:

pi@RevPi31438:~ $ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root 3,5G 2,5G 911M 76% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6,3M 458M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 44M 22M 22M 51% /boot
tmpfs 93M 0 93M 0% /run/user/1000

Thank you very much for your help!

Regards,
Harry
Online
User avatar
dirk
KUNBUS
Posts: 1950
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Can't Get value of 1 from DIO module Input

Post by dirk »

@JEPOYTEK how is it going? Do you still have the error?
Post Reply