From: Andrius S. <and...@gm...> - 2012-08-16 23:38:19
|
Hey Juan, So I upgraded VM to Ubuntu 10.10 and ran several tests with different serial adapters and a virtual interface: pl2303 ( http://pastebin.com/0B2CdyYZ ), FT232RL ( http://pastebin.com/Wb4Yq1r6 ) and socat ( http://pastebin.com/uFCVtCgc ). Everything works as it should. I can not reproduce the bug. I think the best for now would be to continue the development and make a public release and see if anyone else has this problem, as now there is a huge lack of testing feedback. P.S. for socat I used: socat -d -d pty,raw,echo=0, pty,raw,echo=0 Best Regards, On Thu, Aug 16, 2012 at 1:21 AM, Juan Pablo Carbajal <car...@if...>wrote: > On Thu, Aug 16, 2012 at 1:59 AM, Andrius Sutas <and...@gm...> > wrote: > > Hi Juan, > > > > that is really strange. I fired up an Ubuntu VM (vmware) based on your > > previous post for testing: > > > > andrew@ubuntu:~$ lsb_release -a > > No LSB modules are available. > > Distributor ID: Ubuntu > > Description: Ubuntu 10.04.4 LTS > > Release: 10.04 > > Codename: lucid > > andrew@ubuntu:~$ uname -a > > Linux ubuntu 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:56:09 UTC > 2012 > > x86_64 GNU/Linux > > andrew@ubuntu:~$ gcc --version > > gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3 > > andrew@ubuntu:~$ octave --version > > GNU Octave, version 3.2.3 > > > > Everything works as expected: http://pastebin.com/E9DMVeVt > > > > What I noticed is that it takes a few seconds to open the interface in > VM, > > which happens virtually instantaneously on my host (Arch Linux, Kernel > > 3.4.8), need to investigate if that is distribution or VM related. > > > > Could you provide more details about your environment for further > debugging? > > Also, is there any related output to dmesg when octave hangs? > > > > On Wed, Aug 15, 2012 at 3:04 PM, Juan Pablo Carbajal < > car...@if...> > > wrote: > >> > >> On Mon, Aug 13, 2012 at 11:45 AM, Andrius Sutas < > and...@gm...> > >> wrote: > >> > s = serial(sif, 115200, 0); srl_flush(s) ; srl_write(s, "Hello!"); > sleep > >> > ( > >> > 0.2 ); tic(); [data, count] = srl_read(s, 10); toc(); char(data), > count, > >> > srl_close(s); > >> > >> Hi Andrius, > >> > >> I tested the new version of the package you send (and the one in svn) > >> and all examples except the first one hang my Octave completely. It > >> seems the timeout is not working here. To cancel execution I have to > >> do twice Ctrl-C (this closes Octave). > >> > >> What can it be? > >> > >> > >> -- > >> M. Sc. Juan Pablo Carbajal > >> ----- > >> PhD Student > >> University of Zürich > >> http://ailab.ifi.uzh.ch/carbajal/ > > > > > > Hi, > Sorry, I am running 10.10 > > $ lsb_release -a > LSB Version: > core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch > Distributor ID: Ubuntu > Description: Ubuntu 10.10 > Release: 10.10 > Codename: maverick > > Please, suggest any test that I can run to help solving the problem. > > -- > M. Sc. Juan Pablo Carbajal > ----- > PhD Student > University of Zürich > http://ailab.ifi.uzh.ch/carbajal/ > |