Using picocom to interact directly with the LinkUSB with the f and n
commands, I find 2 devices:
7700000245762028
4300001473A90D01
Odd that owlib says there are no valid 1-wire buses. I tried slowing
down the baud rate to 19200, but the results are no different. I don't
see any way of forcing it to 9600 baud. According to the documentation,
sending a break will do it, but I tried that in picocom, and it had no
effect.
Turning on debugging, here is the relevant bits:
DEBUG: ow_net_client.c:(85) IP address=[] port=[link=/dev/ttyUSB0]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported
for ai_socktype
CONNECT: owlib.c:(112) Cannot open server at link=/dev/ttyUSB0 -- first
attempt.
DEBUG: ow_net_client.c:(85) IP address=[] port=[link=/dev/ttyUSB0]
CONNECT: ow_net_client.c:(88) GETADDRINFO error Servname not supported
for ai_socktype
CONNECT: owlib.c:(117) Cannot open server at link=/dev/ttyUSB0 -- second
(and final) attempt.
DEFAULT: owlib.c:(56) No valid 1-wire buses found
On 11/10/2013 12:48 PM, Willard Korfhage wrote:
I found at least part of the problem. Playing with picocom, I
determined that the baud rate was 57600. Applying that to the command
line removes the link detection errors, although it still says it
cannot find a valid 1-wire bus
On 11/10/2013 12:24 PM, Willard Korfhage wrote:
I already checked that before, and it looks fine. This is from today.
I have 2 LinkUSBi's and I tried them both (not at the same time) with
identical results.
[68001.548041] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[68001.770796] usbcore: registered new interface driver usbserial
[68001.770864] USB Serial support registered for generic
[68001.773665] usbcore: registered new interface driver usbserial_generic
[68001.773676] usbserial: USB Serial Driver core
[68001.777361] USB Serial support registered for FTDI USB Serial Device
[68001.777665] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter
detected
[68001.777773] usb 5-1: Detected FT232RL
[68001.777782] usb 5-1: Number of endpoints 2
[68001.777790] usb 5-1: Endpoint 1 MaxPacketSize 64
[68001.777798] usb 5-1: Endpoint 2 MaxPacketSize 64
[68001.777805] usb 5-1: Setting MaxPacketSize 64
[68001.780864] usb 5-1: FTDI USB Serial Device converter now attached
to ttyUSB0
[68001.780911] usbcore: registered new interface driver ftdi_sio
[68001.780916] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
On 11/10/2013 1:26 AM, Martin Patzak (GMX) wrote:
Willard,
please show us the log, while you plug in the LinkUSB into your machine!
Maybe your ttyUSB0 is already taken by a different device?
Martin
On 11/09/2013 11:12 PM, Willard Korfhage wrote:
I am rebuilding a machine that ran owfs, so I installed Ubuntu 12.04,
then downloaded owfs 2.9p1 and built it in the usual way, following my
notes from when I did the same thing with 2.8p14. I did
./configure --enable-owfs --enable-owhttpd --enable-usb
when configuring before building. When I try to run it, it fails
sudo /opt/owfs/bin/owfs --link=/dev/ttyUSB0 -m /var/lib/1wire
DEFAULT: ow_link.c:(242) LINK detection error
DEFAULT: ow_link.c:(251) LINK detection error
DEFAULT: ow_link.c:(242) LINK detection error
DEFAULT: ow_link.c:(251) LINK detection error
DEFAULT: ow_link.c:(242) LINK detection error
DEFAULT: ow_link.c:(251) LINK detection error
DEFAULT: ow_link.c:(242) LINK detection error
DEFAULT: ow_link.c:(251) LINK detection error
DEFAULT: owlib.c:(56) No valid 1-wire buses found
As an experiment, I downloaded 2.8p14, built it, and that fails with
LINK detection errors, too. When I ran the machine before, it was
running on an older version of Ubuntu, probably 11.10, so looks like
some Linux change might be responsible for the current problems.
Any suggestions on what to do? I tried 2.9p1 with a DS9490R that I had
around, and that seemed to be ok.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers