Re: [Owfs-developers] DS2482-800 adapter

2006-05-28 Thread Daniel Höper
Am Sonntag, 28. Mai 2006 20:56 schrieb Paul Alfille: > > 3. There are nine channels (bus.0 ... bus.8) for only eight 1-wire > > busses. bus.0 and bus.2 have the same value for connin.i2c.index (=1). So > > a 1-wire device connected to the second bus of the adapter is shown twice > > in the owfs > >

[Owfs-developers] DS2482-800 adapter

2006-05-28 Thread Daniel Höper
There are some problems with this adapter: 1. We get an infinite loop in ow_connect.c:NewIn() while creating the eight 1-wire busses in ow_ds2482.c:CreateChannels(). I solved this by setting now->next to NULL in NewIn() if the new connection is a copy of an existing one. 2. After fixing this p

Re: [Owfs-developers] i2c support again

2006-05-27 Thread Daniel Höper
ed > > > error. > > > > > > I'll make some changes to see if we can figure out why the search is > > > failing. It seems like a timing, hardware or driver problem, really. > > > > > > Paul > > > > > > On 5/23/06, Daniel Höp

Re: [Owfs-developers] i2c support again

2006-05-23 Thread Daniel Höper
b Paul Alfille: > Daniel, > > This is better than I expected. > With your modifications, it sounds like: > 1. The chip is detected > 2. Reset and the start of a device search works. > > I'm uploading a more heavily "instrumented" version -- more debugging > info

Re: [Owfs-developers] i2c support again

2006-05-20 Thread Daniel Höper
sing /dev/i2c-1 works fine, too. We haven't tested the > > smbus->i2c translation of the kernel driver, though. -- That is some work > > to do. I hope you could help us here. > > > > > I have the high-level things in place, but haven't trasfered in al the &g