Re: [Owfs-developers] Owfs connect timout error continues

2010-11-20 Thread Paul Alfille
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

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-18 Thread William Brown
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 al

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-13 Thread Paul Alfille
I've placed many of the startup sequences in the web site to aid diagnosing connection problems. See: http://owfs.org/index.php?page=startup-sequence Paul Alfille On Sat, Nov 13, 2010 at 5:37 PM, Paul Alfille wrote: > I've tested the current version of OWFS against both the Link and > DS9097U

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-13 Thread Paul Alfille
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 communicatio

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-11 Thread Marcus Priesch
Hi Wil, Am Montag, den 08.11.2010, 02:06 -1000 schrieb William Brown: > Since upgrading to Ubuntu 10.04 I have had the following problem using > rs232 to usb serial adapter (HL-340). so you are not using a LinkUSB ... maybe things are different for this kind of adapter ... what 1w-master are you

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-08 Thread William Brown
Since upgrading to Ubuntu 10.04 I have had the following problem using rs232 to usb serial adapter (HL-340). Nov 8 01:45:02 Irry OWFS[9566]: CONNECT: ow_com_read.c:COM_read(70) Timeout error (read) serial port: /dev/ttyUSB0 Serial adapter works with X10 but not with owfs 2.8p3 (or p2). Was wor

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread Marcus Priesch
Am Freitag, den 29.10.2010, 01:30 -1000 schrieb William Brown: > It looks like the patch has been applied in 2.8p2 or did I miss > something? no, the lines you posted are ok - take a look at the patch - the changes are in owfs-2.8p2/module/owlib/src/c/ow_link.c: only use flow_hard and flush buffe

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread Gregg Levine
On Fri, Oct 29, 2010 at 4:05 AM, Marcus Priesch wrote: > Hi William, > > then this whole thing sounds to me like a kernel issue - 2.8p2 tries > three times before it gives up, 2times without rts and then one time > with rts turned on ... however this didnt work for me either. > > if you are runnin

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread Paul Alfille
--debug is the equivalent of "--error_level=5 --foreground" so the output will be shown on the terminal that starts owserver (which stays in foreground mode). What may help is adding "./configure --enable-owtraffic" before "make install" Communication to/from the actual adapters added so much debu

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread William Brown
On 10/28/2010 10:05 PM, Marcus Priesch wrote: > Hi William, > > if you are running from source you could give my patch a try - also it > would be helpful to first compile owfs with debug enabled and send the > output (with --debug) of e.g. owserver to the list ... > > Debug is already enabled i

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread William Brown
It looks like the patch has been applied in 2.8p2 or did I miss something? owfs' module/owlib/src/c/ow_com.c // Set to non-canonical mode, and no RTS/CTS handshaking newSerialTio.c_iflag &= ~(BRKINT | ICRNL | IGNCR | INLCR | INPCK | ISTRIP | IXON | IXOFF | PARMRK); newSerialTio.c_if

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread Marcus Priesch
Hi William, then this whole thing sounds to me like a kernel issue - 2.8p2 tries three times before it gives up, 2times without rts and then one time with rts turned on ... however this didnt work for me either. if you are running from source you could give my patch a try - also it would

[Owfs-developers] Owfs connect timout error

2010-10-28 Thread William Brown
Just started getting this since I switched to Ubuntu 10.4, is it related to this rts/cts problem or is there another reason for the timeout? Running owfs 2.8p2 but timeout was also in owfs 2.7p38. Ubuntu 9.10 and owfs 2.7p38 were ok. Oct 28 18:20:36 Irry OWFS[859]: CONNECT: ow_com_read.c:COM_r