Witam.
Ostatnio dotarłem do pewnego punktu w budowanie swojej infrastruktury 1W, w którym to nie działają dwie przejściówki pasywne PL2303. Kupiłem więc dwie przejściówki FTDI. Teraz nie mogę uruchomić nawet jednej.
Czy komuś się udało uruchomić OWFS'a na takiej przejściówce?
Ja dostaje komunikaty:
# owfs -d /dev/ttyUSB3 /mnt/1-Wire/OWFS --error_level=9
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:(98) path=[]
DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
DEBUG: ow_ds9097U.c:(286) Attempt 0 of 3 to initialize the DS9097U
DEBUG: ow_ds9097U.c:(377) Send the initial reset to the bus master.
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_ds9097U.c:(472) Failed first attempt at resetting baud rate of bus master /dev/ttyUSB3
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_ds9097U.c:(477) Failed second attempt at resetting baud rate of bus master /dev/ttyUSB3
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_ds9097U.c:(472) Failed first attempt at resetting baud rate of bus master /dev/ttyUSB3
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_ds9097U.c:(477) Failed second attempt at resetting baud rate of bus master /dev/ttyUSB3
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
...
lub
# owserver -u -p 4304 --error_level=9
Oct 4 13:22:15 OWFS[18852]: DEFAULT: ow_daemon.c:(144) Entered background mode, quitting.
Oct 4 13:22:15 OWFS[18852]: DEBUG: ow_daemon.c:(167) main thread id = 1024
Oct 4 13:22:15 OWFS[18852]: CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client couldn't be loaded
Oct 4 13:22:15 OWFS[18852]: CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found
Oct 4 13:22:15 OWFS[18852]: CALL: ow_parsename.c:(98) path=[]
Oct 4 13:22:15 OWFS[18852]: DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
Oct 4 13:22:15 OWFS[18852]: DEFAULT: owlib.c:(205) Cannot open USB bus master
lub
owfs --passive=/dev/ttyUSB3 /mnt/1-Wire/OWFS --error_level=9
CONNECT: owfs.c:(96) fuse mount point: /mnt/1-Wire/OWFS
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:(98) path=[]
DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes
DEFAULT: owlib.c:(137) Cannot detect DS9097 (passive) interface on /dev/ttyUSB3.
DEBUG: ow_serial_free.c:(44) COM_close: flush
DEBUG: ow_serial_free.c:(46) COM_close: restore
DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS
DEBUG: fuse_line.c:(82) Added FUSE option 1 /mnt/1-Wire/OWFS
DEBUG: fuse_line.c:(82) Added FUSE option 2 -o
DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io
DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)]
DEBUG: owfs.c:(123) fuse_open_opt=[(null)]
Dodam, że po wpięciu przejściówki mam w dmesg:
usb 1-1.4.4: new full speed USB device using ar71xx-ehci and address 9
usb 1-1.4.4: configuration #1 chosen from 1 choice
ftdi_sio 1-1.4.4:1.0: FTDI USB Serial Device converter detected
usb 1-1.4.4: Detected FT232RL
usb 1-1.4.4: Number of endpoints 2
usb 1-1.4.4: Endpoint 1 MaxPacketSize 16384
usb 1-1.4.4: Endpoint 2 MaxPacketSize 16384
usb 1-1.4.4: Setting MaxPacketSize 64
usb 1-1.4.4: FTDI USB Serial Device converter now attached to ttyUSB3
W messeges natomiast:
el: usb 1-1.4.4: new full speed USB device using ar71xx-ehci and address 9
el: usb 1-1.4.4: configuration #1 chosen from 1 choice
el: ftdi_sio 1-1.4.4:1.0: FTDI USB Serial Device converter detected
el: usb 1-1.4.4: Detected FT232RL
el: usb 1-1.4.4: Number of endpoints 2
el: usb 1-1.4.4: Endpoint 1 MaxPacketSize 16384
el: usb 1-1.4.4: Endpoint 2 MaxPacketSize 16384
el: usb 1-1.4.4: Setting MaxPacketSize 64
el: usb 1-1.4.4: FTDI USB Serial Device converter now attached to ttyUSB3
modeswitch: 1-1.4.4:1.0: Manufacturer=ELKOM-SERWIS Product=USB_<->_RS232/TTL_EM218 Serial=FTVNG8SN
Będę wdzięczy za pomysły rozwiązania problemu.