Date: Thu, 27 Oct 2005 18:44:51 +0300 From: Niki Denev <nike_d@cytexbg.com> To: freebsd-current@freebsd.org Cc: freebsd-bluetooth@freebsd.org Subject: rfcomm problems Message-ID: <200510271844.52361.nike_d@cytexbg.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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, and then start manually ppp with "set device" the 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 : ------------------- 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 ------------------ (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 disconnect) But when i start rfcomm_sppd in the background on a tty it is working properly: ------------------ root@phobos# rfcomm_sppd -a gsm -c 1 -b -t /dev/ttyp0 root@phobos# cu -l /dev/ttyp0 Connected atz OK ~ [EOT] ------------------ 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? -- --niki PGP KeyId: 0xF2DB7EB9 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBDYPX0HNAJ/fLbfrkRApTHAJ0St5mVt3bgPcgRR2211bysgkcIJACfUE7R zlSvpqgKA9XtmjcvyJGwWmE= =2nM5 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510271844.52361.nike_d>
