Subject: Re: gnokii problem
To: Brett Lymn <blymn@baesystems.com.au>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: port-i386
Date: 09/26/2000 08:04:09
On Tue, Sep 26, 2000 at 12:09:37PM +0930, Brett Lymn wrote:
> According to Jukka Marin:
> >
> >I have the same problem.  I think the threads don't work - the thread that
> >should open the serial port, never does.  I never had the time to investigate
> >any further..  it would be nice if it worked.
> 
> Unfortunately, a quick dig through the code showed no knobs to tweak
> to output a more verbose description of what gnokiid is up to.

Yep, that's too sad.  One would think there was a -debug switch or something,
but no.  I added some printf's to the code and saw that the serial port
thread was not running.  Also, ktrace output shows that gnokii never even
tries calling open(2) on the tty port.  Then, the first thread gets tired of
waiting for a flag set by the serial thread, prints the error message and
quits.  I have no idea why the threads do not work.

> I too
> suffer from ENOTIME on this one but I would really like it working
> too.  I regret being forced to give up my 2110 (which _did_ work with
> a pcmcia card - that just looked like a normal serial port) in favour
> of a 5110.  Why Nokia even had to do this is beyond me apart from the
> bastardisation aspect.

I guess Nokia is big enough so they don't need to please their customers.
Or to make good products.  Reminds me of some large company in the US..

  -jm