<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hallo zusammen,</div><div><br></div><div>Ist das denn korrekt das da die Befehle für beide Revisionen in der rc.local stehen?<br><br>Gruß Marius </div><div><br>Am 19.10.2013 um 21:36 schrieb Karlheinz <<a href="mailto:karlheinz.es@gmx.de">karlheinz.es@gmx.de</a>>:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div id="smartTemplate4-template"><br>
root@raspberrypi:/home/pi# dmesg|grep i2c<br>
[ 11.512672] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at
0x20205000 (irq 79) (baudrate 100k)<br>
[ 11.518389] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at
0x20804000 (irq 79) (baudrate 100k)<br>
[ 11.651109] i2c /dev entries driver<br>
<br>
<br>
in rc.local steht:<br>
...<br>
owfs<br>
<br>
# Part of DS2482 I2C 1-Wire Master to Volkszaehler 'RaspberryPI
deamon'.<br>
<br>
#Raspberry Rev1<br>
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device<br>
echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-0/new_device<br>
echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-0/new_device<br>
<br>
# Raspberry Rev2<br>
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device<br>
echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device<br>
echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-1/new_device<br>
...<br>
<br>
Gruß<br>
Karlheinz<br>
<br>
<br>
<br>
Datum: Samstag, 19. Oktober 2013 02:23:18 </div>
<br>
<blockquote cite="mid:CAKOLWjSvQHRNbO8nd4GMxCQU4+0Frs3LTvhTQS88rNBfMRgmbw@mail.gmail.com" type="cite">
<div dir="ltr">Prüf mal bitte -><br>
<br>
<span style="font-family:courier new,monospace">root@vz:~# <b>dmesg|grep
i2c</b><br>
[ 4.685795] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at
0x20205000 (irq 79) (baudrate 100k)<br>
[ 4.855483] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at
0x20804000 (irq 79) (baudrate 100k)<br>
[ 9.418915] i2c /dev entries driver<br>
[ 24.910807] i2c i2c-1: new_device: Instantiated device
ds2482 at 0x18<br>
[ 24.943701] i2c i2c-1: new_device: Instantiated device
ds2482 at 0x19<br>
[ 24.978903] i2c i2c-1: new_device: Instantiated device
ds2482 at 0x1a</span><br>
<br>
<div class="gmail_extra"><br>
</div>
</div>
</blockquote>
<br>
</div></blockquote></body></html>