Автор Тема: После обновления до p7 перестал работать owfs [как бы решено]  (Прочитано 2113 раз)

Оффлайн zyl

  • Начинающий
  • *
  • Сообщений: 23
Всем привет.
После обновления с p6 до p7 перестала монтироваться сеть 1-wire.
Прошу подсказать, как это исправить.

# owfs -d /dev/ttyS1 -m /mnt/1-wire/ --error_level=5
зависает следующим образом:
Спойлер
CONNECT: owfs.c:main(123) fuse mount point: /mnt/1-wire/
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(265) Attempt #0 to initialize the DS9097U
  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(354) 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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(447) Failed first attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(452) Failed second attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(447) Failed first attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(452) Failed second attempt at resetting baud rate of bus master /dev/ttyS1
  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(416) wrong response (85 not 44)
  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(354) 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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(447) Failed first attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(452) Failed second attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(447) Failed first attempt at resetting baud rate of bus master /dev/ttyS1
  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(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(452) Failed second attempt at resetting baud rate of bus master /dev/ttyS1
  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(416) wrong response (85 not 44)
Явное указание скорости, соответствующее настройкам порта - не помогает.
В то же время digitemp как и раньше прекрасно все видит:
# digitemp_DS9097 -q -s /dev/ttyS1 -w
103AE58002080031 : DS1820/DS18S20/DS1920 Temperature Sensor
10B9BA8002080078 : DS1820/DS18S20/DS1920 Temperature Sensor
10ADCE800208008D : DS1820/DS18S20/DS1920 Temperature Sensor
282B3BBF04000031 : DS18B20 Temperature Sensor
« Последнее редактирование: 01.11.2013 23:17:45 от zyl »

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 251
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
1. Не установлены библиотеки:
 Library libavahi-client couldn't be loaded
 dnssd library isn't found
2, Не синхронизировано время?
 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 251
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
apt-cache search  libavahi-client
libavahi - Libraries for avahi

Оффлайн zyl

  • Начинающий
  • *
  • Сообщений: 23
# apt-get install libavahi
Reading Package Lists... Done
Building Dependency Tree... Done
libavahi is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

2. Зачем COM-порту синхронизированное время?
Проблема, как я понимаю, в следующем:
DEBUG: ow_ds9097U.c:DS2480_configuration_read(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(447) Failed first attempt at resetting baud rate of bus master /dev/ttyS1
<skip>
  DEBUG: ow_ds9097U.c:DS2480_configuration_read(432) wrong response (0F not 00)
  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(452) Failed second attempt at resetting baud rate of bus master
А как с этим бороться - вопрос.

Оффлайн zyl

  • Начинающий
  • *
  • Сообщений: 23
Откат к версии из p6 возвращает работоспособность.
Версия из p7 на контроллере с http://xgu.ru/wiki/1wire не заработала.