On Fri, Apr 16, 2010 at 10:01:26PM -0400, Paul Alfille wrote:
> On Fri, Apr 16, 2010 at 9:54 PM, Marc MERLIN <[email protected]> wrote:
> > On Fri, Apr 16, 2010 at 09:50:18PM -0400, Paul Alfille wrote:
> >> What type of hub do you have? DS2409-based (1-wire microhub)?
> >
> > Sorry, didn't realize there were several kinds.
> > This one:
> > http://www.hobby-boards.com/catalog/product_info.php?cPath=23&products_id=1561
> 
> DS2409-based.
 
Thanks for confirming.
 
> >> If that is the case, you have to specifically select a branch in any
> >> case, so the source of the short should be clearer.
> >
> > By select, you mean?
> 
> 1F.XXXXXXXXX/aux
> or
> 1F.XXXXXXXXX/main

So, there are 2 issues.
First, the:
OWFS[686]: CONNECT: ow_select.c:BUS_select_subbranch(216) Select subbranch 
error on bus /dev/DS9097U

Can't it say which branch of which hubid (since I have 3)?

3 hubs devices:
> gargamel:/owfs# ls -d 1F*
> 1F.E15005000000  1F.E25005000000  1F.F05005000000


Getting this one seems to trigger a message, even though it's empty?
> gargamel:/owfs# ls  1F.E15005000000/{main,aux}/
> 1F.E15005000000/aux/:
> 
> 1F.E15005000000/main/:
> gargamel:/owfs# Apr 16 19:14:13 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U


this one too:
> gargamel:/owfs# ls  1F.E25005000000/{main,aux}/
> 1F.E25005000000/aux/:
> 10.D1D0ED010800  10.F9F3EE010800  alarm  simultaneous
> 
> 1F.E25005000000/main/:
> gargamel:/owfs# Apr 16 19:14:13 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:14:25 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:14:25 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:14:28 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:14:28 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:14:36 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U

and this one too it seems:
> gargamel:/owfs# ls  1F.F05005000000/{main,aux}/
> 1F.F05005000000/aux/:
> 10.5DE1ED010800  10.94A2ED010800  10.E5E7ED010800  28.36A359020000  
> 28.57B659020000  alarm  simultaneous
> 
> 1F.F05005000000/main/:
> gargamel:/owfs# ls  1F.F05005000000/{main,aux}/
> 1F.F05005000000/aux/:
> 10.5DE1ED010800  10.94A2ED010800  10.E5E7ED010800  28.36A359020000  
> 28.57B659020000  alarm  simultaneous
> 
> 1F.F05005000000/main/:
> gargamel:/owfs# Apr 16 19:19:09 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U
> Apr 16 19:19:10 gargamel OWFS[686]: CONNECT: 
> ow_select.c:BUS_select_subbranch(216) Select subbranch error on bus 
> /dev/DS9097U


So why are all producing an error, even if empty, and working anyway?
and couldn't the code say which subbranch it's unhappy with when it's saying 
something is wrong?

This is with owfs-2.7pl32

As for 
gargamel OWFS[7678]: CONNECT: ow_reset.c:BUS_reset(29) 1-wire bus short 
circuit.                                            

Is there a chance the code knows which branch the error is on?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to