Hi,

Le 20/01/2016 15:48, Piotr Górski a écrit :
> I have only one USB to 1Wire converter that works right now in something that 
> is very important to me so right now I can't test older versions.
> 
> When I was testing owfs installed from Debian's apt repo I have found in logs:
> 
> Jan 17 21:05:08 fire OWFS[1604]: DEFAULT: ow_arg.c:(552) USB support 
> (intentionally) not included in compilation. Check LIBUSB, then reconfigure 
> and recompile.

Grepping the sources, I find this message in (and only in)
module/owlib/src/c/ow_arg.c that is used to build libow.

The sources have:
#if OW_USB
[...]
                LEVEL_DEFAULT( "USB library initialization had problems -- 
can't proceed") ;
[...]
#else                                                   /* OW_USB */
        (void) arg ;
        LEVEL_DEFAULT("USB support (intentionally) not included in compilation. 
Check LIBUSB, then reconfigure and recompile.");
        return gbBAD;
#endif                                                  /* OW_USB */


So, only one of these two messages is compiled into libow.
I downloaded Debian package libow-3.1-0_3.1p0-2_i386.deb and 
libow-3.1-1_3.1p1-2_i386.deb,
uncompact them and look at strings into libow.
I only see the first one:

vdanjean@eyak:/tmp/owfs/tmp/usr/lib/i386-linux-gnu$ strings libow-3.1.so.0 | 
egrep "USB (library|support)"
USB library could not be initialized -- cannot proceed
USB library initialization had problems -- can't proceed
<%s> Cannot initialize libusb  -- USB library for using some bus masters
vdanjean@eyak:/tmp/owfs/tmp/usr/lib/i386-linux-gnu$ strings libow-3.1.so.1 | 
egrep "USB (library|support)"
USB library initialization had problems -- can't proceed
<%s> Cannot initialize libusb  -- USB library for using some bus masters

And the disassembly of the function where the string occurs (version
3.1p1-2 on amd64) show me that USB is supported.


Can you double checks the version this bug apply? The bug report tells
3.1p0-2 but I cannot find the string you obtain in the binary (and I
find the string that tells that USB is supported)
  And can you try with recent the owfs upload? (3.1p1-2) and report if
the bug is still here?

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0xD17897FA         [email protected]
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main

Reply via email to