On 01/25/2013 07:29 AM, Stephen Shelton wrote:
> Hi,
>
> I'm trying to call OW_init("u") and getting an Invalid argument error.
> I've tried different variants, which I understand to all be equivalent
> ("usb", "--usb", etc.) with the same results. I've tried this both on a
> machine with and without a DS9490r hooked up.
>
> I know my OWFS + DS9490r setup works as I've read many temperatures with
> it (by invoking "owfs --allow-other -u /mnt/1-wire"). I also know there
> can't be a whole lot wrong with my owcapi usage because it works with
> OW_init("--fake 28").
>
> Any thoughts?
>
> - stephen

I made the following config file:

--
usb = all
allow_other
mountpoint /mnt/1-wire
--

and use it with owfs as such: "/opt/owfs/bin/owfs -c owfs.usb.config"

It works as expected. However, when I invoke OW_init("-c 
owfs.usb.config") I get the same "invalid argument" error. If I replace 
the first line of the config file with "fake 28" both cases work. This 
is starting to smell like a bug to me...

- stephen

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to