I did start owfs in debug mode and logged both commands:
echo "1" > PIO,0
and
echo "1" > PIO.BYTE
BOTH return an error in the end:
DEBUG: ow_write.c:FS_write_postparse(194) Error writing to
/29.646C08000000/PIO.0
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.0
write[0] 2 bytes to 0
The full logs are attached
I am not able to interpret the log and derive where the problem is, but
I am sure somebody else can :D
I have to switch the Bus back to raspi now - its starting to get cold in
here :)
Cheers,
Martin
unique: 17, opcode: LOOKUP (1), nodeid: 2, insize: 46
LOOKUP /29.646C08000000/PIO.0
getattr /29.646C08000000/PIO.0
CALL: ow_fstat.c:FS_fstat(22) path=/29.646C08000000/PIO.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/29.646C08000000/PIO.0]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: 87 seconds.
DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES
path=/29.646C08000000/PIO.0
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.0
NODEID: 4
unique: 17, success, outsize: 144
unique: 18, opcode: SETATTR (4), nodeid: 4, insize: 128
truncate /29.646C08000000/PIO.0 0
CALL: owfs_callback.c:FS_truncate(144) TRUNCATE path=/29.646C08000000/PIO.0
getattr /29.646C08000000/PIO.0
CALL: ow_fstat.c:FS_fstat(22) path=/29.646C08000000/PIO.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/29.646C08000000/PIO.0]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: 87 seconds.
DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES
path=/29.646C08000000/PIO.0
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.0
unique: 18, success, outsize: 120
unique: 19, opcode: OPEN (14), nodeid: 4, insize: 48
open flags: 0x2001 /29.646C08000000/PIO.0
CALL: owfs_callback.c:FS_open(128) OPEN path=/29.646C08000000/PIO.0
open[0] flags: 0x2001 /29.646C08000000/PIO.0
unique: 19, success, outsize: 32
unique: 20, opcode: FLUSH (25), nodeid: 4, insize: 64
unique: 20, error: -89 (Function not implemented), outsize: 16
unique: 21, opcode: WRITE (16), nodeid: 4, insize: 82
write[0] 2 bytes to 0 flags: 0x2001
CALL: ow_write.c:FS_write(67) path=/29.646C08000000/PIO.0 size=2 offset=0
DEBUG: ow_parseobject.c:OWQ_create(160) /29.646C08000000/PIO.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/29.646C08000000/PIO.0]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: 87 seconds.
DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
OWQ OneWireQuery structure of /29.646C08000000/PIO.0
OneWireQuery size=2 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=2
--000: 31 0A
<1.>
Cleanup = 0002 OneWireQuery I=1 U=1 F=2.122E-314 Y=1 D=Thu Jan 1
01:00:01 1970
--- OneWireQuery done
DEBUG: ow_write.c:FS_w_local(338) Write an aggregate element
/29.646C08000000/PIO.0
DEBUG: ow_parseobject.c:OWQ_create_separate(111) /29.646C08000000/PIO.0 with
extension -2
DEBUG: ow_read.c:adjust_file_size(329) file_length=12 offset=0 size=1
DEBUG: ow_read.c:FS_r_local(386) Read an aggregate .BYTE
/29.646C08000000/PIO.0
DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device)
path=/29.646C08000000/PIO.0 SN=29 64 6C 08 00 00 00 10 last path=00 00 00 00 00
00 00 00
DEBUG: ow_select.c:BUS_select(80) Continuing root branch
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(145) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
DEBUG: ow_read.c:FS_read_owq(507) Read /29.646C08000000/PIO.0 Extension -2
Gives result 0
DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device)
path=/29.646C08000000/PIO.0 SN=29 64 6C 08 00 00 00 10 last path=00 00 00 00 00
00 00 00
DEBUG: ow_select.c:BUS_select(80) Continuing root branch
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
DEBUG: ow_cache.c:Cache_Del_Common(1325) Delete from cache sn 29 64 6C 08 00
00 00 10 in=0x2ab604f0 index=-2
DEBUG: ow_write.c:FS_write_owq(378) Write /29.646C08000000/PIO.0 Extension -2
Gives result 0
DEBUG: ow_write.c:FS_write_postparse(194) Error writing to
/29.646C08000000/PIO.0
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.0
write[0] 2 bytes to 0
unique: 21, success, outsize: 24
unique: 22, opcode: RELEASE (18), nodeid: 4, insize: 64
release[0] flags: 0x2001
CALL: owfs_callback.c:FS_release(136) RELEASE path=/29.646C08000000/PIO.0
unique: 22, success, outsize: 16
unique: 23, opcode: LOOKUP (1), nodeid: 2, insize: 49
LOOKUP /29.646C08000000/PIO.BYTE
getattr /29.646C08000000/PIO.BYTE
CALL: ow_fstat.c:FS_fstat(22) path=/29.646C08000000/PIO.BYTE
CALL: ow_parsename.c:FS_ParsedName_anywhere(90)
path=[/29.646C08000000/PIO.BYTE]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: -178 seconds.
DETAIL: ow_presence.c:CheckPresence(80) Checking presence of
/29.646C08000000/PIO.BYTE
DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device)
path=/29.646C08000000/PIO.BYTE SN=29 64 6C 08 00 00 00 10 last path=00 00 00 00
00 00 00 00
DEBUG: ow_select.c:BUS_select(80) Continuing root branch
DEBUG: ow_transaction.c:BUS_transaction_single(176) verify = 0
DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
DEBUG: ow_presence.c:CheckThisConnection(246) Presence of 29 64 6C 08 00 00
00 10 FOUND on bus /dev/ttyUSB0
DEBUG: ow_cache.c:Cache_Add_Device(483) Adding device location 29 64 6C 08 00
00 00 10 bus=0
DEBUG: ow_cache.c:Cache_Add_Common(595) Add to cache sn 29 64 6C 08 00 00 00
10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:GetFlippedTree(563) Flipping cache tree (purging timed-out
data)
CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES
path=/29.646C08000000/PIO.BYTE
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.BYTE
NODEID: 5
unique: 23, success, outsize: 144
unique: 24, opcode: SETATTR (4), nodeid: 5, insize: 128
truncate /29.646C08000000/PIO.BYTE 0
CALL: owfs_callback.c:FS_truncate(144) TRUNCATE
path=/29.646C08000000/PIO.BYTE
getattr /29.646C08000000/PIO.BYTE
CALL: ow_fstat.c:FS_fstat(22) path=/29.646C08000000/PIO.BYTE
CALL: ow_parsename.c:FS_ParsedName_anywhere(90)
path=[/29.646C08000000/PIO.BYTE]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: 120 seconds.
DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES
path=/29.646C08000000/PIO.BYTE
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.BYTE
unique: 24, success, outsize: 120
unique: 25, opcode: OPEN (14), nodeid: 5, insize: 48
open flags: 0x2001 /29.646C08000000/PIO.BYTE
CALL: owfs_callback.c:FS_open(128) OPEN path=/29.646C08000000/PIO.BYTE
open[0] flags: 0x2001 /29.646C08000000/PIO.BYTE
unique: 25, success, outsize: 32
unique: 26, opcode: WRITE (16), nodeid: 5, insize: 82
write[0] 2 bytes to 0 flags: 0x2001
CALL: ow_write.c:FS_write(67) path=/29.646C08000000/PIO.BYTE size=2 offset=0
DEBUG: ow_parseobject.c:OWQ_create(160) /29.646C08000000/PIO.BYTE
CALL: ow_parsename.c:FS_ParsedName_anywhere(90)
path=[/29.646C08000000/PIO.BYTE]
DEBUG: ow_cache.c:Cache_Get_Device(860) Looking for device 29 64 6C 08 00 00
00 10
DEBUG: ow_cache.c:Cache_Get_Common(1074) Get from cache sn 29 64 6C 08 00 00
00 10 pointer=0x2ab6e998 index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1083) value found in cache. Remaining
life: 120 seconds.
DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
OWQ OneWireQuery structure of /29.646C08000000/PIO.BYTE
OneWireQuery size=2 offset=0, extension=-2
Byte buffer OneWireQuery buffer, length=2
--000: 31 0A
<1.>
Cleanup = 0002 OneWireQuery I=1 U=1 F=2.122E-314 Y=1 D=Thu Jan 1
01:00:01 1970
--- OneWireQuery done
DEBUG: ow_write.c:FS_w_local(332) Write an aggregate .BYTE
/29.646C08000000/PIO.BYTE
DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device)
path=/29.646C08000000/PIO.BYTE SN=29 64 6C 08 00 00 00 10 last path=00 00 00 00
00 00 00 00
DEBUG: ow_select.c:BUS_select(80) Continuing root branch
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
DEBUG: ow_cache.c:Cache_Del_Common(1325) Delete from cache sn 29 64 6C 08 00
00 00 10 in=0x2ab604f0 index=-2
DEBUG: ow_write.c:FS_write_owq(378) Write /29.646C08000000/PIO.BYTE Extension
-2 Gives result 0
DEBUG: ow_write.c:FS_write_postparse(194) Error writing to
/29.646C08000000/PIO.BYTE
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C08000000/PIO.BYTE
write[0] 2 bytes to 0
unique: 26, success, outsize: 24
unique: 27, opcode: RELEASE (18), nodeid: 5, insize: 64
release[0] flags: 0x2001
CALL: owfs_callback.c:FS_release(136) RELEASE path=/29.646C08000000/PIO.BYTE
unique: 27, success, outsize: 16
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers