[vz-users] Problem mit DS1820 mit 1wirevz auf Raspi Image

Karlheinz karlheinz.es at gmx.de
Sat Oct 19 21:36:43 CEST 2013


root at raspberrypi:/home/pi# dmesg|grep i2c
[   11.512672] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 
(irq 79) (baudrate 100k)
[   11.518389] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 
(irq 79) (baudrate 100k)
[   11.651109] i2c /dev entries driver


in rc.local steht:
...
owfs

# Part of DS2482 I2C 1-Wire Master to Volkszaehler 'RaspberryPI deamon'.

#Raspberry Rev1
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device
echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-0/new_device
echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-0/new_device

# Raspberry Rev2
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-1/new_device
...

Gruß
Karlheinz



Datum: Samstag, 19. Oktober 2013 02:23:18

> Prüf mal bitte ->
>
> root at vz:~# *dmesg|grep i2c*
> [    4.685795] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 
> 0x20205000 (irq 79) (baudrate 100k)
> [    4.855483] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 
> 0x20804000 (irq 79) (baudrate 100k)
> [    9.418915] i2c /dev entries driver
> [   24.910807] i2c i2c-1: new_device: Instantiated device ds2482 at 0x18
> [   24.943701] i2c i2c-1: new_device: Instantiated device ds2482 at 0x19
> [   24.978903] i2c i2c-1: new_device: Instantiated device ds2482 at 0x1a
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20131019/0d145870/attachment.html>


More information about the volkszaehler-users mailing list