Roberto Spadim | 10 Feb 08:23
Picon

debug information

hi guys, when running ow*** with foreground option

could it ouput the current running version?

i was reading this 

at owfs website, and i don't know what version it is
this help a lot when solving bugs or compare outputs...
thanks!

--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Mick Sulley | 8 Feb 23:49

Hubs

Having decided that I need to add a hub to my system I am having great 
trouble finding one.

I saw the AAG unit on the owfs site, but it is not listed on their 
website and they don't seem to answer emails.

I saw the Linksys router hack but it seems that only works up to version 
4 (found out after I bought a version 7 - Doohhh!)

Any suggestions where I might find a suitable hub, preferably in UK but 
really anywhere.

Thanks
Mick

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Sven Geggus | 7 Feb 16:55
Picon

raspberry Pi processor datasheet now available

Hello,

register level peripheral programming Information of the BCM2835 processor
has been published now:

http://dmkenr5gtnd8f.cloudfront.net/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf

Probably of interest for a few people here.

Sven

--

-- 
"A strategy for rewarding artists that regulates 'copies' makes as much sense
in the digital age as a strategy for controlling greenhouse gases that
regulates breathing." (Lawrence Lessig)
/me is giggls <at> ircnet, http://sven.gegg.us/ on the Web

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Kassai Istvan | 5 Feb 18:03
Picon
Gravatar

possible bug: ds9097 and not ds9097U

Hi folks!

about 2 years ago I use owfs (2.7p19) continously. Previously I wanted 
to upgrade to a newer version, but not succeeded. I had no time to guess 
why, so I downgraded back to 2.7p19. Now I wanted to upgrade again, but 
it doesn't work again. Tried with many of versions, but doesn't.
The newest says this:

************
[root <at> kako ~]# /opt/owfs/bin/owfs -d /dev/ttyS0 -m /mnt/1w --debug --8bit
CONNECT: owfs.c:(100) fuse mount point: /mnt/1w
   DEBUG: ow_avahi_link.c:(75) Avahi support: libavahi-client loaded 
successfully
   DEBUG: ow_avahi_link.c:(77) Avahi library function found: 
avahi_client_errno
   DEBUG: ow_avahi_link.c:(78) Avahi library function found: 
avahi_client_free
   DEBUG: ow_avahi_link.c:(79) Avahi library function found: 
avahi_client_new
   DEBUG: ow_avahi_link.c:(80) Avahi library function found: 
avahi_client_get_domain_name
   DEBUG: ow_avahi_link.c:(81) Avahi library function found: 
avahi_entry_group_add_service
   DEBUG: ow_avahi_link.c:(82) Avahi library function found: 
avahi_entry_group_commit
   DEBUG: ow_avahi_link.c:(83) Avahi library function found: 
avahi_entry_group_is_empty
   DEBUG: ow_avahi_link.c:(84) Avahi library function found: 
avahi_entry_group_new
   DEBUG: ow_avahi_link.c:(85) Avahi library function found: 
avahi_entry_group_reset
   DEBUG: ow_avahi_link.c:(87) Avahi library function found: 
avahi_service_resolver_free
   DEBUG: ow_avahi_link.c:(88) Avahi library function found: 
avahi_service_resolver_new
   DEBUG: ow_avahi_link.c:(89) Avahi library function found: 
avahi_service_browser_free
   DEBUG: ow_avahi_link.c:(90) Avahi library function found: 
avahi_service_browser_new
   DEBUG: ow_avahi_link.c:(102) Avahi support: libavahi-common loaded 
successfully.
   DEBUG: ow_avahi_link.c:(104) Avahi library function found: 
avahi_simple_poll_free
   DEBUG: ow_avahi_link.c:(105) Avahi library function found: 
avahi_simple_poll_get
   DEBUG: ow_avahi_link.c:(106) Avahi library function found: 
avahi_simple_poll_loop
   DEBUG: ow_avahi_link.c:(107) Avahi library function found: 
avahi_simple_poll_new
   DEBUG: ow_avahi_link.c:(108) Avahi library function found: 
avahi_simple_poll_quit
   DEBUG: ow_avahi_link.c:(109) Avahi library function found: avahi_strerror
    CALL: ow_parsename.c:(95) path=[]
   DEBUG: owlib.c:(79) Globals temp limits 0C 100C (for simulated adapters)
   DEBUG: ow_ds9097U.c:(267) Attempt 0 of 3 to initialize the DS9097U
   DEBUG: ow_ds9097U.c:(356) Send the initial reset to the bus master.
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(449) Failed first attempt at resetting baud rate 
of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(454) Failed second attempt at resetting baud 
rate of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(449) Failed first attempt at resetting baud rate 
of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(454) Failed second attempt at resetting baud 
rate of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(418) wrong response (05 not 44)
   DEBUG: ow_ds9097U.c:(356) Send the initial reset to the bus master.
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(449) Failed first attempt at resetting baud rate 
of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(454) Failed second attempt at resetting baud 
rate of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(449) Failed first attempt at resetting baud rate 
of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(434) wrong response (0F not 00)
   DEBUG: ow_ds9097U.c:(454) Failed second attempt at resetting baud 
rate of bus master /dev/ttyS0
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds
   DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1
   DEBUG: ow_ds9097U.c:(418) wrong response (05 not 44)
**********

Dont know why thinks the adapter is 9097U, this is just a cheap passive 
9097, and it doesnt work. But is I downgrade to 2.7p19 it works again.
What could be the problem?

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Marc MERLIN | 5 Feb 03:57

1-wire and usb delays/hangs

Howdy,

I've been using both a DS9097U via USB serial adapter and a USB DS2490.
Both work, until I put a hard drive on my USB bus, and the drive
occasionally delays the USB bus or causes issues with other usb devices.

Problem is that owfs just plain craps out when that happens and doesn't
quite seem to recover on its own (or at least not timely).

Have others seen this?

Is there a 1-wire master adapter I can try that is more resistent to these
problems? 

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 ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Finke, Jon E | 3 Feb 23:10
Picon
Favicon
Gravatar

OWFS and Libusb combo that work in Lion (macOS)


I am hoping someone can share with me the specific version numbers (and
locations of code) needed to get OWFS working with USB support under MacOS -
Lion.  This might also involve some magic parameters to pass to configure. 

I was able to work around some duplicate symbol errors by turning off owtcl
(IIRC), but now configure turns off USB due to some 64bit errors in -
library files for libusb are the wrong version. I have tried a couple of versions of libusb (via macports)
and the current version of OWFS as well as one via CVS remote access.

Sad to say my "C" is a tad rusty - been mostly doing PL/SQL for the past 10 years 
first time running gcc on the mac (I did build OWFS for my nslug last year - as a fall back, I
may end up redoing that, but since the mac is running anyway....)

My eventual goal is to get an Indigo plugin
(http://www.perceptiveautomation.com/indigo/index.html) that will talk with
OWFS - maybe just the web server version.

Any pointers or suggestions would be appreciated.

Jon Finke - Senior Systems Programmer - CMT - RPI
518 276 8185 (voice) - 518 276 2809 (fax) - http://www.rpi.edu/~finkej

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Mick Sulley | 3 Feb 22:23

DHT11 Sensor

Does anyone have any experience of the DHT11 temp/humidity sensor?  I 
just found it while looking for something else, it sounds very cheap for 
a combined temp and humidity sensor, £2.75 on eBay, but I am not 
convinced that it is compatible with 1-wire and owfs as I don't see any 
address in the description.

There is a description here 
http://www.ladyada.net/learn/sensors/dht.html but my limited technical 
knowledge can't determine if it would work or what else would need to be 
done to get it to work.

Thanks
Mick

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Lui Elle | 3 Feb 09:50
Picon
Favicon
Gravatar

LOST DS2450

hi ,
sorry for the late reply, but I'm still waiting for the temperature  increases in the local, because the installation is in the cold
rgds

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Picon
Favicon

2.8p14 / DS9490 disappearing


Hmm and while doing some more testing another one:
(I make a new post as I don't know wether it's related..)

2.8p14, pretty simple setup with 3x DS9490:
81.40922F000000 one iButton on (directly with a reader-cable)
81.35B62F000000 just some sensors on my desk, 1m cabling
and nothing on the third (waiting for an iButton to get attached)
The DS9490 are on a well-powered, proven USB hub

One DS9490 gets lost pretty quick, I did some debugging-output, attached.
I tried to stop it as soon as one went off fully and I did some runs
to get the smallest one, it doesn't always happen that quick but
reproducable..
In the attached log one DS9490 gets lost approx 190secs before it stops.

-> owserver needs to be killed with -9 then and restarted to recover.

best regards

Michael
Attachment (owserver.debug.1.gz): application/x-gzip, 816 KiB
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Picon
Favicon

DS9490 shown multiple times


Hi,

another thing: in 2.8p14 (at least I havent noticed before)

owserver gives out DS9490 multiple times now an then; pretty
reproduceable (Openwrt):
--- cut ---
root <at> OpenWRT:~# while [ 1 ]; do owget | grep /81;sleep 2;echo; done
/81.77AF2F000000
/81.35B62F000000
/81.40922F000000

<20 times ok>

/81.77AF2F000000
/81.77AF2F000000
/81.77AF2F000000
/81.35B62F000000
/81.40922F000000

/81.35B62F000000
/81.40922F000000
/81.77AF2F000000
--- cut ---

best regards

Michael
Roberto Spadim | 1 Feb 16:50
Picon

Re: Problems in owserver with USB and longer cables

yes, here is the same problem but i couldn't test with rfc2722 since it's a new feature, but with -d /dev/ttyUSB0 this problem occur in the same situations that you showed

>- The 2.8p2 as well, works fine
>- The 2.8p3 showed a different problem behavior:


2012/2/1 Jan Sennesael <Jan.sennesael <at> skynet.be>

I have a similar problem, with owfs 2.7p32-2 and 2.7p38-1 on an nslu2 running unslung: when using temploggerd and a script, owfs crashes

The script now checks if everything is ok, and does a restart if not, but the temploggerd graphs look all messed up.

Someone suggested to use a serial based device as a solution, but solving this problem would be nicer ;-)

thanks in advance.

 

PS: all my ds18s20 and ds18b20 are running in parasite mode but with the 1wire data connected to 5V and battery backup as done by hobbyboards.

 

Jan


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers




--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane