gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii (0.4.3) on FreeBSD (4.x) with 6130


From: Pawel Kot
Subject: Re: gnokii (0.4.3) on FreeBSD (4.x) with 6130
Date: Sat, 10 Aug 2002 00:09:40 +0200 (CEST)

On Fri, 9 Aug 2002, Paul Civati wrote:

> Pawel Kot <address@hidden> wrote:
>
> > > Options as follows, I had to comment out 'require_dcd' or nothing would
> > > happen at all.
> >
> > Correct.
>
> Perhaps a comment in the sample gnokiirc about this being "normal" for
> my type of phone might be useful.

You're right. Unfortunetely I don't know which phones should use it. If
anyone could provide the information I'd appreciate it. I'll change the
default setting though.

> > > # /usr/local/gnokii/sbin/gnokiid --debug
> >
> > gnokiid does not accept any switches.
>
> # /usr/local/gnokii/sbin/gnokiid --help
> GNOKIID Version 0.4.3
>    usage: gnokiid {--help|--version}
>           --help            display usage information.
>           --version         displays version and copyright information.
>           --debug           uses stdin/stdout for virtual modem comms.

Oups. Sorry for the misinformation.

> And that output is slightly screwed, as generated the lines don't have
> carriage returns.

Oups again. Fixed.

> > To stderr. You need to ./configure --enable-debug.
>
> Okay, I was doing something fundamentally stupid, I had the config default
> of "bindir = '/usr/local/sbin/'" but I had built gnokii using
> "--prefix=/usr/local/gnokii", perhaps a simple access() check could be put
> in gnokiid at the beginning of it's startup to catch potential failures in
> finding mgnokiidev.

The patch is very welcome :-) If not a patch, at least a suggested way to
do it.

> (I had to modify common/data/virtmodem.c and make the perror() for execl()
> supply some arguments before it was obvious what I had done wrong).

Would you mind to show the patch? Maybe it's worth of applying?

> I can get gnokkid started now, and get to start making a data call, but it
> stops before it connects.

Care to show the gnokiid output?

> Also running 'gnokii --monitor' I can't even get
> any monitor info from the phone (although it does talk to the phone to
> some extent because I can see it pulling down the phone ID info):
[...]
> SM_Block Retry - 1
> Message sent: 0x0c / 0x0005
> 00 01 00 40 01                                  |    @
> SM_Block Retry - 2
> Telephone interface init failed! Quitting.

That's strange... It means that initialize failed. Could you apply the
following patch and show the result (it will fail as well, but should give
more verbose output).
--- gnokii/gnokii.c~    Sat Aug 10 00:06:30 2002
+++ gnokii/gnokii.c     Sat Aug 10 00:07:09 2002
@@ -385,7 +385,7 @@
        /* Initialise the code for the GSM interface. */
        error = GSM_Initialise(model, Port, Initlength, connection, 
rlp_handler, &State);
        if (error != GE_NONE) {
-               fprintf(stderr, _("Telephone interface init failed! 
Quitting.\n"));
+               fprintf(stderr, _("Telephone interface init failed: %s 
Quitting.\n"), print_error(error));
                exit(2);
        }
 }

pkot
-- 
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku




reply via email to

[Prev in Thread] Current Thread [Next in Thread]