Interesting. I just tried the current version (from the CVS, but there have
been no changes to the serial adapter handling) and have no problems.
My config file:
p...@amd64ubuntu:~/Desktop$ cat /home/paul/owfs.conf
device=/dev/ttyS0
foreground
error_level=9
Fahrenheit
mountpoint = /home/paul/1wire
My results:
p...@amd64ubuntu:~/Desktop$ sudo ls /home/paul/1wire
[sudo] password for paul:
01.5F50CA090000 09.BCCA79030000 10.101454000800 12.C4DF1F000000
22.367A03000000 2C.1B7900000000 2C.66FE04000000 89.BD29C300705E alarm
bus.0 settings simultaneous statistics structure system uncached
(which pretty much matches the DS9490 USB adapter except the 81 vs 09
adapter ID).
And the owfs output:
p...@amd64ubuntu:~/owfs$ sudo /opt/owfs/bin/owfs
--conf=/home/paul/owfs.conf
0x18c6ff0 alloc owfs.c:main[68] STRDUP
s=/opt/owfs/bin/owfs
0x18c72d0 alloc ow_connect.c:NewIn[101] MALLOC
size=856
0x18c7630 alloc ow_arg.c:ARG_Serial[259] STRDUP
s=/dev/ttyS0
DEBUG: ow_opt.c:ParseInterp(268) Configuration file
(/home/paul/owfs.conf:4) Program=, Option=Fahrenheit,
Value=
DEBUG: ow_opt.c:ParseInterp(312) Configuration file
(/home/paul/owfs.conf:4) Option Fahrenheit recognized as Fahrenheit.
Value=
DEBUG: ow_opt.c:ParseInterp(268) Configuration file
(/home/paul/owfs.conf:5) Program=, Option=mountpoint,
Value=/home/paul/1wire
DEBUG: ow_opt.c:ParseInterp(312) Configuration file
(/home/paul/owfs.conf:5) Option mountpoint recognized as mountpoint.
Value=/home/paul/1wire
0x18c7650 alloc ow_connect.c:NewOut[144] MALLOC
size=256
0x18c7760 alloc ow_arg.c:ARG_Server[283] STRDUP
s=/home/paul/1wire
CONNECT: owfs.c:main(123) fuse mount point:
/home/paul/1wire
CALL: ow_parsename.c:FS_ParsedName_anywhere(97)
path=[]
DEBUG: owlib.c:SetupTemperatureLimits(83) Globals temp limits 0C 100C (for
simulated adapters)
CALL: ow_parsename.c:FS_ParsedName_anywhere(97)
path=[]
Byte buffer Attempt serial write:,
length=1
--000:
C1
<.>
DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(310) Send the initial reset to
the bus master.
Byte buffer Attempt serial write:,
length=1
--000:
71
<q>
Byte buffer Attempt serial write:,
length=1
--000:
0F
<.>
Byte buffer Serial read:,
length=1
--000:
00
<.>
Byte buffer Attempt serial write:,
length=1
--000:
C5
<.>
Byte buffer Serial read:,
length=1
--000:
CD
<.>
Byte buffer Attempt serial write:, length=1
--000: 71
<q>
Byte buffer Attempt serial write:, length=1
--000: 0F
<.>
Byte buffer Serial read:, length=1
--000: 00
<.>
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=1
--000: 45
<E>
Byte buffer Serial read:, length=1
--000: 44
<D>
Byte buffer Attempt serial write:, length=1
--000: 5B
<[>
Byte buffer Serial read:, length=1
--000: 5A
<Z>
Byte buffer Attempt serial write:, length=1
--000: 3F
<?>
Byte buffer Serial read:, length=1
--000: 3E
<>>
Byte buffer Attempt serial write:, length=1
--000: 29
<)>
Byte buffer Serial read:, length=1
--000: 28
<(>
Byte buffer Attempt serial write:, length=1
--000: 95
<.>
Byte buffer Serial read:, length=1
--000: 97
<.>
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
Byte buffer Serial read:, length=1
--000: CD
<.>
0x18c7010 alloc fuse_line.c:Fuse_setup[29] CALLOC size=8 nmemb=11
0x18c7070 alloc fuse_line.c:Fuse_add[77] STRDUP s=OWFS
0x18c7090 alloc fuse_line.c:Fuse_add[77] STRDUP s=/home/paul/1wire
0x18c70b0 alloc fuse_line.c:Fuse_add[77] STRDUP s=-o
0x18c70d0 alloc fuse_line.c:Fuse_add[77] STRDUP s=direct_io
0x18c70f0 alloc fuse_line.c:Fuse_add[77] STRDUP s=-f
0x18c7110 alloc fuse_line.c:Fuse_add[77] STRDUP s=-d
DEBUG: owfs.c:main(151) fuse_mnt_opt=[(null)]
DEBUG: owfs.c:main(153) fuse_open_opt=[(null)]
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.10
flags=0x0000003b
max_readahead=0x00020000
INIT: 7.8
flags=0x00000001
max_readahead=0x00020000
max_write=0x00020000
unique: 1, error: 0 (Success), outsize: 40
....
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers