sabato 9 dicembre 2017

Montare filesystem remoto

Installare:
sudo apt-get install sshfs
creare la directory locale:
sudo mkdir /mnt/droplet

Montare il filesystem:
sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet

scaricare video da youtube su raspberry a riga di comando

sudo apt-get install youtube-dl

per l'help usare
youtube-dl --help 

per scaricare un video:

youtube-dl https://youtu.be/Qq34uHTBJrE

SENSORE DALLAS DS18B20

SENSORE DALLAS DS18B20
======================
aggiungere le librerie:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

# MODULI PER SENSORE TEMPERATURA
w1-gpio
w1-therm
uinput
joydev
snd-bcm2835



# /boot/config.txt
#
# Per sensore temperatura
dtoverlay=w1-gpio,gpiopin=4

Kodi Schermo nero su riproduzione

Aggiungere nel file /boot/config.txt:

# Per kodi FULLHD
gpu_mem=128
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1