yes usb restart is nice too since usb-serial devices get down (i don´t know why)
and some idiot can delete ttyS0 while owhttpd is running and after
mknod it again

2012/1/25 Roberto Spadim <[email protected]>:
> for example...
> owhttpd -d /dev/ttyS0 -p 80
>
> using this it will test ds2480 and serial bit bang device  (auto detect)
> could i set it to just use ds2480?
>
> 2012/1/25 Paul Alfille <[email protected]>:
>> What "auto detection" are you referring to? Serial ports need to be
>> specified specifically. USB enumeration is inconsistent, but you can specify
>> which adapter (in order) to use. i2c address can be specified. network
>> addresses can be specified. w1 won't let you specify. What else is there?
>>
>> Are you referring to the auto-restart of USB? We could add an option to
>> simply fail. The restart was in response to problems with USB getting
>> transiently disconnected.
>>
>> Paul
>>
>> On Wed, Jan 25, 2012 at 12:13 PM, Roberto Spadim <[email protected]>
>> wrote:
>>>
>>> HI PAUL!! PLEASE READ!!!
>>>
>>>
>>> 2012/1/25 ekgnkb3d <[email protected]>:
>>> >
>>> > could be a similar problem:
>>> > i have some ARM devices and i don't know why my serial device stop
>>> > working
>>> > what i do is restart owhttp program and it return normal operation
>>> > maybe we have a problem at automatic detection of serial devices
>>> >
>>>  The above mentioned USB network simply stops responding after a random
>>> time
>>>  between 1 day and 6 days. All devices will be polled each 10s and this
>>> works
>>>  fine without any error (also not in the statistics) until the time comes
>>> and
>>>  the both devices connected to this network are not reachable anymore. All
>>>  other devices connected to the other 5 networks still works fine, even
>>> that
>>>  one with the 3 devices on the other USB never had any problem.
>>>  This behavior can be verified with owdir-tool and my self made owcapi
>>>  application.
>>>
>>>  A simple restart of the owserver will solve the problem. For the next
>>> days
>>>  it will work fine until it hangs again...
>>>  Maybe some error handling routine will be called very often for this
>>> network
>>>  and at some time some resources are gone which causes all devices
>>> attached
>>>  to this one network to be not reachable anymore.
>>>  Currently this only happens in a house which is far away, I can't access
>>> the
>>>  hardware for tests, so I'll try to recreate the problem within my lab.
>>>
>>>
>>>  Roberto Spadim wrote:
>>> >
>>> > another doubt... could we remove auto detection and hard configure a
>>> > single device at console?
>>> >
>>>  ??? I don't understand your proposal, maybe this is directed to Paul :-)
>>>
>>> YES!!! PAUL PLEASE HELP US !!! =D
>>> a option to remove auto detection, and set a especific master device
>>> at console, with this for example i could just connect ds2480 and i
>>> don´t need to detect a bitbang rs232 device for example... this help
>>> reducing problem since i checked some problems at autodetection
>>> algorithm, but please don´t fix autodetection now, i think allowing a
>>> hard configuration detection is more efective since i really know what
>>> hardware i´m using, could you change this???
>>> thanks!
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial



-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to