<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 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 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";
mso-fareast-language:EN-US;}
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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:844320205;
mso-list-type:hybrid;
mso-list-template-ids:-1922383154 -456249032 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
{mso-level-text:%1;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1102798867;
mso-list-type:hybrid;
mso-list-template-ids:1528695694 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l1:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2
{mso-list-id:1575120227;
mso-list-type:hybrid;
mso-list-template-ids:1133533736 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l2:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l3
{mso-list-id:1830753036;
mso-list-template-ids:-962267180;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level2
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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=MsoNormal>Hallo!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ich habe auf meinen RaspberryPi (Version B) mit dem aktuellsten Image von Rainer (2014-03-29-raspbian-vz-05-3G.img) einen Raspi-Volkszaehler aufgesetzt.<o:p></o:p></p><p class=MsoNormal>Dazu verwende die Erweiterung von Udo in der Rev. 1 (ohne Schaltausgänge) und zur Zeit drei Dallas DS18B20 Temperatursensoren.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Frage 1: Mittlerweile werden alle drei Sensoren per ID am 1WireBus erkannt. Dies aber seltsamerweise nur, wenn ich in der rc.local die Einträge<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:35.4pt'>echo init Raspberry Rev2<o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'>echo init Raspberry Rev2 >>$LOG<o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device 2>$LOG<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device 2>$LOG<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-1/new_device 2>$LOG<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>(die doch eigentlich für die Erweiterung in Rev 2 sein sollen) verwende. Am i2c-0 Bus gelingt die Initialisierung und Erkennung der Sensoren nicht. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Meine Syslog dazu:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:30 raspberrypi kernel: [ 35.535866] i2c i2c-1: new_device: Instantiated device ds2482 at 0x18<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:30 raspberrypi kernel: [ 35.541921] i2c i2c-1: new_device: Instantiated device ds2482 at 0x19<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:30 raspberrypi kernel: [ 35.551536] i2c i2c-1: new_device: Instantiated device ds2482 at 0x1a<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:30 raspberrypi dbus[2112]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi dbus[2112]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi polkitd[2951]: started daemon version 0.105 using authority implementation `local' version `0.105'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi dbus[2112]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi dbus[2112]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: DS2482 I²C 1-Wire® Master to Volkszaehler deamon 1.5 (2) 3<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: VzServer: 127.0.0.1<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: VzPort: 80<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: VzPath: middleware.php<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: Metering interval: 300 sec<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: 10-0008028ea5ae (Bus: 1) (VzUUID: c89f8500-6dc6-11e4-af30-f32389dadb0b)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Nov 23 10:17:31 raspberrypi 1wirevz: 10-000802ad76b9 (Bus: 1) (VzUUID: 021888e0-6f3b-11e4-88cb-e1bdea9a9448)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'>Nov 23 10:17:31 raspberrypi 1wirevz: 10-0008029063f2 (Bus: 2) (VzUUID: bbfe4c00-6d96-11e4-8fb1-9186b9124fdf)<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0cm;text-align:justify;text-indent:-18.0pt;line-height:18.0pt;mso-list:l3 level1 lfo4;background:white'><![if !supportLists]><span style='font-size:10.0pt;font-family:Wingdings;color:black;mso-fareast-language:DE'><span style='mso-list:Ignore'>§<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Im Wiki steht „<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE'>Achtung: in der 1wirevz.cfg sind beide Varianten der Pi-Hardware (Rev. A und Rev. B) vorhanden. Nur die passenden Zeilen drin lassen, Rest löschen.“. Bei mir habe ich keine „Überflüssigen Einträge gefunden.<o:p></o:p></span></p><p class=MsoNormal>Ist das so in Ordnung???<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Frage 2: Zwei meiner 1Wire-Temp.sensoren haben „das 85°C Problem“, d.h. sie zeigen immer mal wieder in unregelmäßigen Abständen die 85°C an, was wohl auf einen „Sensor-Reset“ mangels Versorgungsspannung hindeutet (Habe ich das richtig verstanden?). Ich betreibe die Sensoren mit 4k7 Ohm Widerständen und 100nF Kondensatoren. Das Problem tritt an jedem Bus auf (die Erweiterung hat ja drei Ausgänge: Bus 1, 2 und 3). Und immer nur diese zwei der drei Sensoren, unabhängig davon, ob einzeln oder in Reihe verwendet, zeigen dieses Verhalten.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ich kann mich nicht erinnern, dass bei meinem alten Volkszähler-Image (Version?) diese „85°C Probleme“ aufgetaucht sind. Ebenso hatte ich bei identischer Hardware keine Probleme mit dem 1Wirebus i2c-0 (siehe oben). <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mir ist nicht klar, ob in dem neuen Image irgendwelche grundlegenden Änderungen durchgeführt worden sind, die diese „Probleme“ verursachen können. Könnte es am Ende doch ein Software Problem sein? Evtl. kann mir da jemand weiter helfen.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ich hoffe, irgendwer hat einen Tipp für mich. Wäre toll!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Vg <o:p></o:p></p><p class=MsoNormal>Stefan Prietsch<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>