On 07.08.2017 21:43, Johan Ström wrote:
Great that you got it working :) But man page could perhaps be
improved then. If you have any suggestions, please feel free to
provide them through a patch or on mailing list. Source is at
yes, I have to check, why I did not understand the meaning of the words
in the manual;) - however I understood your words very clearly:
With "--link=/dev/ttyUSB0" it would access it as serial device (no
With "--link=ftdi:XXX (XXX as per man page) it would use libftdi
for direct communication.
maybe something like this should be in the manual... I might be able to
contribute once I fully understand - someday soon hopefully :)
No, the owserver process when using flags --debug (and debug implies
foreground, thus preventing daemonization) dies without debug message -
but entry in syslog is there:
I got no debug output at all. But an entry in syslog was found, that
the debian package had been build without ftdi option - well thats
Did the owserver process stay alive after this? I usually run testing
with flags --foreground --fatal_debug to have all debug output on
stdout, and not daemonize.
There should be an util named owusbprobe which can help you to scan
devices and give some hints on how to address it.
/ow_arg.c:(85) FTDI support not included in compilation./
your flags --foreground --fatal_debug also yield the same result.
Yes, thank you for pointing that out, I have some issues with that and
the ftdi command, but I will write this in a separate message to the board.
Unrelated: do not run owserver with sudo. In this particular case
(ftdi), it might be an easy workaround for fixing the device
permissions. Besides that, there is no reason at all to run as root,
and is never recommended.
Don't remember from the top of my head, but you will need to
chown/chgrp some node in /dev/usb/something for that particular user.
Not sure if that was ever documented properly..
the serial mode with link=/dev/ttyUSB0 does NOT work in either the
pre-built debian package 3.1p5 nor in my self-built owserver from
When started with your suggested flags --fatal_debug --foreground the
Just to be clear, which parameters are you using when it is not
working (and is this with latest version as well? or dependent on
Of course, it does not explain why the access as serial device
without ftdi fails.
But maybe thats a moot point, since you might as well access it in
emulated DS2408B-mode, which works fine.
DEFAULT: owlib.c:(52) No valid 1-wire buses found/
As before-mentioned the ftdi mode with link=ftdi:XXX does NOT work with
the pre-built debian package, because the option ftdi was disabled. And
it works as expected when enabling it and building from git-source 3.2p1.
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Owfs-developers mailing list