Hi,
in your example you first set 'device=/dev/i2c-1' and then an incorrect
line 'i2c-1=all'. Try with only one line, 'i2c=all'.
Works for me, even if I have only one adapter.
man 5 owfs gives some help.
/Jörgen
On Wed, Jan 1, 2014 at 4:35 PM, Jama Solomo <[email protected]> wrote:
> Hello Jörn,
>
> config:
> device = /dev/i2c-1
> server: i2c-1 = all
>
> Result
>
> sudo ./owhttpd -p 2121 -c /etc/owfs.conf --foreground --error_level 4
> CONNECT: ow_avahi_link.c:(68) No Avahi support. Library libavahi-client
> couldn't be loaded
> CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library
> isn't found
> CALL: ow_parsename.c:(99) path=[]
> CONNECT: ow_ds2482.c:(397) Found an i2c device at /dev/i2c-1 address 18
> CONNECT: ow_ds2482.c:(426) i2c device at /dev/i2c-1 address 18 appears to
> be DS2482-x00
> CONNECT: ow_ds2482.c:(702) DS2482-800 (Eight channels)
>
>
> Unfortunately the same result.
>
> Jama
>
>
> Am 01.01.14 16:28, schrieb Jörgen Tegnér:
>
> Try
> server: i2c = all
>
> /Jörgen
>
>
> On Wed, Jan 1, 2014 at 4:14 PM, Jama Solomo <[email protected]> wrote:
>
>> Hello
>> First I want to wish everyone a happy new Year!
>>
>> I am using 2xDS2482-800 and 1xDS2482-100 on my I2C bus of my raspberry.
>> The I2C addresses are 18,19,1A
>>
>> With the command " "sudo ./owhttpd -p 2121 --i2c=/dev/i2c-1:0
>> --i2c=/dev/i2c-1:1 --i2c=/dev/i2c-1:2" all devices and slaves will be found
>> correctly.
>>
>> However how can I configure the owfs.conf in the same way?
>> If I use the parameter " device = /dev/i2c-1" only one controller (with
>> the address 18) will be found.
>> The parameter " device = /dev/i2c-1:0" is not working, I get the error "
>> No valid 1-wire buses found"
>>
>> I found only one hint:
>> "The /dev/i2c-<n>:<i> syntax denotes offset <n> from I2C address 0011000b
>> on I2C bus of <i>. The mentioned command line syntax thus tells owhttpd to
>> look for 1-Wire controllers at addresses 0011000b, 0011001b and 0011010b on
>> the I2C bus of BSC1"
>>
>> However how can I access all three controller via the owfs.conf file?
>>
>> Thank you very much for your valuable help.
>>
>> Regards
>> Jama
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Owfs-developers mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers