Build-In 1Wire does not work!



  • Hi all,

    I have a Neuron M103 which has USB and a 1-wire interface.

    When I connect my sensors to the build-in port I do not find them. Connecting through a USB adapter works flawlessly!

    Any idea?
    I changed /etc/owfs.conf according to the device I am using. Disabled the FAKE device and tried to enable the i2c:

    #server: FAKE = DS18S20,DS2405
    
    # Setting for Neuron M103 
    server: device = /dev/i2c-1
    #
    # USB device: DS9490
    #server: usb = all
    

    Now when I do i2cdetect -l I get the correct one I used in above owfs.conf:

    i2c-1   i2c             bcm2835 I2C adapter                     I2C adapter
    

    Seems to be the bus is recognized properly:

    root@zentrale:/heizung/src# i2cdetect -y 1
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:          -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU
    70: -- -- -- -- -- -- -- --
    

    Changing the device to i2c-1 in owfs.conf, restarting owfs and switching cable to Neuron port I do not get any device:

    root@zentrale:/heizung/src# owdir
    /bus.0
    /uncached
    /settings
    /system
    /statistics
    /structure
    /simultaneous
    /alarm
    

    Switching everything back to USB I get proper information:

    root@zentrale:/heizung/src# owdir
    /10.A224A3010800
    /10.520F86010800
    /10.1911A3010800
    /10.2720A3010800
    /28.301FF8030000
    /28.5AFFBD030000
    /28.8BF2BD030000
    /28.0FFCBD030000
    /28.FF0061711404
    /28.FFC4C5701404
    /28.FF92E8701404
    /28.FF8A5F711404
    /28.FFFAE9701404
    /28.FF66E8701404
    /28.FF56E9701404
    /28.FF7E11711404
    /28.FF6D90711404
    /28.FF7D12711404
    /26.29AB40010000
    /81.A08830000000
    /bus.0
    /uncached
    /settings
    /system
    /statistics
    /structure
    /simultaneous
    /alarm
    

    Any idea how to use the build-in i2c-1-wire-bus?

    Greetings

    /KNEBB


Log in to reply