Hallo zusammen,
hat einer diese USV schon getestet?
http://www.rasppishop.de/erweiterungen/…ormes-usv-modul
Gruß
Martin
Hallo zusammen,
hat einer diese USV schon getestet?
http://www.rasppishop.de/erweiterungen/…ormes-usv-modul
Gruß
Martin
UPS Pico - HAT konformes USV Modul? Schau mal ob du hier fündig wirst!
Der Frage schließe ich mich mal an. Genau so etwas suche ich um meinen RPi2 am USB vom Samsung TV betreiben, und ohne Datenverlust gleichzeitig mit dem TV ausschalten zu können.
Wäre gut wenn jemand sagen kann, wie gut das funktioniert und ob da ggf. noch etwas zu konfigurieren ist.
Servus,
ich hab die USV nun da. Sitzt auf einem RPI2. Ganz Plug and Play ist das nicht. Man muss viel konfigurieren, scripten und sogar Löten. Trotzdem habe ich ein Problem. Runterfahren nach der programmierten Zeit funktioniert wunderbar. Aber gebe ich ihm wieder Spannung dann fährt er nicht hoch... Da gibt es wohl einen Bug in der Firmware...
Gruß
Martin
Ok, das klingt für mich als Linux DAU ja mal nicht so gut
Ist das scripten unter jeder Distribution möglich? Ich frage weil ich OpenElec einsetze und man da ja scheinbar etwas eingeschränkt ist.
Meins tuckert hoffentlich gerade über den Ärmelkanal.
Maddinracer, soll man ihn nachdem FSSD ausgeführt wurde nicht per Resetknopf wieder starten?
Hast du den PIN schon angelötet?
Ja den Goldenen Pin habe ich gelötet...
Genau das ist das Problem, ich will ja nach Spannungswiederkehr nicht den Knopf drücken. Er soll dann selbstständig wieder Hochfahren. Und das funktioniert leider nicht, zumindest mit dem RPI2 nicht. Einen anderen RPI habe ich nicht da.
5pl3nd1d: Mit welchen Distributionen das läuft weiß ich nicht. Ich würde mal behaupten, es ist egal. Ich nutze das Raspbian...
Gruß
Martin
Danke Maddinracer, dann weiß ich in der Hinsicht schon mal was mich erwartet.
Wird aber wohl dran gearbeitet. http://www.forum.pimodules.com/viewtopic.php?f=12&t=157
Grüße
Patrick
[...]5pl3nd1d: Mit welchen Distributionen das läuft weiß ich nicht. Ich würde mal behaupten, es ist egal. Ich nutze das Raspbian...
Gruß
Martin
Ich vermute mal, dass mit OpenElec nur USVs laufen, für die keine Zusatzsoftware installiert werden muss. Zumindest habe ich das so verstanden.
Hat hier schon jemand die Uhr zum laufen bekommen?
Habe ein frisches raspian und darauf dann alles so installiert wie in der Anleitung.
Beim einschalten am nächsten tag,ohne WLan, war dann die Uhr wieder auf dem 1.1.2000
Ist ne DS1307. Du musst also I²C aktivieren und die entsprechenden Module laden. Je nachdem was Du nutzt über device tree (DT) oder herkömmlich über die /etc/modules und die Blacklist. Wenn Du über DT gehst musst Du trotzdem i2c-dev in die /etc/modules eintragen. Was nicht in der Anleitung steht: Möchtest Du die Uhr bzw. I²C auch als user pi nutzen, solltest Du pi in die Gruppe i2c bringen.
Das war zusätzlich ur Anleitung vom UPS-Pico meine Anleitung!
<1> Download the latest Raspbian “wheezy” image and burn to your SD Card following the instructions on http://elinux.org/RPi_Easy_SD_Card_Setup
<2> If you are using Raspian Linux 3.18 or later you need to go into the raspberry pi config utility and enable I2C. pi@raspberrypi ~ $ sudo raspi-config
<3> Setting the Timezone
Select 4 Internationalisation Options and then I2 - Change Timezone .
<4> Once you have logged into your Raspberry Pi from the command line, run the following command to install i2c-tools:
pi@raspberrypi ~ $ sudo apt-get install python-smbus
sudo apt-get install i2c-tools
<5> Enable I2C and SPI protocols. I2C and SPI protocols are turned off in the wheezy distro by default, so you will need to enable them by editing the file /etc/modprobe.d/raspi-blacklist.conf :
pi@raspberrypi ~ $ sudo nano /etc/modprobe.d/raspi-blacklist.conf
In the file you will see two lines, you need to disable the blacklisting of these by adding a # character before each line:
#blacklist spi-bcm2708
#blacklist i2c-bcm2708
Save your changes and exit the nano editor.
<6> Set the Raspberry Pi to start I2C automatically at boot by editing /etc/modules :
pi@raspberrypi ~ $ sudo nano /etc/modules
Use your cursor keys to move to the last line and add a new line and then add:
i2c-dev
Save your changes by pressing Ctrl-x then Y.
<7> To avoid having to run the I2C tools at root add the ‘pi’ user to the I2C group:
pi@raspberrypi ~ $ sudo adduser pi i2c
<8> Next reboot the Raspberry Pi:
pi@raspberrypi ~ $ sudo reboot
Select 8 Advanced Options and then A7 I2C - Enable/Disable automatic loading. A prompt will appear asking Would you like the ARM I2C interface to be enabled?, select Yes, exit the utility and reboot your raspberry pi.
<8> Follow the instructions on how to install and configure I2C on Raspbian Linux.
<9> Once you have installed I2C check that the RTC Pi has been detected using:
pi@raspberrypi ~ $ sudo i2cdetect -y 1
<10> Enable I2C by running:
pi@raspberrypi ~ $ sudo nano /etc/modprobe.d/raspi-blacklist.conf
Find the I2C line where the I2c is black listed
blacklist i2c-bcm2708
Comment it out by replacing it with the line below
#blacklist i2c-bcm2708
<11> Set the bash shell to root by typing (sudo bash) :
pi@raspberrypi ~ $ sudo bash
<12> And then run:
root@raspberrypi ~ $ echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
<13> Type (exit) to drop out of the root bash shell.
root@raspberrypi ~ $ exit
<14> You can check the current time on the expansion board with:
pi@raspberrypi ~ $ sudo hwclock -r
<15> Get the right time set on the Pi ,
pi@raspberrypi ~ $ sudo date MMDDHHMMYYYY.SS
(MM= Month, DD= Date, HH= Hour, MM= Minute, YYYY= Year, SS= Second )
example: 2013 Jan 4 , 11:39:00 , sudo date 010411392013.00
<16> Write the system time to the expansion board,
pi@raspberrypi ~ $ sudo hwclock -w
<17> Verify the time ,
pi@raspberrypi ~ $ sudo hwclock -r
Now you have the expansion board running with the current date and time the next step is to make it load when the Raspberry Pi boots.
<18> Add the RTC kernel module to the /etc/modules list, so its loaded when the machine boots.
pi@raspberrypi ~ $ sudo nano /etc/modules
And add: i2c-bcm2708
rtc-ds1307
<19> Save your changes by pressing Ctrl-x then Y
<20> Create the DS1307 device creation at boot, edit /etc/rc.local by running
pi@raspberrypi ~ $ sudo nano /etc/rc.local
And add: echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
sudo hwclock -s
<21> Save your changes by pressing Ctrl-x then Y
<22> Reboot your Raspberry Pi
pi@raspberrypi ~ $ sudo reboot
If everything worked correctly the expansion board should be initialised on boot and the current date and time will be loaded into Linux
Display More
Hallo zusammen,
ich habe mir nun diese usv auch gekauft und nun soweit auch zum laufen gebracht.
Nun hab ich ein Problem noch, wenn der Strom abfällt und die usv den pi runterfahren tut.
Dann geht die usv mit aus. Beim Starten vom pi geht diese aber nicht wieder mit an.
Ich muss jedesmal die usv reseten, ist dies normal?
Don’t have an account yet? Register yourself now and be a part of our community!