From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 20:37:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6346317B for ; Fri, 26 Dec 2014 20:37:28 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E859C66CDD for ; Fri, 26 Dec 2014 20:37:27 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id n12so14905455wgh.22 for ; Fri, 26 Dec 2014 12:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nYF/Tz1hk3RN/TSJnMDPpjc2hs/3MX2VQUWeyMcMT1U=; b=i36ZpIRbtPVB0/oUp3Wdkg8LAjHbWWEBFJ+6xLB03uRss7Y+pXINkk1O24gcgQno5P v2DPuWAvfOaCBeMzX92U61tWO0AR8Aq4Xw5TAsFUjnrnLFYKvJ9YBKvT/tGh0Cd5L0ZG K2dD4HBayImc/5BpbAd3+EF/2HybdZ/oUT+x7FNcMpFjhuRhwhatQsZBjEXOilVX5gHl bDsXiUNTs5R29Icn+AlzYTHBVzAYYPua7F3hWjnDE0Ao9ZetEFa+Cfsz443wlbti8feB 9vwpZu8XTaGRFO0yOvMfEHwWNE79dCi4TIJj/hnRKZ19tBagRnbb3G8d8mPUdYyyHWCS ln1Q== MIME-Version: 1.0 X-Received: by 10.180.7.198 with SMTP id l6mr72426654wia.26.1419626246270; Fri, 26 Dec 2014 12:37:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.195 with HTTP; Fri, 26 Dec 2014 12:37:26 -0800 (PST) In-Reply-To: <549A8FF4.3080303@compudoc.za.org> References: <549A8FF4.3080303@compudoc.za.org> Date: Fri, 26 Dec 2014 12:37:26 -0800 X-Google-Sender-Auth: 5fegbjChNO5OiAFLrD6LcGyfLTs Message-ID: Subject: Re: Anyone had experince setting up gnokii From: Adrian Chadd To: freebsdlist@compudoc.za.org Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 20:37:28 -0000 Hi, I thought gnokii worked on a real serial port, not a ugen device. ugen is the generic USB device that userland USB drivers would use. I think gnokii expects the device / port there to be a serial device, USB or otherwise. So, what cable are you using? and whats the output of "dmesg" and "usbconfig list" say? -adrian On 24 December 2014 at 02:05, Godfrey Hamshire wrote: > Hello > > I have got a Nokia N79 and am trying to set it up to send sms's I am not > wanting any thing fancy just to send me sms's in addition to the other > notification methods I already employ for power outages loss of connectivity > etc etc. > > I have managed to get this far and am stuck > > Initializing AT capable mobile phone ... > Serial device: opening device /dev/ugen4.2 > Gnokii serial_open: tcgetattr: Inappropriate ioctl for device > Couldn't open ATBUS device: Inappropriate ioctl for device > > No matter what I try I am unable to proceed beyond this point > > > Google is not much help here I was wondering what suggestions you guys might > have. > > Regards > > Godfrey > > > > > root@32.165 ~ # usbconfig ; gnokii --identify > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > (100mA) > GNOKII Version 0.6.31 > LOG: debug mask is 0x1 > Config read from file /usr/local/etc/gnokiirc. > phone instance config: > model = AT > port = /dev/ugen4.2 > connection = serial > initlength = default > serial_baudrate = 115200 > serial_write_usleep = 5000 > handshake = hardware > require_dcd = 0 > smsc_timeout = 60 > rfcomm_channel = 0 > sm_retry = 0 > Initializing AT capable mobile phone ... > Serial device: opening device /dev/ugen4.2 > Gnokii serial_open: tcgetattr: Inappropriate ioctl for device > Couldn't open ATBUS device: Inappropriate ioctl for device > AT bus initialization failed (1) > Initialization failed (1) > Serial device: closing device > Telephone interface init failed: Command failed. > Quitting. > Command failed. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"