Found the error, I think. (Incorrect setup code for the adapter).

Fixed in the CVS and fixed in the next release.

Paul Alfille

On Dec 1, 2007 7:45 AM, Michael Weber <[EMAIL PROTECTED]> wrote:

> Today I changed our 1wire network over to a different computer, which
> I put 2.7.0 on. I got "Cannot detect DS2480 or LINK interface" most
> times (on one interface - we have 3 - it worked sometimes).
>
> Out of curiosity I went back to 2.6p8 (the old computer had 2.4-1 with
> ownet-python added by hand, since I faced similar problems with 2.6-1
> I think) and it works fine now (at least no error when starting).
>
> I looked at the ds2480_detect code, and there seems to be some changes,
> notably
>
> if (((setup[3] & 0xF1) == 0x00) &&
>                ((setup[3] & 0x0E) ==
> DS2480_baud(in->connin.serial.speed, &pn)) &&
>                ((setup[4] & 0xF0) == 0x90) &&
>                ((setup[4] & 0x0C) == DS2480_baud(in->connin.serial.speed,
> &pn))
>                ) {
>
> has gone and new calls to DS2480_configuration_code are done.
>
> Michael
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to