Paul Alfille wrote:
> On Sun, Aug 9, 2009 at 8:22 PM, William Brown<[email protected]> wrote:
>   
>> Owserver is started in root crontab, is that the answer? Program access to
>>     
>
> Should be fine. It looks like your alias file is loaded correctly and
> the devices are seen.  The DS2450 seems to give read errors. I need to
> test that chip here.
>
>   
Readings somtetimes fail but usually they're available.  I installed a 
new router on the 8th.  It seems the old one was failing.
>> owserver is from my home dir and web page is also from my home dir.  Running
>>     
>
> Your starting directory shouldn't matter.
>
>   
>> perl program with sudo didn't make a difference.
>>
>> Should I not unload the ds9490 kernel module. Is that the same as blacklist
>> ds2490?
>>     
>
>   

Should I continue to unload the ds2490 kernel module?

> Oops. You're right. The kernel module (and the chip) is ds2490. The
> actual blue thingy is the ds9490.
>   
>> libusb-0.1-4
>>     
>
>   
>> attached is my daemon.log with some interesting permission issues.
>>     
>
> Perhaps compress it next time when posting.
>
>   
One more thing to learn. Sorry.

Any other suggestions?  What is it with udev permissions in particular 
that seems to be an issue?
>> Tonight I can try again if you have suggestions to try.
>>
>>
>> Paul Alfille wrote:
>>     
>>> Are you running as root? (There are permissions issues with both
>>> accessing the USB adapter, and unloading the ds9490 kernel module).
>>>
>>> Also, what is the version of libusb?
>>>
>>> Any hints in the logs (dmesg or /var/log/messages) about the issue?
>>>
>>> Paul Alfille
>>>
>>> On Sun, Aug 9, 2009 at 8:29 AM, William Brown<[email protected]>
>>> wrote:
>>>
>>>       
>>>> That sounds like my problem, can't access the usb adapter.
>>>>
>>>> Paul Alfille wrote:
>>>>
>>>>         
>>>>> These tests were on OpenSUSE.
>>>>>
>>>>> Ubuntu 9 in a virtual machine also compiles and runs without
>>>>> sigfaults. (except I can't access the USB adapter).
>>>>>
>>>>> I will set up a real machine to test it.
>>>>>
>>>>> Paul Alfille
>>>>>
>>>>> On Sat, Aug 8, 2009 at 5:40 PM, William Brown<[email protected]>
>>>>> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Same problem using source from sourceforge.  I'm using Ubuntu 8.10,
>>>>>> what
>>>>>> about you?
>>>>>>
>>>>>> /opt/owfs/bin/owhttpd -V
>>>>>> /opt/owfs/bin/owhttpd version:
>>>>>>   2.7p24
>>>>>> libow version:
>>>>>>   2.7p24
>>>>>>
>>>>>> William Brown wrote:
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> I used cvs, I will try sourceforge.
>>>>>>>
>>>>>>> Paul Alfille wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> I'm perplexed.
>>>>>>>>
>>>>>>>> Obviously the code worked for me on my development machine. So I
>>>>>>>> tried
>>>>>>>> a more realistic test:
>>>>>>>>
>>>>>>>> I downloaded the file from Sourceforge (owfs-2.7p24.tar.gz)
>>>>>>>> Installed in in another machine in a fresh directory.
>>>>>>>> ./configure && make && sudo make install
>>>>>>>> sudo /opt/owfs/bin/owhttpd -u -p 4444
>>>>>>>> It works fine with the blue adapter (DS9490R) and the AAG hub
>>>>>>>> (TAI-8595) and chips like the Hobbyboards 1-wire counter.
>>>>>>>>
>>>>>>>> So now the trick is to figure out the differences.
>>>>>>>>
>>>>>>>> The fact that an earlier recent version (2.7p21) works suggests that
>>>>>>>> kernel/hardware/module/udev/permissions isn't an issue.
>>>>>>>>
>>>>>>>> Can you check the version of your newer code (/opt/owfs/bin/owhttpd
>>>>>>>> -V)
>>>>>>>>
>>>>>>>> Paul Alfille
>>>>>>>>
>>>>>>>> On Sat, Aug 8, 2009 at 12:27 AM, William Brown<[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>>>> Today when I downloaded from cvs owfs2.7p24 and compiled it
>>>>>>>>> everything
>>>>>>>>> checked out until I tried to use it with my blue usb adapter
>>>>>>>>> (DS9490R).
>>>>>>>>> Php, perl and owhttpd couldn't see the 1 wire bus, I kept getting
>>>>>>>>> not
>>>>>>>>> found errors.  Daemon log kept showing "bad adapter" messages.  When
>>>>>>>>> I
>>>>>>>>> reverted to owfs2.7p22 everthing was good again.  Any suggestions?
>>>>>>>>>  PS
>>>>>>>>> owhttpd is listing devices again so some good came of this.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>>>>> 30-Day
>>>>>>>> trial. Simplify your report design, integration and deployment - and
>>>>>>>> focus on
>>>>>>>> what you do best, core application coding. Discover what's new with
>>>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>>>>> _______________________________________________
>>>>>>>> Owfs-developers mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>>>> 30-Day
>>>>>>> trial. Simplify your report design, integration and deployment - and
>>>>>>> focus on
>>>>>>> what you do best, core application coding. Discover what's new with
>>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>>>> _______________________________________________
>>>>>>> Owfs-developers mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> ------------------------------------------------------------------------------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment - and
>>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new with
>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>>> _______________________________________________
>>>>>> Owfs-developers mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> ------------------------------------------------------------------------------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment - and
>>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Owfs-developers mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Owfs-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>
>>>>
>>>>         
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day trial. Simplify your report design, integration and deployment - and
>>> focus on what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>>       
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>>     
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to