Hello congratulations for your work.
I use a Raspberry Pi with your distribution is very convenient, and it does not consume much watt.
is there a way to switch GPIO with command line?
Thank you in advance for your answer.
How to use gpio with raspi and OMV
-
-
A Raspberry is already underpowered for a NAS, why would you want to use the GPIOs at the same time ?
Anyway, GPIOs are accessible just like any Raspberry.
-
i use rsync in task, at the same time i would like start a fan ... for my multi disk... 60 °C is too much...
-
GPIOs are accessible just like any Raspberry
I would assume the same though some stuff on latest image might not be installed by default (eg. 'apt install wiringpi' needed if this lib should be used).
-
60 °C is too much...
This is fine (these are electronics and not animals or human beings). Even 80°C is fine since then throttling starts...
But anyway, this is here totally off-topic, if you want to play with fans for whatever reasons it's easy since temp is available at the usual location /sys/devices/virtual/thermal/thermal_zone0/temp and switching GPIOs on/off can be done through sysfs without any additional software installed (tons off tutorials available and all apply with OMV too)
-
realy just like a raspian distri?
sudo su
cd /sys/class/gpio
echo 8 > export
cd gpio8
echo out > direction
echo 1 > value -
raspian
Irrelevant. That's a kernel feature and we use exactly the same Raspbian uses. So while there might be problems with libs (not experienced yet) everything below /sys/class/gpio/ will work the same as with any other RPi distro using RPi Foundation kernel (4.9.59-v7+ currently).
-
thank for your answer.
thank you again for your work
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!