Am 07.11.2015 um 08:47 schrieb Martin Patzak (GMX):
>
> With owfs I can use --debug and additionally an --error_level setting to
> select the amount of debug information
> --foreground I used to see if owserver need this
>
--debug is the same as "--foreground --error_level=9"
See module/owlib/src/c/ow_opt.c:733ff
>
> which gives me the *wrong value*. Thats why I started debugging to see
> what owserver is doing with it
> *CRC16_erros* on *owserver* is *15*, while it remains *0* on *owfs*.
>
Well, okay.
> ---------------------------------
>
> mnm@razmaban:~/owfs/owfs_151104$ sudo owserver --link=/dev/1-wire-link
> --debug --error_level=3
> [sudo] password for mnm:
> DEBUG MODE
> libow version:
> 2.9p8
>
>
> *and that's all she wrote!*
>
That's the output when debug support wasn't selected at compile time.
>> You are using a build without debugging support. Please take the owfs
>> sources and configure/compile for yourself.
> can it be, that owserver has no debugging support, while owfs does?
> And why does it print DEBUG MODE at all?
>
That's a simple printf() at module/owlib/src/c/ow_opt.c:735, which isn't
connected to any compile-time option.
Kind regards
Jan
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers