<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Hallo Rainer,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><i>Kommen mit cat /dev/lesekopf0 auch Daten? <o:p></o:p></i></p><p class=MsoPlainText><i><o:p> </o:p></i></p><p class=MsoPlainText>Ja<o:p></o:p></p><p class=MsoPlainText><i><o:p> </o:p></i></p><p class=MsoPlainText><i>Funktioniert es wenn Du /dev/ttyUSB0 anstatt /dev/lesekopf0 in /etc/vzlogger.conf verwendest?<o:p></o:p></i></p><p class=MsoPlainText><i><o:p> </o:p></i></p><p class=MsoPlainText>Nein<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><i>Braucht Dein Zähler 9600 8N1, oder 7E1? Eventuell mit sudo stty -F /dev/ttyUSB0 9600 parenb -parodd cs7 -cstopb umstellen</i>.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>getestet, Daten sehen anders aus kommen aber nicht im Front End an.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><i>Was steht denn so in /var/log/vzlogger.log ?<o:p></o:p></i></p><p class=MsoPlainText><i><o:p> </o:p></i></p><p class=MsoPlainText>Hier gibt es ein Problem mit den Schreibrechten:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>“Cannot open logfile /var/log/vzlogger.log: Permission denied”<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText>Am 4.01.13 bei der Installation wurde zum letzten mal das Log File geändert.<o:p></o:p></p><p class=MsoPlainText>Was muss ich hier korrigieren ?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Danke !<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Gruß Thomas<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Ursprüngliche Nachricht-----<br>Von: volkszaehler-users-bounces@lists.volkszaehler.org [mailto:volkszaehler-users-bounces@lists.volkszaehler.org] Im Auftrag von Rainer Gauweiler<br>Gesendet: Sonntag, 6. Januar 2013 13:43<br>An: volkszaehler.org - users<br>Betreff: Re: [vz-users] [vz-dev] Alphaversion VZ-Image // Fehlersuche<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hallo Thomas,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Am 06.01.2013 12:49, schrieb Thomas Janz:<o:p></o:p></p><p class=MsoPlainText>> 2.  Den USB Lesekopf eingerichtet (/etc/udev/rules.d/99-lesekopf.rules)<o:p></o:p></p><p class=MsoPlainText>>      SUBSYSTEM=="tty", ATTRS{product}=="FT232R USB UART",<o:p></o:p></p><p class=MsoPlainText>> ATTRS{serial}=="AHVRD7GI",       NAME="lesekopf0"<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>An diesem Schritte hatte ich mich auch mal versucht. Hatte dann auf Anhieb nicht funktioniert und ich hab es dann nie wieder verfolgt.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> 3. Den Zähler eingerichtet (eHz)<o:p></o:p></p><p class=MsoPlainText>>      enabled" : true<o:p></o:p></p><p class=MsoPlainText>>      protocol" : "sml"<o:p></o:p></p><p class=MsoPlainText>>      "device" : "/dev/lesekopf0"<o:p></o:p></p><p class=MsoPlainText>>      "uuid" : " von Front End übernommen",<o:p></o:p></p><p class=MsoPlainText><span lang=EN-US>>      "middleware" : "</span><a href="http://localhost/middleware.php"><span lang=EN-US style='color:windowtext;text-decoration:none'>http://localhost/middleware.php</span></a><span lang=EN-US>",<o:p></o:p></span></p><p class=MsoPlainText>>      "identifier" : "1-0:2.8.0" /* see 'vzlogger -v20' for an output<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> Was funktioniert:<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> Mit cat /dev/ttyUSB0 sehe ich Zeichen (wilde ASC's) mit putty Das <o:p></o:p></p><p class=MsoPlainText>> Frontend lässt sich aufrufen, es kommen aber keine Daten<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Kommen mit cat /dev/lesekopf0 auch Daten? Funktioniert es wenn Du /dev/ttyUSB0 anstatt /dev/lesekopf0 in /etc/vzlogger.conf verwendest?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Braucht Dein Zähler 9600 8N1, oder 7E1? Eventuell mit sudo stty -F /dev/ttyUSB0 9600 parenb -parodd cs7 -cstopb umstellen.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> Wie soll ich bei der Fehlersuche vorgehen?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Was steht denn so in /var/log/vzlogger.log ?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Gruss<o:p></o:p></p><p class=MsoPlainText>      Rainer<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p></div></body></html>