I don't have a solution but a similar observation. I have also been trying
to get a LinkUSB going on my NSLU2 running OpenWRT 10.03 and owfs 2.8p1 and
I can't start owserver with:
owserver --LINK /dev/ttyUSB0
Like I can on my Debian 6.0.1 Linux box. I have to use:
owserver -d /dev/ttyUSB0
The next release of owfs on OpenWRT looks to be 2.8p4 so hopefully whatever
is wrong with 2.8p1 has been sorted for 2.8p4
Alex
> -----Original Message-----
> From: Eloy Paris [mailto:[email protected]]
> Sent: Wednesday, 4 May 2011 6:51 a.m.
> To: OWFS (One-wire file system) discussion and help
> Subject: [Owfs-developers] Delayed LinkUSB detection
>
> Hi Paul,
>
> I am currently working on upgrading from 2.8p1 to 2.8p8. I have been
> running fine on 2.8p1 for several months (since July or last year). I had
to
> patch 2.8p1 to force hardware flow control because otherwise owserver
> would not be able to talk to my LinkUSB in emulation mode.
>
> I remember that back when I originally reported this problem you changed
> things so hardware flow control would be used if a first attempt using no
> flow control failed. That seems to be working. However, it takes a long
time
> for the detection to succeed:
>
> May 3 14:22:38 altamira OWFS[21715]: CALL:
> ow_parsename.c:FS_ParsedName_anywhere(95) path=[]
> May 3 14:22:38 altamira OWFS[21715]: DEBUG:
> owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for sim
> ulated adapters)
> May 3 14:22:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LINK_detect_serial(237) Slurp in initial bytes
> May 3 14:22:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LINK_version(298) Checking LINK version
> May 3 14:22:38 altamira OWFS[21715]: DEBUG:
> ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds May 3
> 14:22:43 altamira OWFS[21715]: CONNECT:
> ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes
> May 3 14:22:43 altamira OWFS[21715]: DEBUG:
> ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds May 3
> 14:22:48 altamira OWFS[21715]: CONNECT:
> ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes
>
> <lots of TCP connect errors>
>
> [...]
>
> May 3 14:24:58 altamira OWFS[21715]: DEBUG:
> ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds May 3
> 14:25:03 altamira OWFS[21715]: CONNECT:
> ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes May 3 14:25:38 altamira
> OWFS[21715]: DEFAULT:
> ow_link.c:LINK_version(349) LINK version string too long. <> greater than
36
> chars May 3 14:25:38 altamira OWFS[21715]: DEFAULT:
> ow_link.c:LINK_detect_serial(243) LINK detection error
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LINK_detect(211) Second attempt at serial LINK setup
>
>
> <second attempt will finally succeed, but after many of the following
> TCP connection errors>
>
>
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LINK_detect_serial(237) Slurp in initial bytes
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LINK_version(298) Checking LINK version
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
> May 3 14:25:38 altamira OWFS[21715]: DEBUG:
> ow_link.c:LinkVersion_knownstring(133) Link version Found 1.4
>
> I am starting owserver like this:
>
> /opt/owfs/bin/owserver --link /dev/1wire-master0 -C --error_print 0
> --error_level 5 --nozero
>
> The TCP errors seem to be causing a long delay, but as far as I can see
> there is no need for any TCP connections since owserver is only talking
> to a serial device. Any ideas why TCP connections are being attempted?
>
> Cheers,
>
> Eloy Paris.-
>
>
----------------------------------------------------------------------------
--
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers