From owner-freebsd-stable@FreeBSD.ORG Wed Mar 22 14:17:39 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26C2A16A422 for ; Wed, 22 Mar 2006 14:17:39 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2973B43D46 for ; Wed, 22 Mar 2006 14:17:38 +0000 (GMT) (envelope-from anders@FreeBSD.org) Received: by totem.fix.no (Postfix, from userid 1000) id 1B5108DB1D4; Wed, 22 Mar 2006 15:17:36 +0100 (CET) Date: Wed, 22 Mar 2006 15:17:36 +0100 From: Anders Nordby To: "Morten A. Middelthon" Message-ID: <20060322141735.GA24208@totem.fix.no> References: <20060322084313.GA77331@freenix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060322084313.GA77331@freenix.no> X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.11 Cc: stable@freebsd.org Subject: Re: gnokii on FreeBSD 6.0 and Dell PE 2850 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 14:17:39 -0000 Hi, Interesting problem, as I am also going to move my Gnokii phone to 6.0 soon. Did you try your phone with gnokii, running 6.0 on another system? Maybe the problem is with the serial port on your server. On Wed, Mar 22, 2006 at 09:43:13AM +0100, Morten A. Middelthon wrote: > I have been using gnokii along with an old Nokia 6150 succesfully for quite > some time now. Yesterday I moved the phone to a new Dell PE 2850 with FreeBSD > 6.0 and installed gnokii 0.6.10 (there's a newer version out, but not in ports > :( ). I used the working config from the old machine, except for changing the > serial port device from /dev/cuaa0 to /dev/cuad0. But it's not working. With > debugging messages turned on I get the following error msg: > > gnokii --sendsms > GNOKII Version 0.6.10 > LOG: debug mask is 0x1 > phone instance config: > model: 6150 > port_device: /dev/cuad0 > connection_type: 0 > init_length: 0 > serial_baudrate: 19200 > serial_write_usleep: -1 > hardware_handshake: 0 > require_dcd: 0 > smsc_timeout: 100 > connect_script: > disconnect_script: > rfcomm_cn: 1 > sm_retry: off > Serial device: opening device /dev/cuad0 > Serial device: setting speed to 115200 > Serial device: setting RTS to low and DTR to high > Message sent: 0x40 / 0x0004 > 00 01 64 01 | d > SM_Block: exiting the retry loop > Message sent: 0x40 / 0x0004 > 00 01 64 01 | d > [Received Ack of type 40, seq: 80] > Message sent: 0x40 / 0x0004 > 00 01 64 01 | d > [Sending Ack of type 40, seq: 0] > Telephone interface init failed: Command timed out. > > And in /var/log/messages I get the following message: > > Mar 22 08:41:38 nefarian kernel: sio0: 2 more silo overflows (total 16) > > I have attached my current gnokiirc > > > -- > Morten A. Middelthon > > Remember: Silly is a state of Mind, Stupid is a way of Life. > -- Dave Butler > [global] > > # Set port to the physical serial port used to connect to your phone. > # Linux version is: > port = /dev/cuad0 > model = 6150 > > initlength = default > > connection = serial > > bindir = /usr/local/sbin/ > > use_locking = no > > serial_baudrate = 19200 > > smsc_timeout = 10 > > [connect_script] > TELEPHONE = 12345678 > [disconnect_script] > > > # The following parameters control how libgnokii handle the debugging messages. > # Currently there are three categories: "debug" controls the libgnokii > # normal debug output, "rlpdebug" controls the debug output of the RLP > # subsystem, and "xdebug" is used by the xgnokii or smsd. > > [logging] > > # where to log the debug output (on: stderr) > debug = on > > # where to log the rlp debug output (on: stderr) > rlpdebug = off > > # where to log X debug output (on: stderr) > xdebug = off -- Anders.