Hi,
thanks for Your support, hope You can find out, what we can modify that the 1-wire is working under Linux with owserver :-)
Below the compile and the debug-log....
but we have still the error:
DEFAULT: owlib.c:(130) Cannot detect DS9097 (passive) interface on ftdi:i:0x0403:0x6001.
DEFAULT: owlib.c:(52) No valid 1-wire buses found
DEFAULT: owlib.c:(52) No valid 1-wire buses found
we are using this bus-coupler: https://www.eservice-online.de/shop/e-service-1-wire-bus/buskoppler-schnittstellen/152/1-wire-buskoppler-usb-pro-isoliert
./configure --with-libftdi-config=/usr/bin/libftdi-config --enable-usb --enable-owfs --enable-profiling
configure: WARNING: unrecognized options: --with-libftdi-config
Current configuration:
Deployment location: /opt/owfs
Compile-time options:
USB is DISABLED
AVAHI is DISABLED
I2C is enabled
W1 is enabled
Parallel port DS1410E is enabled
Zeroconf/Bonjour is enabled
Debug-output is enabled
Mutexdebug is enabled
Profiling is enabled
Tracing memory allocation is DISABLED
USB is DISABLED
AVAHI is DISABLED
I2C is enabled
W1 is enabled
Parallel port DS1410E is enabled
Zeroconf/Bonjour is enabled
Debug-output is enabled
Mutexdebug is enabled
Profiling is enabled
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
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
/opt/owfs/bin/owserver -d ftdi:i:0x0403:0x6001 --debug
DEBUG MODE
libow version:
3.1p1
DEBUG: ow_daemon.c:(170) main thread id = 3075090176
DEBUG: ow_inotify.c:(80) No configuration files to monitor
CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:(104) path=[]
DEBUG: owlib.c:(77) Global temp limit 0C to 100C (for fake and mock adapters)
DEBUG: ow_ds9097U.c:(471) Attempt 0 of 3 to initialize the DS9097U
DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=10001
]*$> compiled to 0xb77adde0g Ex _expression_ <^ *([^ ]+)[
]*$> compiled to 0xb77addc0g Ex _expression_ <^ *([^ ]+) *: *([^ ]+)[
]*$> compiled to 0xb77adda0g Ex _expression_ <^ *([^ ]+) *: *([^ ]+) *: *([^ ]+)[
DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^$> compiled to 0xb77add80
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^all$> compiled to 0xb77add60
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^scan$> compiled to 0xb77add40
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^\*$> compiled to 0xb77add20
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}$> compiled to 0xb77add00
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^-?[[:digit:]]+$> compiled to 0xb77adce0
DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
DEBUG: ow_parse_address.c:(120) First <ftdi:i>
DEBUG: ow_parse_address.c:(125) Second <0x0403>
DEBUG: ow_parse_address.c:(60) Text <0x0403>
DEBUG: ow_parse_address.c:(131) Third <0x6001>
DEBUG: ow_parse_address.c:(60) Text <0x6001>
DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP address=[ftdi:i] port=[0x0403]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported for ai_socktype
DEBUG: ow_ds9097U.c:(471) Attempt 1 of 3 to initialize the DS9097U
DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=10001
DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
DEBUG: ow_parse_address.c:(120) First <ftdi:i>
DEBUG: ow_parse_address.c:(125) Second <0x0403>
DEBUG: ow_parse_address.c:(60) Text <0x0403>
DEBUG: ow_parse_address.c:(131) Third <0x6001>
DEBUG: ow_parse_address.c:(60) Text <0x6001>
DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP address=[ftdi:i] port=[0x0403]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported for ai_socktype
DEBUG: ow_ds9097U.c:(471) Attempt 2 of 3 to initialize the DS9097U
DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=10001
DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
DEBUG: ow_parse_address.c:(120) First <ftdi:i>
DEBUG: ow_parse_address.c:(125) Second <0x0403>
DEBUG: ow_parse_address.c:(60) Text <0x0403>
DEBUG: ow_parse_address.c:(131) Third <0x6001>
DEBUG: ow_parse_address.c:(60) Text <0x6001>
DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP address=[ftdi:i] port=[0x0403]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported for ai_socktype
DEBUG: ow_ds9097U.c:(456) Could not initilize the DS9097U even after several tries
DEBUG: ow_com.c:(45) Auto initialization of ftdi:i:0x0403:0x6001
DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=10001
DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
DEBUG: ow_parse_address.c:(120) First <ftdi:i>
DEBUG: ow_parse_address.c:(125) Second <0x0403>
DEBUG: ow_parse_address.c:(60) Text <0x0403>
DEBUG: ow_parse_address.c:(131) Third <0x6001>
DEBUG: ow_parse_address.c:(60) Text <0x6001>
DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP address=[ftdi:i] port=[0x0403]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported for ai_socktype
CONNECT: owlib.c:(121) Cannot detect DS2480 or LINK interface on ftdi:i:0x0403:0x6001.
DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=
DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
DEBUG: ow_parse_address.c:(120) First <ftdi:i>
DEBUG: ow_parse_address.c:(125) Second <0x0403>
DEBUG: ow_parse_address.c:(60) Text <0x0403>
DEBUG: ow_parse_address.c:(131) Third <0x6001>
DEBUG: ow_parse_address.c:(60) Text <0x6001>
DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP address=[ftdi:i] port=[0x0403]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported for ai_socktype
DEFAULT: owlib.c:(130) Cannot detect DS9097 (passive) interface on ftdi:i:0x0403:0x6001.
DEFAULT: owlib.c:(52) No valid 1-wire buses found
DEBUG: ow_exit.c:(17) Exit code = 1
CALL: ow_lib_close.c:(21) Starting Library cleanup
CALL: ow_lib_stop.c:(22) Clear Cache
DEBUG: ow_cache.c:(295) Flipping cache tree (purging timed-out data)
DEBUG: ow_cache.c:(313) flip cache. tdestroy() will be called.
DEBUG: ow_cache.c:(295) Flipping cache tree (purging timed-out data)
DEBUG: ow_cache.c:(313) flip cache. tdestroy() will be called.
CALL: ow_lib_stop.c:(24) Closing input devices
CALL: ow_lib_stop.c:(26) Closing output devices
CALL: ow_lib_stop.c:(28) Clearing compiled expressions
DEBUG: ow_regex.c:(117) Regex Free 0xb77adb20
DEBUG: ow_regex.c:(117) Regex Free 0xb77adb40
DEBUG: ow_regex.c:(117) Regex Free 0xb77adb60
DEBUG: ow_regex.c:(117) Regex Free 0xb77adb80
DEBUG: ow_regex.c:(117) Regex Free 0xb77adce0
DEBUG: ow_regex.c:(117) Regex Free 0xb77add00
DEBUG: ow_regex.c:(117) Regex Free 0xb77add20
DEBUG: ow_regex.c:(117) Regex Free 0xb77add40
DEBUG: ow_regex.c:(117) Regex Free 0xb77add60
DEBUG: ow_regex.c:(117) Regex Free 0xb77add80
DEBUG: ow_regex.c:(117) Regex Free 0xb77adda0
DEBUG: ow_regex.c:(117) Regex Free 0xb77addc0
DEBUG: ow_regex.c:(117) Regex Free 0xb77adde0
DEBUG: ow_regex.c:(129) Regex destroy done
CALL: ow_lib_close.c:(42) Finished Library cleanup
DEBUG: ow_lib_close.c:(50) Libraries closed
Gesendet: Samstag, 25. Juni 2016 um 20:55 Uhr
Von: "Johan Ström" <jo...@stromnet.se>
An: "OWFS (One-wire file system) discussion and help" <owfs-developers@lists.sourceforge.net>
Betreff: Re: [Owfs-developers] Communication to DS9097U not working
Von: "Johan Ström" <jo...@stromnet.se>
An: "OWFS (One-wire file system) discussion and help" <owfs-developers@lists.sourceforge.net>
Betreff: Re: [Owfs-developers] Communication to DS9097U not working
On 25/06/16 20:27, Jan Kandziora wrote:
> Am 25.06.2016 um 15:20 schrieb samuix:
>
>
>> DEBUG: ow_com.c:(45) Auto initialization of ftdi:i:0x0403:0x6001
>> DEBUG: ow_net_client.c:(28) Called with ftdi:i:0x0403:0x6001 default=10001
>> DEBUG: ow_regex.c:(201) 0: 0->20 found <><ftdi:i:0x0403:0x6001><>
>> DEBUG: ow_regex.c:(201) 1: 0->6 found <><ftdi:i><:0x0403:0x6001>
>> DEBUG: ow_regex.c:(201) 2: 7->13 found <ftdi:i:><0x0403><:0x6001>
>> DEBUG: ow_regex.c:(201) 3: 14->20 found <ftdi:i:0x0403:><0x6001><>
>> DEBUG: ow_parse_address.c:(60) Text <ftdi:i>
>> DEBUG: ow_parse_address.c:(120) First <ftdi:i>
>> DEBUG: ow_parse_address.c:(125) Second <0x0403>
>> DEBUG: ow_parse_address.c:(60) Text <0x0403>
>> DEBUG: ow_parse_address.c:(131) Third <0x6001>
>> DEBUG: ow_parse_address.c:(60) Text <0x6001>
>> DEBUG: ow_net_client.c:(85) Called with [ftdi:i:0x0403:0x6001] IP
>> address=[ftdi:i] port=[0x0403]
>>
> This seems very wrong. Johan has to say something about this.
>
>
I'm not sure schreib actually built with FTDI support? The log said:
]*$> compiled to 0xb77b4b60g Ex _expression_ <^ *([^ ]+)[
]*$> compiled to 0xb77b4b40g Ex _expression_ <^ *([^ ]+) *: *([^ ]+)[
]*$> compiled to 0xb77b4b20g Ex _expression_ <^ *([^ ]+) *: *([^ ]+) *:
*([^ ]+)[
where it ought to have said:
DEBUG: ow_regex.c:(74) Reg Ex _expression_ </> compiled to 0x800b31ac0
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^[:digit:]+$> compiled to
0x800b31aa0
DEBUG: ow_regex.c:(74) Reg Ex _expression_
<[:digit:]{1,3}\.[:digit:]{1,3}\.[:digit:]{1,3}\.[:digit:]{1,3}>
compiled to 0x800b31a80
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <^ftdi:> compiled to 0x800b31a60
DEBUG: ow_regex.c:(74) Reg Ex _expression_ <:> compiled to 0x800b31a40
i.e no regex for the ^ftdi: pattern was compiled. And the output is a
bit weird..
schreib: verify that the "make install" step actually installs into
"/opt/owfs/bin/owserver" which you are executing.
Otherwise, you can try running it from the build dir:
"./module/owserver/src/c/owserver"
Johan
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers