Temat: owfs i ds9097 nie wykrywa czujników
Witam
Korzystam z digitemp'a na debianie i wszystko gra, postanowiłem potestować owfs, z kompilacja pod debiana się pogubiłem znalazłem repo http://owfs.davromaniak.eu/ z gotowcem.Jak symulacja działa, tak jak uruchomię dla mojego układu owfs to czyjniki nie odpowiadają jak mniemam ale układ wykrywa.
[17:44:02] root@dellserv:~# owfs -d /dev/ttyS0 /mnt/1wire --error_level=9
CONNECT: owfs.c:main(100) fuse mount point: /mnt/1wire
CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters)
DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(267) Attempt #0 to initialize the DS9097U
DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(356) Send the initial reset to the bus master.
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(454) Failed second attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(454) Failed second attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_write(418) wrong response (05 not 44)
DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(356) Send the initial reset to the bus master.
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(454) Failed second attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (0F not 00)
DEBUG: ow_ds9097U.c:DS2480_set_baud_control(454) Failed second attempt at resetting baud rate of bus master /dev/ttyS0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_ds9097U.c:DS2480_configuration_write(418) wrong response (05 not 44)
^COczywiście na przed ostatniej linijce "stoi" trzeba przerwać ;/
Może się ktoś spotkał?
edit..
Ma ktoś ten układ na rs232 w trybie parasite (bez zasilania) na owfs, może to wina braku zasilania, chociaż w dokumentacji jest pisze że obsługuje.Może ktoś potwierdzi?