Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Raspberry PI+ Debian Wheezy+IPC+OSCam

    Nobody is reading this thread right now.
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

Ich habe dieses Netzteil:Universal Reiseladegerät / Netzteil / flexible Eingangsspannung / Micro USB-Anschluss 2A / 100V-250V



2A, ich wollte ein wenig Reserve nach oben :emoticon-0116-evilg

@aragorn
Ich hab mir übrigends auch dein neues sysinfo installiert, leider sehe ich keine Temperaturanzeige, ist das noch ein kleiner bug, oder geht das beim Raspberry nicht ?
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

die ampere sind nicht so wichtig. wichtiger sind die volt was stabil und bei 5v liegen sollte.
das ist nicht "mein" sysinfo :)
der raspberry hat soweit ich weiss keine sensoren mit denen man die temperatur auslesen kann.. allerdings haben sie ja jetzt anscheint doch einen sensor in dem cpu chip aktiviert um den turbo nutzen zu können.
The tempertaure sensor is now available through a thermal driver.
Code:
cat /sys/class/thermal/thermal_zone0/temp
(in milli-degrees-C)
vermutlich müsstest du dir das aktuelle raspbian image von gestern installieren beziehungsweise upgraden damit du das nutzen kannst
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

ja, schon klar mit den Volt, nur wenn du eine zu geringe Stromstärke beim Netzteil hast, kann sich das sehr wohl auch negativ auf Volt auswirken !
Deshalb nehme ich immer Netzteile mit hohen Ampere Werten...
Habe unterdessen mein Image upgedatet und Temperaturanzeige über Console geht nun auch :emoticon-0116-evilg

Nun müßte noch bei IPC sysinfo diese neue Funktion wohl noch eingearbeitet werden.
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

bin mir nicht sicher aber ich meine mal gelesen zu haben das es auch eine maximale ampere grenze gibt für den raspi aber das ist ja nun erst mal egal..

du hast dir doch das aktuelle phpsysinfo installiert oder? da kann man auch sensoren konfigurieren.. guck dir dazu mal die config.php datei in dem phpsysinfo verzeichnis an..
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

ja ist das aktuelle installiert, in der config ist einiges zu machen.... blicke aber im Moment nicht durch :(
Muß ich mir mal am WE genauer anschauen.
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

du brauchst eigentlich nur folgendes beachten:
Code:
// ********************************
//       SENSORS PARAMETERS
// ********************************

/**
 * Define the motherboard monitoring program (!!!names are case-sensitive!!!)
 * We support the following programs so far
 * - LMSensors  http://www.lm-sensors.org/
 * - Healthd    http://healthd.thehousleys.net/
 * - HWSensors  http://www.openbsd.org/
 * - MBMon      http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
 * - MBM5       http://mbm.livewiredev.com/
 * - Coretemp
 * - IPMI       http://openipmi.sourceforge.net/
 * - K8Temp     http://hur.st/k8temp/
 * Example: If you want to use lmsensors : define('PSI_SENSOR_PROGRAM', 'LMSensors');
 */
define('PSI_SENSOR_PROGRAM', false);

/**
 * Define how to access the monitor program
 * Available methods for the above list are in the following list
 * default method 'command' should be fine for everybody
 * !!! tcp connections are only made local and on the default port !!!
 * - LMSensors  command, file
 * - Healthd    command
 * - HWSensors  command
 * - MBMon      command, tcp
 * - MBM5       file
 * - Coretemp   command
 * - IPMI       command
 * - K8Temp     command
 */
define('PSI_SENSOR_ACCESS', 'command');
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

Maximale Ampere gibt es eig. nicht, Kannst theoretisch ein großes Schaltnetzteil (am besten stabilisiert) mit 20-30A anschließen :D

Wichtig ist, wie Aragon sagte, das das Netzteil stabil 5V liefern kann - nur so läuft der Pi zuverlässig. Das Netzteil sollte dabei min. 1A liefern, mit 2A ist man jedoch besser bedient im Normalfall und ein gutes Netzteil bleibt dann auch etwas kühler. Weiß nicht wieviel Ampere der Pi genau benötigt, aber wird vermutlich schon so im bereich 0,6A - 0,9A liegen.
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

700mA benötigt er :)
aber ich denke allzuviel ampere darf man ihm auch nicht geben sonst wird der spannungsregulator (neben mini usb und hdmi) zu heiss..


bezüglich temperatur auslesen weiss ich zur zeit selber nicht wie man das in phpsysinfo einbinden kann. lm-sensor erkennt leider nix aber die anderen hab ich noch nicht ausprobiert..

bezüglich des phpsysinfo config.php ausschnitts den ich gepostet habe:
der erste abschnitt legt fest welche monitor software man verwenden möchte. da sind 8 verschiedene aufgeführt die phpsysinfo unterstützt mit den dazu passenden entwickler webseiten wobei man die meisten auch über apt-get installieren kann

der zweite abschnitt legt fest wie auf das monitor programm zum auslesen der daten zugegriffen werden soll..


da ich das aber wie gesagt bisher nicht hin gekriegt habe, hab ich mir selber ein php script geschrieben was sich alle 10 sekunden neu läd um die daten neu auszulesen und ausserdem den peak (also maximal wert) speichert und anzeigt..
einfach eine neue datei innerhalb des apache2 webdirs ( nano /var/www/cpu.php ) mit folgendem inhalt erstellen:
PHP:
 <?php
// v0.3
session_start();
session_cache_limiter(1440);
?>

<!DOCTYPE html>
<html>
<head>
<title><?php echo $_SERVER['SERVER_NAME']; ?> - Informations</title>
<meta HTTP-EQUIV=Refresh CONTENT='10'>
<style type=text/css>
 body { font-size: 8pt; color: black; font-family: Verdana,arial,helvetica,serif; margin: 0 0 0 0; }
 .style1 {
    color: #999999;
    font-weight: bold;
 }
 div.progressbar {
    border: 1px solid gray;
    border-style: dotted;
    width: 40%;
    padding: 1px;
    background-color: #E0E0E0;
    margin: 0px;
 }

 div.progressbar div {
    height: 7px;
    background-color: #ff0000;
    width: 0%;
 }
</style>
</head>
<body>

<?php
exec("cat /sys/class/thermal/thermal_zone0/temp",$cputemp);
exec("cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq",$cpufreq);
$cputemp = $cputemp[0] / 1000;
$cpufreq = $cpufreq[0] / 1000;

$RESET = isset($_POST["RESET"]) ? $_POST["RESET"] : "";               
if (!empty($RESET)) {
    if (isset($_SESSION['max_cputemp'])) { unset($_SESSION['max_cputemp']); }
    if (isset($_SESSION['min_cputemp'])) { unset($_SESSION['min_cputemp']); }
    if (isset($_SESSION['max_cpufreq'])) { unset($_SESSION['max_cpufreq']); }
    if (isset($_SESSION['min_cpufreq'])) { unset($_SESSION['min_cpufreq']); }
}

// max
if (!isset($_SESSION['max_cputemp'])) {
    $_SESSION['max_cputemp'] = $cputemp;
} elseif ($_SESSION['max_cputemp'] < $cputemp) {
    $_SESSION['max_cputemp'] = $cputemp;
}
if (!isset($_SESSION['max_cpufreq'])) {
    $_SESSION['max_cpufreq'] = $cpufreq;
} elseif ($_SESSION['max_cpufreq'] < $cpufreq) {
    $_SESSION['max_cpufreq'] = $cpufreq;
}
// min
if (!isset($_SESSION['min_cputemp'])) {
    $_SESSION['min_cputemp'] = $cputemp;
} elseif ($cputemp < $_SESSION['min_cputemp']) {
    $_SESSION['min_cputemp'] = $cputemp;
}
if (!isset($_SESSION['min_cpufreq'])) {
    $_SESSION['min_cpufreq'] = $cpufreq;
} elseif ($cpufreq < $_SESSION['min_cpufreq']) {
    $_SESSION['min_cpufreq'] = $cpufreq;
}

$RESETFORM = "<form name='reset' action='' method='POST'>\n";
$RESETFORM.= "<button type='submit' value='true' name='RESET'>Reset</button>\n";
$RESETFORM.= "</form>\n";
?>

<blockquote>
<pre>

<?php echo $RESETFORM; ?>

<h2>CPU Temperature</h2>
<table border="1" cellpadding="5">
<th>Current</th> <th>Max</th> <th>Min</th>
<tr>
<td><?php echo $cputemp; ?> &deg;C</td>
<td><?php echo $_SESSION['max_cputemp']; ?> &deg;C</td>
<td><?php echo $_SESSION['min_cputemp']; ?> &deg;C</td>
</tr>
</table>

<h2>CPU Frequence</h2>
<table border="1" cellpadding="5">
<th>Current</th> <th>Max</th> <th>Min</th>
<tr>
<td><?php echo $cpufreq; ?> MHz</td>
<td><?php echo $_SESSION['max_cpufreq']; ?> MHz</td>
<td><?php echo $_SESSION['min_cpufreq']; ?> MHz</td>
</tr>
</table>

<span class="style1">Kernel Information:</span>
<?php echo php_uname(); ?><br/>

<span class="style1">Uptime:</span> 
<?php system("uptime"); ?>

<span class="style1">Memory Usage (MB):</span> 
<?php system("free -m"); ?>

</pre>
<p>
<?php
echo "<span class='style1'>CPU Load:</span><br/>\n";
// Change this next line to specify an alternate temporary directory.  Your
// webserver MUST have write access to this directory if you plan to call
// the CPULoad::get_load() method.
define("TEMP_PATH","/tmp/");

class CPULoad {
    function check_load() {
        $fd = fopen("/proc/stat","r");
        if ($fd) {
            $statinfo = explode("\n",fgets($fd, 1024));
            fclose($fd);
            foreach($statinfo as $line) {
                $info = explode(" ",$line);
                //echo "<pre>"; var_dump($info); echo "</pre>";
                if($info[0]=="cpu") {
                    array_shift($info);  // pop off "cpu"
                    if(!$info[0]) array_shift($info); // pop off blank space (if any)
                    $this->user = $info[0];
                    $this->nice = $info[1];
                    $this->system = $info[2];
                    $this->idle = $info[3];
//                    $this->print_current();
                    return;
                }
            }
        }
    }
    function store_load() {
        $this->last_user = $this->user;
        $this->last_nice = $this->nice;
        $this->last_system = $this->system;
        $this->last_idle = $this->idle;
    }
    function save_load() {
        $this->store_load();
        $fp = @fopen(TEMP_PATH."cpuinfo.tmp","w");
        if ($fp) {
            fwrite($fp,time()."\n");
            fwrite($fp,$this->last_user." ".$this->last_nice." ".$this->last_system." ".$this->last_idle."\n");
            fwrite($fp,$this->load["user"]." ".$this->load["nice"]." ".$this->load["system"]." ".$this->load["idle"]." ".$this->load["cpu"]."\n");
            fclose($fp);
        }
    }
    function load_load() {
        $fp = @fopen(TEMP_PATH."cpuinfo.tmp","r");
        if ($fp) {
            $lines = explode("\n",fread($fp,1024));
            $this->lasttime = $lines[0];
            list($this->last_user,$this->last_nice,$this->last_system,$this->last_idle) = explode(" ",$lines[1]);
            list($this->load["user"],$this->load["nice"],$this->load["system"],$this->load["idle"],$this->load["cpu"]) = explode(" ",$lines[2]);
            fclose($fp);
        } else {
            $this->lasttime = time() - 60;
            $this->last_user = $this->last_nice = $this->last_system = $this->last_idle = 0;
            $this->user = $this->nice = $this->system = $this->idle = 0;
        }
    }
    function calculate_load() {
        //$this->print_current();
        $d_user = $this->user - $this->last_user;
        $d_nice = $this->nice - $this->last_nice;
        $d_system = $this->system - $this->last_system;
        $d_idle = $this->idle - $this->last_idle;
        //printf("Delta - User: %f  Nice: %f  System: %f  Idle: %f<br/>",$d_user,$d_nice,$d_system,$d_idle);
        $total=$d_user+$d_nice+$d_system+$d_idle;
        if ($total<1) $total=1;
        $scale = 100.0/$total;
        $cpu_load = ($d_user+$d_nice+$d_system)*$scale;
        $this->load["user"] = $d_user*$scale;
        $this->load["nice"] = $d_nice*$scale;
        $this->load["system"] = $d_system*$scale;
        $this->load["idle"] = $d_idle*$scale;
        $this->load["cpu"] = ($d_user+$d_nice+$d_system)*$scale;
    }
    function print_current() {
        printf("Current load tickers - User: %f  Nice: %f  System: %f  Idle: %f<br/>",
            $this->user,
            $this->nice,
            $this->system,
            $this->idle
        );
    }
    function print_load() {
        printf("User: %.1f%%  Nice: %.1f%%  System: %.1f%%  Idle: %.1f%%  Load: %.1f%%<br/>",
            $this->load["user"],
            $this->load["nice"],
            $this->load["system"],
            $this->load["idle"],
            $this->load["cpu"]
        );
    }
    function get_load($fastest_sample=4) {
        $this->load_load();
        $this->cached = (time()-$this->lasttime);
        if ($this->cached>=$fastest_sample) {
            $this->check_load(); 
            $this->calculate_load();
            $this->save_load();
        }
    }
}

// NOTE: Calling $cpuload->get_load() requires that your webserver has
// write access to the /tmp directory!  If it does not have access, you
// need to edit TEMP_PATH and change the temporary directory.
$cpuload = new CPULoad();
$cpuload->get_load();
$cpuload->print_load();
$CPULOAD = round($cpuload->load["cpu"],3);

echo "<br/>The average CPU load is: ".$CPULOAD."%\n";
echo "<div class='progressbar'>\n";
echo "<div style='width: ".$CPULOAD."%; background-color: rgb(0, 204, 0);' id='serviceload'>\n";
echo " </div>\n";
echo "</div>\n";

echo "<br/><br/><br/>";
echo "<p>Page generated in ". number_format(microtime(true) - $_SERVER['REQUEST_TIME']) ." seconds</p>";
?>
</p>
</blockquote>

</body>
</html>
das ist zwar nicht schick aber erfüllt seinen zweck :)
im idle habe ich so eine temperatur von 37,932°C. wenn ich ipc beziehungsweise die dafür benötigten pakete installiere hatte ich einen peak von 39,546°C (ohne case)
das sieht dann so aus:
 
Zuletzt bearbeitet von einem Moderator:
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

Normalerweise ist es völlig egal, wie viel Ampere das Netzteil liefert. Der Pi nimmt sich nur so viel, wie er benötigt - es werden ja nicht die vollen 2A an den Pi gepumpt. Hat ja mit Spannung an sich auch nix zutun!

So hab ichs zumindest während meiner Ausbildung gelernt und auch in der Praxis nicht anders festgestellt :D

Mache RC-Sport und da werden die Akkus teilweise auch mit 5-6A geladen, obwohl die Netzteil WEITAUS mehr liefern können.

Aber ist ja auch nicht so wichtig :D ... Wichtiger ist, das 5V möglichst stabil anliegen :D ... Aber das wissen wir beide ja schon hehe :)
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam


fazit: aktuelles raspbian installieren (oder apt-get update && apt-get upgrade) dann gibt es auch 10% bessere performance für die usb ports

Ich kann davon abraten. Nach dem Update hängt sich mein Pi regelmäßig auf.
Ich muss leider wieder auf eine ältere Version umsteigen.
PS: Einige User haben ähnliche Probleme. ( )
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

dann hast du oder die anderen user irgend was falsch gemacht oder allgemein irgend ein problem was erst jetzt auffällt..
bei solchen aussagen muss man immer abwägen was für eine revision diejenigen haben was für ein netzteil und was die sonst noch so laufen haben usw das spielt natürlich auch alles eine rolle

das problem des users auf den dein link zeigt hat er selber verursacht da er bereits von der standard einstellung abgewichen ist (post 7)


mein raspberry läuft mit dem aktuellen (frisches image) sehr stabil hab auch heute den Turbo ausprobiert und beobachte die ganze zeit die temperatur usw aber kann nix auffälliges feststellen..
mein letzter eintrag im /var/log/messages file ist von 15:14 als ich wegen wechsel von Modest auf Turbo rebootet hab..
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

Gibts irgendwo ne Changelog ?

Kannst du was genaueres zu der USB-Sache sachen sowie zu dem Turbomode?

Klingt sehr interessant!
 
AW: Raspberry PI+ Debian Wheezy+IPC+OSCam

zur usb performance kann ich nicht viel sagen da ich hier keinen smartreader zum herrumspielen hab ;)

ohne turbo liegt die temperatur bei umdie 37°C .. mit höchster einstellung also Turbo hab ich eine durchschnittliche temperatur von 43°C aber hab ihm bisher auch noch kein stresstest ausgeliefer.. bin seit 3h am quake3 installieren aber konnte zwar schon eine 100% cpu auslastung beobachten aber keine frequenz übertaktung :(

die mir bekannten beziehungsweise nennenswerten änderungen sind:


  • Der RAM Split lässt sich nun auch auf 240 / 16 MB einstellen also 240MB fürs System und 16MB für die GPU
  • Die USB Performance hat sich um 10% gesteigert
  • Der Hersteller hat eine Overclock Funktion umgesetzt mit der sich der Raspberry auf bis zu 1Ghz übertakten lässt wobei er sich automatisch herrunter taktet wenn die CPU Auslastung ebenfals abnimmt (oder der SoC 85° heiss wird)
  • Durch die Overclock Funktion ist es nun auch möglich die Temperatur des SoC's auszulesen
  • WiFi unterstützung verbessert und Konfiguration erleichtert

das andere (auch bugfixes) könnt ihr auf raspberrypi.org nachlesen (von wegen "Alex has started a forum thread for further discussion – pile in!")

die übertaktungs modies:


  • None 700MHz ARM, 250MHz core, 400MHz SDRAM, 0 overvolt
  • Modest 800MHz ARM, 300MHz core, 400MHz SDRAM, 0 overvolt
  • Medium 900MHz ARM, 333MHz core, 450MHz SDRAM, 2 overvolt
  • High 950MHz ARM, 450MHz core, 450MHz SDRAM, 6 overvolt
  • Turbo 1000MHz ARM, 500MHz core, 500MHz SDRAM, 6 overvolt
 
Zuletzt bearbeitet von einem Moderator:
Zurück
Oben