Problem to enable USB support

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem to enable USB support

samuix
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Problem to enable USB support

Johan Ström-3

That looks wierd, since it reports that ftdi is enabled.. And that depends on libusb.

Can you upload the config.log somewhere please (gist.github.com or similar)?


On 04/04/17 17:13, samuix wrote:
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Problem to enable USB support

Roland Franke
In reply to this post by samuix
Hello,
try to install additional the libusb-1.0.0-dev
You will need libusb-dev for version 1.0.xxx (xxx as placeholder)
Then it should work
 
Best regards,
Roland
 
From: samuix
Sent: Tuesday, April 4, 2017 5:13 PM
Subject: [Owfs-developers] Problem to enable USB support
 
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Problem to enable USB support

samuix
In reply to this post by Johan Ström-3
I have no place to upload, you can find the complete log for ./configure below.
 
./configure
checking whether make supports nested variables... yes
Configuring owfs-3.1p5
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking target system type... armv6l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for echo... /bin/echo
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for rpm... no
checking for rpmbuild... no
checking for swig... no
checking for soelim... /usr/bin/soelim
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if debian-system is used... no (default)
checking for special host... Other host
checking for launch_activate_socket... no
checking if compiler supports nested functions... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking feature_tests.h usability... no
checking feature_tests.h presence... no
checking for feature_tests.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking linux/limits.h usability... yes
checking linux/limits.h presence... yes
checking for linux/limits.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for dlfcn.h... (cached) yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking if debug-output is enabled... yes (default)
checking if mutexdebug is enabled... yes (default)
checking if OWSHELL support is enabled... yes (default)
checking if OWLIB support is enabled... yes (default)
checking if OWNETLIB support is enabled... yes (default)
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking if i2c(DS2482-x00) is enabled... yes (default)
checking if W1 is enabled... yes (default)
checking if owhttpd is enabled... yes (default)
checking if owftpd is enabled... yes (default)
checking if owserver is enabled... yes (default)
checking if owexternal is enabled... yes (default)
checking if ownet is enabled... yes (default)
checking if owtap is enabled... yes (default)
checking if owmalloc is enabled... no (default)
checking if owmon is enabled... yes (default)
checking if owcapi is enabled... yes (default)
checking if swig is enabled... auto (default)
checking if owperl is enabled... no (swig disabled)
checking if owphp is enabled... no (swig disabled)
checking if owpython is enabled... no (swig disabled)
checking if owtcl is enabled... yes (default)
Looking for tclConfig.sh
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions
configure: WARNING: OWTCL is disabled because tclConfig.sh is not found
checking if cflag _XOPEN_SOURCE is required... -D_XOPEN_SOURCE=600
checking if cflag _BSD_SOURCE is required... -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE
checking if extra libs are required...
checking if profiling is enabled... no (default)
configure: WARNING: LD_EXTRALIBS= OSLIBS=
checking if owfs is enabled... auto (default)
checking fuse.h usability... yes
checking fuse.h presence... yes
checking for fuse.h... yes
checking for fuse_main in -lfuse... yes
checking For supported FUSE API version... yes
checking For FUSE version ... 2.2 or later
checking if zeroconf/bonjour is enabled... yes (default)
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
checking if Avahi support is enabled... auto (default)
checking for LIBAVAHI... yes
checking if parallel port support is enabled... yes (default)
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking for libftdi1-config... no
checking for libftdi-config... libftdi-config
checking if libftdi is available... auto (default)
checking if libftdi compiles with includes+lib ... ok
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for socklen_t... yes
checking for AF_NETLINK... yes
checking for broken glibc with __ss_family... no
checking for core ipv6 support... no
checking if sem_timedwait exists... yes
checking whether string.h and strings.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking for working strtod... yes
checking return type of signal handlers... void
checking for accept... yes
checking for daemon... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for gethostbyname2_r... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for getservbyname_r... yes
checking for getopt... yes
checking for getopt_long... yes
checking for gmtime_r... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for memchr... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for twalk... yes
checking for tsearch... yes
checking for tfind... yes
checking for tdelete... yes
checking for tdestroy... yes
checking for vasprintf... yes
checking for strsep... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for writev... yes
checking for getline... yes
checking for library containing dlopen... -ldl
checking for library containing lrint... -lm
checking for library containing nanosleep... none required
checking for library containing mq_getattr... -lrt
checking for libcheck... no
configure: WARNING: "Check unit testing framework not found. "
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating module/Makefile
config.status: creating module/owlib/Makefile
config.status: creating module/owlib/src/Makefile
config.status: creating module/owlib/src/include/Makefile
config.status: creating module/owlib/src/c/Makefile
config.status: creating module/owlib/tests/Makefile
config.status: creating module/owfs/Makefile
config.status: creating module/owfs/src/Makefile
config.status: creating module/owfs/src/include/Makefile
config.status: creating module/owfs/src/c/Makefile
config.status: creating module/owhttpd/Makefile
config.status: creating module/owhttpd/src/Makefile
config.status: creating module/owhttpd/src/include/Makefile
config.status: creating module/owhttpd/src/c/Makefile
config.status: creating module/owserver/Makefile
config.status: creating module/owserver/src/Makefile
config.status: creating module/owserver/src/include/Makefile
config.status: creating module/owserver/src/c/Makefile
config.status: creating module/owftpd/Makefile
config.status: creating module/owftpd/src/Makefile
config.status: creating module/owftpd/src/include/Makefile
config.status: creating module/owftpd/src/c/Makefile
config.status: creating module/ownet/Makefile
config.status: creating module/ownet/php/Makefile
config.status: creating module/ownet/php/examples/ownet_example.php
config.status: creating module/ownet/python/Makefile
config.status: creating module/ownet/perl5/Makefile
config.status: creating module/ownet/c/Makefile
config.status: creating module/ownet/c/src/Makefile
config.status: creating module/ownet/c/src/include/Makefile
config.status: creating module/ownet/c/src/c/Makefile
config.status: creating module/ownet/c/src/example/Makefile
config.status: creating module/owshell/Makefile
config.status: creating module/owshell/src/Makefile
config.status: creating module/owshell/src/include/Makefile
config.status: creating module/owshell/src/c/Makefile
config.status: creating module/owcapi/Makefile
config.status: creating module/owcapi/src/Makefile
config.status: creating module/owcapi/src/include/Makefile
config.status: creating module/owcapi/src/c/Makefile
config.status: creating module/owcapi/src/example/Makefile
config.status: creating module/owcapi/src/example++/Makefile
config.status: creating module/owtap/Makefile
config.status: creating module/owmon/Makefile
config.status: creating module/swig/Makefile
config.status: creating module/swig/perl5/Makefile
config.status: creating module/swig/perl5/OW/Makefile.linux
config.status: creating module/swig/perl5/OW/Makefile.osx
config.status: creating module/swig/php/Makefile
config.status: creating module/swig/php/example/load_php_OW.php
config.status: creating module/swig/python/Makefile
config.status: creating module/swig/python/ow/Makefile
config.status: creating module/swig/python/setup.py
config.status: creating module/owtcl/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/man/Makefile
config.status: creating src/man/man1/Makefile
config.status: creating src/man/man3/Makefile
config.status: creating src/man/man5/Makefile
config.status: creating src/man/mann/Makefile
config.status: creating src/rpm/Makefile
config.status: creating src/rpm/owfs.spec
config.status: creating src/scripts/Makefile
config.status: creating src/scripts/windows/Makefile
config.status: creating src/scripts/windows/owfs.nsi
config.status: creating src/scripts/usb/Makefile
config.status: creating src/scripts/usb/cygwin/Makefile
config.status: creating src/scripts/usb/windows/Makefile
config.status: creating src/scripts/systemd/Makefile
config.status: creating src/include/owfs_config.h
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
 
Gesendet: Dienstag, 04. April 2017 um 17:20 Uhr
Von: "Johan Ström" <[hidden email]>
An: "OWFS (One-wire file system) discussion and help" <[hidden email]>
Betreff: Re: [Owfs-developers] Problem to enable USB support

That looks wierd, since it reports that ftdi is enabled.. And that depends on libusb.

Can you upload the config.log somewhere please (gist.github.com or similar)?

 
On 04/04/17 17:13, samuix wrote:
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 
 
 
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 
 
 
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Problem to enable USB support

samuix
In reply to this post by Roland Franke
It works, thank you
 
Gesendet: Dienstag, 04. April 2017 um 17:33 Uhr
Von: "Roland Franke" <[hidden email]>
An: "OWFS (One-wire file system) discussion and help" <[hidden email]>
Betreff: Re: [Owfs-developers] Problem to enable USB support
Hello,
try to install additional the libusb-1.0.0-dev
You will need libusb-dev for version 1.0.xxx (xxx as placeholder)
Then it should work
 
Best regards,
Roland
 
From: samuix
Sent: Tuesday, April 4, 2017 5:13 PM
Subject: [Owfs-developers] Problem to enable USB support
 
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

 


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Problem to enable USB support

Roland Franke
Hello,
last year in June you had the same problem Zwinkerndes Smiley
Fine to hear it work.
Try to do my best to help.
 
Best regards,
Roland
 
From: samuix
Sent: Tuesday, April 4, 2017 6:32 PM
Subject: Re: [Owfs-developers] Problem to enable USB support
 
It works, thank you
 
Gesendet: Dienstag, 04. April 2017 um 17:33 Uhr
Von: "Roland Franke" <[hidden email]>
An: "OWFS (One-wire file system) discussion and help" <[hidden email]>
Betreff: Re: [Owfs-developers] Problem to enable USB support
Hello,
try to install additional the libusb-1.0.0-dev
You will need libusb-dev for version 1.0.xxx (xxx as placeholder)
Then it should work
 
Best regards,
Roland
 
From: samuix
Sent: Tuesday, April 4, 2017 5:13 PM
Subject: [Owfs-developers] Problem to enable USB support
 
Hello,
after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available.
 
I try following commands:
>apt-get install git
>apt-get install autoconf
>apt-get install pkg-config
>apt-get install libtool m4 automake
>apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev libavahi-common-dev libavahi-client-dev
>git clone git://git.code.sf.net/p/owfs/code owfs-code
>./bootstrap
>./configure
.......
checking if usb support is enabled... auto (default)
checking for LIBUSB... no
.......
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
                    AVAHI is enabled
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED
              unit tests are DISABLED
 
>find /usr/lib -name "libusb.*"
/usr/lib/arm-linux-gnueabihf/libusb.a
/usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc
/usr/lib/arm-linux-gnueabihf/libusb.so
 
What can i do to enable USB support?
 
Regards
 
 

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

 


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers