William,

I'm wondering about the physical setup. I looked through the
test_hl340.txt and compared it to the
example setup sequence at http://owfs.org/index.php?page=startup-ds9097u

The only difference is one episode on line 53 where your adapter
responds 'CF' rather than 'CD'
After some sleuthing, that's a "no presence pulse" response to a reset, and
is inconsistent in your startup sequence. (The adapter responds 'CD'
in other places). Could the
line be noisy?

I know you said that it worked with earlier versions, is everything the same?

Another thought it to add --serial_regulartime to the command line to see
if the slightly different timing will help.

Paul



On Fri, Nov 19, 2010 at 12:45 AM, William Brown <mahi...@earthlink.net> wrote:
> I am having very strange results. tests with HL340 and a PL2303 usb to
> serial adapters attached.   Both adapters work with X10 CM11A serial
> controller but not with DS9097U and owfs or owhttpd.  I don't plan to
> upgrade to Ubuntu 10.10 until 11.4 is ready (or do I need to do it
> sooner)?  This was all working before upgrade, to Ubuntu 10.4.
>
> Dmesg has (same for HL-340)
> [   20.137817] USB Serial support registered for pl2303
> [   20.138402] pl2303 1-2:1.0: pl2303 converter detected
> [   20.171637] usb 1-2: pl2303 converter now attached to ttyUSB0
> [   20.171703] usbcore: registered new interface driver pl2303
> [   20.171710] pl2303: Prolific PL2303 USB to serial adaptor driver
>
> Permissions should be ok at crwxrw-rw- 1 root tty 188, 0 2010-11-17
> 19:23 /dev/ttyUSB0
>
> The PL2303 adapter results were much worse than the HL340.  I'm looking
> at your exmple startups and thinking that my HL-340/DS9097U combinations
> is working correctly and something else is causing my devices not to be
> found. Any suggestions would be welcome.
>
>
> On 11/13/2010 12:37 PM, Paul Alfille wrote:
>>
>> I've tested the current version of OWFS against both the Link and
>> DS9097U serial adapters.
>> In short, they both work well in my setup (Ubuntu 10.10 and current
>> CVS OWFS version) so serial
>> support isn't fundamentally broken.
>>
>> Test conditions:
>> 1. Compile with owtraffic to show serial line communication
>>    ./configure --enable-owtraffic
>>    sudo make install
>> 2. Physical connection with the PL2303 USB->serial convertor (I don't
>> have an HL-340 to test).
>> 3. Start with debugging mode:
>>    sudo /opt/owfs/bin/owhttpd --debug -d /dev/ttyUSB0 -p 4444
>>
>> I've included the startup sequence so you can compare.
>>
>> I'd next look to the serial driver or a permissions issue. What's the
>> output of 'dmesg'?
>>
>> Paul Alfille
>>
>>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to