From owner-freebsd-bluetooth@FreeBSD.ORG Fri Apr 13 02:42:42 2012 Return-Path: <owner-freebsd-bluetooth@FreeBSD.ORG> Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEEAB1065670 for <freebsd-bluetooth@freebsd.org>; Fri, 13 Apr 2012 02:42:42 +0000 (UTC) (envelope-from barnabaturek@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 327BC8FC08 for <freebsd-bluetooth@freebsd.org>; Fri, 13 Apr 2012 02:42:42 +0000 (UTC) Received: by lbbgj3 with SMTP id gj3so2667993lbb.13 for <freebsd-bluetooth@freebsd.org>; Thu, 12 Apr 2012 19:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=BtcyQiSCcHytw3epJxdOziFLMFLlSq0Y5E8sVLupAm8=; b=YWF62KpN0SCWGKpqWHHK0v/IWb3AAjPx3XpzgaBkuTtx7yRGnewFvfQ0VrkVs84U5X zVhLMmM2XNfWfuPx8KLLoLpGV0tSXc4pH0YNDtZBtMEs4/TgHPmDvPrqAR/bd2+HpTwf KqdlfpmEuLow7e7PavFhrXtuUYFHWvdgvyIbTeWjS2h9MBVlidJdABYM9bw1PgbiNGSa B9CqAOo5ezIauyv1R32RyJnKJ/MWV/q3UMiZEkdJA9PZw9AbEyiSJomhJ9eJBm6pPYvX D51tUzKTZi2E55dS/CHE8WWIonV4bltgAPl4+U5xqDTla1JO16bX317W7mUU65pnk3e0 R6sg== Received: by 10.112.9.200 with SMTP id c8mr10161lbb.13.1334284960788; Thu, 12 Apr 2012 19:42:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.2.129 with HTTP; Thu, 12 Apr 2012 19:42:20 -0700 (PDT) From: Barnaba Turek <barnabaturek@gmail.com> Date: Fri, 13 Apr 2012 04:42:20 +0200 Message-ID: <CACiz7a8=dEoYEV_oc3H1vnad7+Rvj8XpUb32ALf7zTULR+mEDg@mail.gmail.com> To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: rfcomm_sppd won't allocate tty. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments <freebsd-bluetooth.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth>, <mailto:freebsd-bluetooth-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-bluetooth> List-Post: <mailto:freebsd-bluetooth@freebsd.org> List-Help: <mailto:freebsd-bluetooth-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth>, <mailto:freebsd-bluetooth-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Apr 2012 02:42:42 -0000 Hello, I'm trying to use rfcomm_sppd to connect to serial console over bluetooth, and I'm facing strange issue. I think the problem is related to creation of new terminal device in my system. When I run rfcomm_sppd in the foreground, everything works fine: $ rfcomm_sppd -a F11 rfcomm_sppd[1488]: Starting on stdin/stdout... ^Crfcomm_sppd[1488]: Signal 2 received. Total 1 signals received rfcomm_sppd[1488]: Completed on stdin/stdout $echo $? 0 But when I try to use pty/tty instead of the device, rfcomm_sppd fails silently with error code 1 and no device is created: $ sudo rfcomm_sppd -a F11 -t /dev/ptyp2 $ echo $? 1 $ sudo rfcomm_sppd -a F11 -t /dev/ttyp2 $ echo $? 1 $ ls /dev/*yp2 zsh: no matches found: /dev/*yp2 Am I missing something? regards, Barnaba Turek