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?
>
Turns out this was a permission issue. I used a udev rule to modify the
permissions for my DS9490r device (I figured that's safer than elevating
the permissions of my app).
Perhaps owfs should be modified to detect/handle this condition and
provide a more meaningful error?
- 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