On 5 September 2014 16:19, Paul Alfille <paul.alfi...@gmail.com> wrote: > Glad to hear there is a solution. I wonder if we can find a way to make owfs > handle USB problems more gracefully.
I was a little surprised that it appeared to be stuck in a wait loop of some sort but there did not seem to be a timeout catching it. Cheers Colin > > A description of getting owfs working on an embedded platform like the > WR703N would be great. > > Paul > > > On Fri, Sep 5, 2014 at 6:23 AM, Colin Law <clan...@gmail.com> wrote: >> >> Thanks for the suggestions, after a nights sleep and some more >> experiments it seems that it is an issue with the USB hardware in the >> 703. If I use a non-powered usb hub between the router and the >> LinkUSB then all seems well (at least it has been running for a couple >> of hours without failure whereas without the hub it fails within a few >> minutes). I have seen suggestions that the usb hardware can be a >> problem with USB1 devices and that an intervening hub fixes it, but I >> had not heard of a problem with a USB2 device. >> >> I will report back for the record when I am convinced whether this is >> a complete solution. >> >> I will also document how to get owfs and openWRT running on the >> router, I presume that would be considered useful for inclusion in the >> wiki. >> >> Cheers >> >> Colin >> >> On 5 September 2014 01:03, paul.alfille <paul.alfi...@gmail.com> wrote: >> > Same version? The possible differences are version, endian status, usb >> > hardware support, and c library. >> > >> > >> > Sent via the Samsung Galaxy S™ III, an AT&T 4G LTE smartphone >> > >> > >> > -------- Original message -------- >> > From: Colin Law >> > Date:09/04/2014 4:25 PM (GMT-05:00) >> > To: "OWFS (One-wire file system) discussion and help" >> > Subject: [Owfs-developers] Owserver hang on TPLink WR703N with OpenWRT >> > >> > Hi >> > >> > I have put OpenWRT (AA) on a TPLink WR703N and installed owserver from >> > the openwrt repository (owserver version 2.8p13-1) with remarkably few >> > problems. Using a LinkUSB all seems well initially. Unfortunately >> > after a few minutes operation owserver hangs. Running with log level >> > 9 the log contains: >> > .... >> > CALL: ow_parsename.c:FS_ParsedName_anywhere(95) >> > path=[/28.601DE1020000/temperature12] >> > DEBUG: ow_cache.c:Cache_Get_Device(927) Looking for device 28 60 1D >> > E1 02 00 00 C4 >> > DEBUG: ow_cache.c:Cache_Get_Common(1083) Search in cache sn 28 60 1D >> > E1 02 00 00 C4 pointer=0x77c8f900 index=0 size=4 >> > DEBUG: ow_cache.c:Cache_Get_Common(1099) Value found in cache. >> > Remaining life: 4 seconds. >> > DEBUG: ow_presence.c:CheckPresence(76) Found device on bus 0 >> > DEBUG: ow_read.c:adjust_file_size(329) file_length=12 offset=0 size=1 >> > DEBUG: ow_cache.c:Cache_Get_Common(1083) Search in cache sn 28 60 1D >> > E1 02 00 00 C4 pointer=0x77c79130 index=0 size=8 >> > DEBUG: ow_cache.c:Cache_Get_Common(1115) Value found in cache, but >> > expired by 99 seconds. >> > DEBUG: ow_cache.c:Cache_Get_Simul_Time(986) Looking for conversion >> > time 28 60 1D E1 02 00 00 C4 >> > DEBUG: ow_cache.c:Cache_Get_Common(1083) Search in cache sn 00 00 00 >> > 00 00 00 00 00 pointer=0x77c8f8f8 index=0 size=0 >> > DEBUG: ow_cache.c:Cache_Get_Common(1119) Value not found in cache >> > DEBUG: ow_cache.c:Cache_Get_Internal(956) 28 60 1D E1 02 00 00 C4 >> > size=4 >> > DEBUG: ow_cache.c:Cache_Get_Common(1083) Search in cache sn 28 60 1D >> > E1 02 00 00 C4 pointer=0x77c78290 index=-2 size=4 >> > DEBUG: ow_cache.c:Cache_Get_Common(1119) Value not found in cache >> > DEBUG: ow_select.c:BUS_select(66) Selecting a path (and device) >> > path=/28.601DE1020000/temperature12 SN=28 60 1D E1 02 00 00 C4 last >> > path=00 00 00 00 00 00 00 00 >> > DEBUG: ow_select.c:BUS_select(79) Continuing root branch >> > DEBUG: loop.c:Ping_or_Send(112) Taking too long, send a keep-alive >> > pulse >> > DEBUG: to_client.c:ToClient(56) payload=-1 size=0, ret=0, sg=0x0 >> > offset=0 >> > DEBUG: to_client.c:ToClient(63) Send delay message >> > DEBUG: loop.c:Ping_or_Send(112) Taking too long, send a keep-alive >> > pulse >> > DEBUG: to_client.c:ToClient(56) payload=-1 size=0, ret=0, sg=0x0 >> > offset=0 >> > DEBUG: to_client.c:ToClient(63) Send delay message >> > DEBUG: loop.c:Ping_or_Send(112) Taking too long, send a keep-alive >> > pulse >> > DEBUG: to_client.c:ToClient(56) payload=-1 size=0, ret=0, sg=0x0 >> > offset=0 >> > DEBUG: to_client.c:ToClient(63) Send delay message >> > ... ad infinitum (or at least ad nauseam). >> > >> > It fails on two different 1-wire networks and two LinkUSB adaptors, >> > one of which has been running with owserver on a Sheeva Plug for >> > several years. >> > >> > Any suggestions gratefully accepted. >> > >> > Colin >> > >> > >> > ------------------------------------------------------------------------------ >> > Slashdot TV. >> > Video for Nerds. Stuff that matters. >> > http://tv.slashdot.org/ >> > _______________________________________________ >> > Owfs-developers mailing list >> > Owfs-developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > >> > >> > ------------------------------------------------------------------------------ >> > Slashdot TV. >> > Video for Nerds. Stuff that matters. >> > http://tv.slashdot.org/ >> > _______________________________________________ >> > Owfs-developers mailing list >> > Owfs-developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers