<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
    <div id="smartTemplate4-template"><br>
      ------- Original Nachricht --------<br>
      Betreff: Re: [vz-users] Raspberry Volkszähler mit Erweiterung ohne
      Schaltausgänge - S0 zeigt Sägezahn<br>
    </div>
    <br>
    <blockquote
      cite="mid:3D4EB433-1FFA-45F5-AA1F-41BC37D77400@mcbehr.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Startest du vzlogger als root („sudo vzlogger…“)?</blockquote>
    Ja<br>
    <blockquote
      cite="mid:3D4EB433-1FFA-45F5-AA1F-41BC37D77400@mcbehr.de"
      type="cite">
      <div class="">Siehst du folgende Fehlermeldung gleich nach Start:
        (der Log beginnt erst später)</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class=""><span class="Apple-tab-span" style="white-space:pre">                   </span>print(log_error,
          "failed to set policy to SCHED_FIFO for counter_thread",
          name().c_str());</div>
      </div>
      <div class=""><br class="">
      </div>
    </blockquote>
    Nein, folgendes erscheint:<br>
    root@raspberrypi:/home/pi# ./vzloggers0.sh<br>
    [Nov 06 20:57:21][main] vzlogger v0.4.7 based on
    heads/s0216-0-g074d340909 from Tue, 3 Nov 2015 19:42:33 +0100
    started.<br>
    [Nov 06 20:57:21][mtr0] Creating new meter with protocol s0.<br>
    [Nov 06 20:57:21][mtr0] Meter configured, disabled.<br>
    [Nov 06 20:57:21]       New meter initialized (protocol=s0)<br>
    [Nov 06 20:57:21]       Configure channel.<br>
    [Nov 06 20:57:21][chn0] New channel initialized (uuid=...f95918
    api=NULL id=Impulse)<br>
    [Nov 06 20:57:21][mtr1] Creating new meter with protocol s0.<br>
    [Nov 06 20:57:21][mtr1] Meter configured, enabled.<br>
    [Nov 06 20:57:21]       New meter initialized (protocol=s0)<br>
    [Nov 06 20:57:21]       Configure channel.<br>
    [Nov 06 20:57:21][chn1] New channel initialized (uuid=...int
    api=NULL id=Power)<br>
    [Nov 06 20:57:21]       Have 2 meters.<br>
    [Nov 06 20:57:21][main] log level is 15<br>
    [Nov 06 20:57:21][main] daemon=0, local=1<br>
    [Nov 06 20:57:21]       Daemonize process...<br>
    <br>
    Die ersten Zeilen im Log:<br>
    [Nov 06 20:57:21][push] No pushDataServer defined.<br>
    [Nov 06 20:57:21][]     ===> Start meters<br>
    [Nov 06 20:57:21][mtr0] Meter for protocol 's0' is disabled.
    Skipping.<br>
    [Nov 06 20:57:21][s0]   counter_thread created<br>
    [Nov 06 20:57:21][mtr1] Meter connection established<br>
    [Nov 06 20:57:21][mtr1] Meter thread started<br>
    [Nov 06 20:57:21][mtr1] Meter is opened. Starting channels.<br>
    [Nov 06 20:57:21][chn1] Logging thread not started<br>
    [Nov 06 20:57:21][http] Starting local interface HTTPd on port 8081<br>
    [Nov 06 20:57:21][]     Startup done.<br>
    [Nov 06 20:57:21][s0]   Counter thread started with blocking hwif<br>
    [Nov 06 20:57:21][S0]   MeterS0:HWIF_GPIO:first poll returned 1<br>
    [Nov 06 20:57:21][mtr1] Number of readers: 4<br>
    [Nov 06 20:57:21][mtr1] Config.daemon: 0<br>
    [Nov 06 20:57:21][mtr1] Config.local: 1<br>
    [Nov 06 20:57:22][s0]   Reading S0 - returning 1 readings (n=1 n_neg
    = 0)<br>
    ...<br>
    <br>
    Gruß<br>
    Karlheinz<br>
  </body>
</html>