From: Romain L. <rom...@wa...> - 2003-09-18 18:46:54
|
Hi, Tijl Coosemans a écrit : > On Tue, 16 Sep 2003 18:13:36 +0200, Tijl Coosemans wrote: > > >>I've ran into a problem with the grey serial cable on FreeBSD. >>Apparently it got introduced with the switch to gtk2, because if I run >>the latest versions (cables 3.7.7, files 0.5.7, calcs 4.4.7-4.5.1) >>there's no problem in gtk12 mode (with tilp 6.09), but there is in the >>gtk2 version (with tilp 6.52-6.68). >> >>Because there's no difference between the glib12 and glib2 >>versions of lcalcs, it appears to be with tilp itself. However, I >>don't know the code that good and a lot has changed between 6.09 and >>6.52, so does anybody have an idea what might be the problem? >> >>A little bit more in detail, most of the time I get a timeout error >>while it's receiving the first byte, so sending seems to work and the >>calc also turns on. Very rarely it all does work properly, but I >>haven't found a way to reproduce that. >> >>Any clue? >> >>btw, who owns the project now roms left? > > > I got it working again, but I don't have a nice solution yet. What I did > is setting VMIN=1 en VTIME=0 in tig_open() in libticables, so it waits > indefinitely for a byte to read. VMIN=0 and VTIME=15 (normal values) > doesn't work and gives a timeout error almost immediately as in, it > doesn't wait 1,5 seconds. The strange thing is that the gtk1version > still works flawlessly without any of these modifications. > What's going on here? Are Linux versions affected too? Could you see whether the timeout value is passed fine to the lib. It may explain your problem... BTW, are you 'root' ? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > roms. -- Romain Liévin, aka 'roms' <ro...@ti...> Site web <http://tilp.info> Messagerie instantanée (ICQ) 43585029 "Linux, y'a moins bien mais c'est plus cher !" |