From owner-freebsd-current@FreeBSD.ORG Thu Oct 27 15:44:57 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FC216A420 for ; Thu, 27 Oct 2005 15:44:57 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 6959343D4C for ; Thu, 27 Oct 2005 15:44:54 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 39960 invoked by uid 1026); 27 Oct 2005 15:49:28 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.122583 secs); 27 Oct 2005 15:49:28 -0000 Received: from unknown (HELO 14.98.145.213.in-addr.arpa) (213.145.98.14) by office.suresupport.com with SMTP; 27 Oct 2005 15:49:28 -0000 From: Niki Denev To: freebsd-current@freebsd.org Date: Thu, 27 Oct 2005 18:44:51 +0300 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2622268.ksZTiH4Ovt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510271844.52361.nike_d@cytexbg.com> Cc: freebsd-bluetooth@freebsd.org Subject: rfcomm problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 15:44:58 -0000 --nextPart2622268.ksZTiH4Ovt Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, i'm trying to setup a bluetooth gprs connection. the problem is that the connection works only if i start rfcomm_sppd on a TTY,=20 and then start manually ppp with "set device" the=20 same TTY. rfcomm_pppd and rcomm_sppd with stdin/stdout does not work properly as the bluetooth modem echoes everyting back. I get the same results with the bluetooth modems on a Nokia 6230 phone and Motorola RazrV3. Here is exactly what happens when i start rfcomm_sppd on console : =2D------------------ root@phobos# rfcomm_sppd -a gsm -c 1 rfcomm_sppd[2628]: Starting on stdin/stdout... atz atz atz atz ate0 ate0 ^Crfcomm_sppd[2628]: Signal 2 received. Total 1 signals received rfcomm_sppd[2628]: Completed on stdin/stdout =2D----------------- (i typed two times atz, and one time ate0 and it was echoed right back) When i start rfcomm_pppd the ppp daemon begins to write in the log that he is talking to himself (several "magic is same" errors, and disconne= ct) But when i start rfcomm_sppd in the background on a tty it is working properly: =2D----------------- root@phobos# rfcomm_sppd -a gsm -c 1 -b -t /dev/ttyp0 root@phobos# cu -l /dev/ttyp0 Connected atz OK ~ [EOT] =2D----------------- I'm running about one week old 7.0-CURRENT but have experienced this for quite some time. Also, i'm using a usb bluetooth dongle, and the /etc/rc.bluetooth init script. does anyone have idea what can be causing this? =2D-=20 =2D-niki PGP KeyId: 0xF2DB7EB9 --nextPart2622268.ksZTiH4Ovt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBDYPX0HNAJ/fLbfrkRApTHAJ0St5mVt3bgPcgRR2211bysgkcIJACfUE7R zlSvpqgKA9XtmjcvyJGwWmE= =2nM5 -----END PGP SIGNATURE----- --nextPart2622268.ksZTiH4Ovt--