If I connect back to my PC-s serial port, it works, but not with the routerboard's port. I've checked it many times.

the result when I run it on my pc:

***********
[root@kako 1w]# ls -la
összesen 4
drwxr-xr-x. 1 root root    8 febr   7 07.12 .
drwxr-xr-x. 3 root root 4096 febr   5 16.53 ..
drwxrwxrwx. 1 root root    8 febr   7 07.12 3B.CA8505000000
drwxr-xr-x. 1 root root    8 febr   7 07.12 alarm
drwxr-xr-x. 1 root root    8 febr   7 07.12 bus.0
drwxr-xr-x. 1 root root    8 febr   7 07.12 settings
drwxrwxrwx. 1 root root    8 febr   7 07.12 simultaneous
drwxr-xr-x. 1 root root    8 febr   7 07.12 statistics
drwxr-xr-x. 1 root root   32 febr   7 07.12 structure
drwxr-xr-x. 1 root root    8 febr   7 07.12 system
drwxr-xr-x. 1 root root    8 febr   7 07.12 uncached
[root@kako 1w]#


***********




And the debug says:

***********

[root@kako ~]# /opt/owfs/bin/owfs --passive=/dev/ttyS0 /mnt/1w/ --8bit --debug
CONNECT: owfs.c:main(100) fuse mount point: /mnt/1w/
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(75) Avahi support: libavahi-client loaded successfully DEBUG: ow_avahi_link.c:OW_Load_avahi_library(77) Avahi library function found: avahi_client_errno DEBUG: ow_avahi_link.c:OW_Load_avahi_library(78) Avahi library function found: avahi_client_free DEBUG: ow_avahi_link.c:OW_Load_avahi_library(79) Avahi library function found: avahi_client_new DEBUG: ow_avahi_link.c:OW_Load_avahi_library(80) Avahi library function found: avahi_client_get_domain_name DEBUG: ow_avahi_link.c:OW_Load_avahi_library(81) Avahi library function found: avahi_entry_group_add_service DEBUG: ow_avahi_link.c:OW_Load_avahi_library(82) Avahi library function found: avahi_entry_group_commit DEBUG: ow_avahi_link.c:OW_Load_avahi_library(83) Avahi library function found: avahi_entry_group_is_empty DEBUG: ow_avahi_link.c:OW_Load_avahi_library(84) Avahi library function found: avahi_entry_group_new DEBUG: ow_avahi_link.c:OW_Load_avahi_library(85) Avahi library function found: avahi_entry_group_reset DEBUG: ow_avahi_link.c:OW_Load_avahi_library(87) Avahi library function found: avahi_service_resolver_free DEBUG: ow_avahi_link.c:OW_Load_avahi_library(88) Avahi library function found: avahi_service_resolver_new DEBUG: ow_avahi_link.c:OW_Load_avahi_library(89) Avahi library function found: avahi_service_browser_free DEBUG: ow_avahi_link.c:OW_Load_avahi_library(90) Avahi library function found: avahi_service_browser_new DEBUG: ow_avahi_link.c:OW_Load_avahi_library(102) Avahi support: libavahi-common loaded successfully. DEBUG: ow_avahi_link.c:OW_Load_avahi_library(104) Avahi library function found: avahi_simple_poll_free DEBUG: ow_avahi_link.c:OW_Load_avahi_library(105) Avahi library function found: avahi_simple_poll_get DEBUG: ow_avahi_link.c:OW_Load_avahi_library(106) Avahi library function found: avahi_simple_poll_loop DEBUG: ow_avahi_link.c:OW_Load_avahi_library(107) Avahi library function found: avahi_simple_poll_new DEBUG: ow_avahi_link.c:OW_Load_avahi_library(108) Avahi library function found: avahi_simple_poll_quit DEBUG: ow_avahi_link.c:OW_Load_avahi_library(109) Avahi library function found: avahi_strerror
   CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters)
  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: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /mnt/1w/
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 2 -o
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 3 direct_io
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 4 -f
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 5 -d
  DEBUG: owfs.c:main(125) fuse_mnt_opt=[(null)]
  DEBUG: owfs.c:main(127) fuse_open_opt=[(null)]
FUSE library version: 2.8.6
nullpath_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.17
flags=0x0000047b
max_readahead=0x00020000
   INIT: 7.12
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, success, outsize: 40
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48
   unique: 2, error: -38 (Function not implemented), outsize: 16
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56
getattr /
   CALL: ow_fstat.c:FS_fstat(22) path=/
   CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[/]
   CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(59) /
   unique: 3, success, outsize: 120
unique: 4, opcode: OPENDIR (27), nodeid: 1, insize: 48
   unique: 4, success, outsize: 32
unique: 6, opcode: INTERRUPT (36), nodeid: 0, insize: 48
INTERRUPT: 5
unique: 5, opcode: READDIR (28), nodeid: 1, insize: 80
getdir[0]
   CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[/]
   CALL: owfs_callback.c:FS_getdir(175) GETDIR path=/
  DEBUG: ow_dir.c:FS_dir(63) path=/
   CALL: ow_dir.c:FS_dir_both(98) path=/
DEBUG: ow_cache.c:Cache_Get_Dir(868) Looking for directory 00 00 00 00 00 00 00 00 DEBUG: ow_cache.c:Cache_Get_Common_Dir(881) Get from cache sn 00 00 00 00 00 00 00 00 pointer=0xb770b954 extension=0
  DEBUG: ow_cache.c:Cache_Get_Common_Dir(910) Dir not found in cache
DEBUG: ow_search.c:BUS_first(32) Start of directory path=/ device=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:BUS_select(66) Selecting a path (and device) path=/ SN=00 00 00 00 00 00 00 00 last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(79) Continuing root branch
  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_bus_data.c:BUS_sendback_data_bitbang(120) Splitting byte 0 of 1 = F0
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 8 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 8 - 0 = 8
DEBUG: ow_bus_data.c:BUS_sendback_data_bitbang(141) Consolidating byte 0 of 1 = F0
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 2 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 2 - 0 = 2
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
  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_search.c:BUS_next(74) Device found: 3B CA 85 05 00 00 00 6A*_
DEBUG: ow_cache.c:Cache_Add_Device(561) Adding device location 3B CA 85 05 00 00 00 6A bus=0 DEBUG: ow_cache.c:Cache_Add_Common(650) Add to cache sn 3B CA 85 05 00 00 00 6A pointer=0xb770b94c index=0 size=4 DEBUG: ow_cache.c:Cache_Add_Device(561) Adding device location 3B CA 85 05 00 00 00 6A bus=0


***********



So as it shows it have found the sensor too. Ergo it coudn't be a wiring fault.






2012-02-06 22:50 keltezéssel, Paul Alfille írta:
I wouldn't worry about the Avahi messages, it isn't important.

How do you know the isn't a hardware error with the sensor? Wiring problem.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to