From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 12:43:47 2012 Return-Path: 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 5C75A1065673 for ; Sun, 15 Apr 2012 12:43:47 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB828FC08 for ; Sun, 15 Apr 2012 12:43:47 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SJOnw-0008WS-Dw for freebsd-bluetooth@freebsd.org; Sun, 15 Apr 2012 14:43:44 +0200 Received: from dhcp-077-251-052-224.chello.nl ([77.251.52.224] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SJOnw-0000dJ-Qz for freebsd-bluetooth@freebsd.org; Sun, 15 Apr 2012 14:43:44 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-bluetooth@freebsd.org References: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> Date: Sun, 15 Apr 2012 14:43:43 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> User-Agent: Opera Mail/11.62 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.0 X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=disabled version=3.2.5 X-Scan-Signature: 71684ae416b12bc74806129cb02de027 Subject: Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 12:43:47 -0000 On Fri, 13 Apr 2012 17:11:59 +0200, Xavier wrote: > Hi to all, > > I'm following the "32.4.2 Plugging in the Device" section of our > Handbook. > > When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show > debug messages like same command on "32.4.2 Plugging in the Device" > section of our Handbook: > > # /etc/rc.d/bluetooth start ubt0 > # > > Why my test command don't show debug messages ? > > Thanks, see you. Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD: ...' line for example) and try again. It will print what the script is doing and might give a hint about what goes wrong. Ronald. From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 18:35:22 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BA5F1065670 for ; Sun, 15 Apr 2012 18:35:22 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id E3B1F8FC12 for ; Sun, 15 Apr 2012 18:35:21 +0000 (UTC) Received: by dadz14 with SMTP id z14so20753742dad.17 for ; Sun, 15 Apr 2012 11:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=V7sgT1zEjJFQM1N6NICgDhIx3qR2uaUJ5QBQgNNcDOA=; b=gW8fPvr80uxLJ6pmfjLMYVoWPwV0ycsgIn+1SMmjrgMxZm1Qg4ylL7Kw4YOOP4m8Z3 paiYgt4ycWZeBPRMmjZs13/u24pGaYhgMQce+UQXSELvsg+WiHc0Gdo26FtJZEPqkliO InxqpihEZXLXSbPQBL23ff+iiNnHl4xZo9wQmPENLtqEEcAUSFp9RUHL05HU5qz63iA1 sg0jXg33nRzEYQDckdt7JRYBATlvXn8t4RcaEoqYVlr3uZwFxmVTFUV8YTafIvNmnwIp XFQGiUXA2P8j/s+8L141I0NG+Z2j2qwwk7IW+O+1Loo/8p5hpV/SuLpXXDdgvbkWnfbu eQFg== MIME-Version: 1.0 Received: by 10.68.221.102 with SMTP id qd6mr21936430pbc.36.1334514921373; Sun, 15 Apr 2012 11:35:21 -0700 (PDT) Received: by 10.68.232.194 with HTTP; Sun, 15 Apr 2012 11:35:21 -0700 (PDT) In-Reply-To: References: Date: Sun, 15 Apr 2012 11:35:21 -0700 Message-ID: From: Maksim Yevmenkin To: Barnaba Turek Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-bluetooth@freebsd.org Subject: Re: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 18:35:22 -0000 rfcomm_sppd needs to be fixed to use openpty(3). patches are welcome. max On Thu, Apr 12, 2012 at 7:42 PM, Barnaba Turek wro= te: > 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 s= ystem. > > When I run rfcomm_sppd in the foreground, everything works fine: > > =A0$ 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: > > =A0$ sudo rfcomm_sppd -a F11 =A0-t /dev/ptyp2 > =A0$ echo $? > 1 > =A0$ sudo rfcomm_sppd -a F11 =A0-t /dev/ttyp2 > =A0$ echo $? > 1 > =A0$ ls /dev/*yp2 > zsh: no matches found: /dev/*yp2 > > Am I missing something? > > regards, > Barnaba Turek > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@freebsd.o= rg" From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 18:36:50 2012 Return-Path: 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 65736106564A for ; Sun, 15 Apr 2012 18:36:50 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3218FC12 for ; Sun, 15 Apr 2012 18:36:50 +0000 (UTC) Received: by dadz14 with SMTP id z14so20756473dad.17 for ; Sun, 15 Apr 2012 11:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2xnVopUfZOKhGhkj4E7rIW45gtwO71f76yeAVcsaNVI=; b=YQjXY9XpoNgo4cqA79mBy0jbODh6ld+4/2wYtmPkARZVzD0MHr9iOxcrKr1FCUtFAj SkLlN6ikPz+M/GZ4ZbXjquJ14KmarWirRyYfwLNWEGd1JyMVMp3UVNqQV8UOpeeRRheE 83M5n8PdphlEvjRTCgw2vYVUaLD5GXfetPJuA3fqe6O5RHkOdi4AZZGUE3IsJVQ3UJ3W pZscbJ0EPjU5YZ5+Ce++EcDoDJztfdXOhEPhqtsNV4SUo81JeWOc+b6p8PbWcfzO9Hef txf7Zrj99vTDQPGD8zu+MmcNkM0AUqzw7vgGj/dsEEAnzlVvhxKqv8TAINIr74iWWEpX 2fBw== MIME-Version: 1.0 Received: by 10.68.204.169 with SMTP id kz9mr21753979pbc.78.1334515009903; Sun, 15 Apr 2012 11:36:49 -0700 (PDT) Received: by 10.68.232.194 with HTTP; Sun, 15 Apr 2012 11:36:49 -0700 (PDT) In-Reply-To: References: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> Date: Sun, 15 Apr 2012 11:36:49 -0700 Message-ID: From: Maksim Yevmenkin To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 18:36:50 -0000 On Sun, Apr 15, 2012 at 5:43 AM, Ronald Klop wrote: > On Fri, 13 Apr 2012 17:11:59 +0200, Xavier > wrote: > >> Hi to all, >> >> I'm following the "32.4.2 Plugging in the Device" section of our Handbook. >> >> When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show debug >> messages like same command on "32.4.2 Plugging in the Device" section of our >> Handbook: >> >> # /etc/rc.d/bluetooth start ubt0 >> # >> >> Why my test command don't show debug messages ? >> >> Thanks, see you. > > > Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD: ...' > line for example) and try again. It will print what the script is doing and > might give a hint about what goes wrong. rc.bluetooth is called from devd on device arrival departure. in most cases you just plug the device and it should work. you really do not need to call rc.bluetooth start by hand any more (unless you know that is what you want) max From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 19:32:09 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9806A106566C for ; Sun, 15 Apr 2012 19:32:09 +0000 (UTC) (envelope-from xavierfreebsdbluetooth@aim.com) Received: from imr-ma01.mx.aol.com (imr-ma01.mx.aol.com [64.12.206.39]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF7E8FC08 for ; Sun, 15 Apr 2012 19:32:09 +0000 (UTC) Received: from mtaomg-mb06.r1000.mx.aol.com (mtaomg-mb06.r1000.mx.aol.com [172.29.41.77]) by imr-ma01.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3FJW5Qb004627 for ; Sun, 15 Apr 2012 15:32:05 -0400 Received: from core-dia002c.r1000.mail.aol.com (core-dia002.r1000.mail.aol.com [172.29.230.89]) by mtaomg-mb06.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id 6ADE8E000086 for ; Sun, 15 Apr 2012 15:32:05 -0400 (EDT) References: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> To: freebsd-bluetooth@freebsd.org In-Reply-To: X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Xavier X-MB-Message-Type: User X-Mailer: AOL Webmail 35964-STANDARD Received: from 87.223.46.165 by webmail-m017.sysops.aol.com (64.12.101.101) with HTTP (WebMailUI); Sun, 15 Apr 2012 15:32:05 -0400 Message-Id: <8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com> X-Originating-IP: [87.223.46.165] Date: Sun, 15 Apr 2012 15:32:05 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334518325; bh=iYUL1ndoQxjytLdnOAEzVLkswXfhd3UaiSvAbnx25UU=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=IEcPjKIbNPOWrAQbRJb5T+GZ8ivN+cBOWeuzy8mdajqIcd0IjnCEpYKyLejDUWcHT ZgwVpsgjZtI5BvEHzq46vgjMCFA8vtFvXj3S5TN2ZXPzvefpH2H1nc8cRtutB6fEkP hWJvz1ncOqdX8JIURfrXXSESZ3dm0aCCkNLLzj9c= X-AOL-SCOLL-SCORE: 0:2:467574048:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d294d4f8b22352651 X-Mailman-Approved-At: Sun, 15 Apr 2012 19:35:53 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 19:32:09 -0000 On Sun, Apr 15, 2012 at 02:43:43PM +0200, Ronald Klop wrote: Hi Ronald, > On Fri, 13 Apr 2012 17:11:59 +0200, Xavier =20 > wrote: >=20 > > Hi to all, > > > > I'm following the "32.4.2 Plugging in the Device" section of our =20 > > Handbook. > > > > When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show =20 > > debug messages like same command on "32.4.2 Plugging in the Device" =20 > > section of our Handbook: > > > > # /etc/rc.d/bluetooth start ubt0 > > # > > > > Why my test command don't show debug messages ? > > > > Thanks, see you. >=20 > Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD: ...= ' =20 > line for example) and try again. It will print what the script is doing = =20 > and might give a hint about what goes wrong. >=20 # set -x # /etc/rc.d/bluetooth start ubt0 + /etc/rc.d/bluetooth start ubt0 # any output ? Thanks, see you. From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 20:04:43 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F253D1065672 for ; Sun, 15 Apr 2012 20:04:43 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id A45ED8FC14 for ; Sun, 15 Apr 2012 20:04:43 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SJVge-00058g-Th for freebsd-bluetooth@freebsd.org; Sun, 15 Apr 2012 22:04:41 +0200 Received: from dhcp-077-251-052-224.chello.nl ([77.251.52.224] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SJVgf-0006Ro-9P for freebsd-bluetooth@freebsd.org; Sun, 15 Apr 2012 22:04:41 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-bluetooth@freebsd.org References: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> <8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com> Date: Sun, 15 Apr 2012 22:04:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com> User-Agent: Opera Mail/11.62 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.0 X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=disabled version=3.2.5 X-Scan-Signature: 4c3c8b3d32e7d0cfaf2d58264fc1daa3 Subject: Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 20:04:44 -0000 On Sun, 15 Apr 2012 21:32:05 +0200, Xavier wrote: > On Sun, Apr 15, 2012 at 02:43:43PM +0200, Ronald Klop wrote: > > Hi Ronald, > >> On Fri, 13 Apr 2012 17:11:59 +0200, Xavier >> wrote: >> >> > Hi to all, >> > >> > I'm following the "32.4.2 Plugging in the Device" section of our >> > Handbook. >> > >> > When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show >> > debug messages like same command on "32.4.2 Plugging in the Device" >> > section of our Handbook: >> > >> > # /etc/rc.d/bluetooth start ubt0 >> > # >> > >> > Why my test command don't show debug messages ? >> > >> > Thanks, see you. >> >> Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD: >> ...' >> line for example) and try again. It will print what the script is doing >> and might give a hint about what goes wrong. >> > > # set -x > # /etc/rc.d/bluetooth start ubt0 > + /etc/rc.d/bluetooth start ubt0 > # > > any output ? > > Thanks, see you. > I suggested you edit the /etc/rc.d/bluetooth file to add 'set -x' in the file. An alternative is to run it like this (on one line): sh -x /etc/rc.d/bluetooth start ubt0 Every line of output prefixed with a '+' is a command run by sh. But see the reply of Maksim also. He knows a lot about bluetooth on freebsd. Ronald. From owner-freebsd-bluetooth@FreeBSD.ORG Sun Apr 15 20:43:23 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7B67106566B for ; Sun, 15 Apr 2012 20:43:23 +0000 (UTC) (envelope-from xavierfreebsdbluetooth@aim.com) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id 596C18FC18 for ; Sun, 15 Apr 2012 20:43:23 +0000 (UTC) Received: from mtaomg-mb04.r1000.mx.aol.com (mtaomg-mb04.r1000.mx.aol.com [172.29.41.75]) by imr-da01.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3FKhAIm001051 for ; Sun, 15 Apr 2012 16:43:10 -0400 Received: from core-dia002c.r1000.mail.aol.com (core-dia002.r1000.mail.aol.com [172.29.230.89]) by mtaomg-mb04.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id A4058E000086 for ; Sun, 15 Apr 2012 16:43:10 -0400 (EDT) References: <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com><8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com> To: freebsd-bluetooth@freebsd.org In-Reply-To: X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Xavier X-MB-Message-Type: User X-Mailer: AOL Webmail 35964-STANDARD Received: from 87.223.233.241 by webmail-m017.sysops.aol.com (64.12.101.101) with HTTP (WebMailUI); Sun, 15 Apr 2012 16:43:10 -0400 Message-Id: <8CEE95F8136F1D9-8CC-1C7C1@webmail-m017.sysops.aol.com> X-Originating-IP: [87.223.233.241] Date: Sun, 15 Apr 2012 16:43:10 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334522590; bh=jtd4lYiaMFYQk3exWGxi8Sy2t1q7p8MMpOXgiSYNTdc=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=RAJum/k8pagwGq9dSicaSkn8w/sH7Ywz+cSqtB4eWAXeZh0qrQEksQEmfi515Gk23 56Wgf3iaKFMdbl5EfB8kgi+5264SrXo0KpiUD5aNzpEZtNKFfa0dwAqEM+51XzhN4Z yf9tt6Aoclg0uW3yi0oHEN2AtFjzFHTK0iTfAIsY= X-AOL-SCOLL-SCORE: 0:2:482754048:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d294b4f8b32de2e92 X-Mailman-Approved-At: Sun, 15 Apr 2012 21:24:22 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 20:43:23 -0000 On Sun, Apr 15, 2012 at 10:04:39PM +0200, Ronald Klop wrote: Hi Ronald, > On Sun, 15 Apr 2012 21:32:05 +0200, Xavier =20 > wrote: >=20 > > On Sun, Apr 15, 2012 at 02:43:43PM +0200, Ronald Klop wrote: > > > > Hi Ronald, > > > >> On Fri, 13 Apr 2012 17:11:59 +0200, Xavier > >> wrote: > >> > >> > Hi to all, > >> > > >> > I'm following the "32.4.2 Plugging in the Device" section of our > >> > Handbook. > >> > > >> > When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show > >> > debug messages like same command on "32.4.2 Plugging in the Device" > >> > section of our Handbook: > >> > > >> > # /etc/rc.d/bluetooth start ubt0 > >> > # > >> > > >> > Why my test command don't show debug messages ? > >> > > >> > Thanks, see you. > >> > >> Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD: = =20 > >> ...' > >> line for example) and try again. It will print what the script is doin= g > >> and might give a hint about what goes wrong. > >> > > > > # set -x > > # /etc/rc.d/bluetooth start ubt0 > > + /etc/rc.d/bluetooth start ubt0 > > # > > > > any output ? > > > > Thanks, see you. > > >=20 > I suggested you edit the /etc/rc.d/bluetooth file to add 'set -x' in the = =20 > file. Ah, sorry. > An alternative is to run it like this (on one line): >=20 > sh -x /etc/rc.d/bluetooth start ubt0 I try that: http://pastebin.com/GPGS9SWv Many lines for me ... >=20 > Every line of output prefixed with a '+' is a command run by sh. >=20 > But see the reply of Maksim also. He knows a lot about bluetooth on =20 > freebsd. OK. Thanks, see you. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 19 14:18:06 2012 Return-Path: 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 AE5E2106566B for ; Thu, 19 Apr 2012 14:18:06 +0000 (UTC) (envelope-from xavierfreebsdbluetooth@aim.com) Received: from imr-mb01.mx.aol.com (imr-mb01.mx.aol.com [64.12.207.164]) by mx1.freebsd.org (Postfix) with ESMTP id 652F68FC0A for ; Thu, 19 Apr 2012 14:18:06 +0000 (UTC) Received: from mtaomg-ma03.r1000.mx.aol.com (mtaomg-ma03.r1000.mx.aol.com [172.29.41.10]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3JEHuPR011564 for ; Thu, 19 Apr 2012 10:17:56 -0400 Received: from core-dia002b.r1000.mail.aol.com (core-dia002.r1000.mail.aol.com [172.29.230.89]) by mtaomg-ma03.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id 4FB6AE000091 for ; Thu, 19 Apr 2012 10:17:56 -0400 (EDT) To: freebsd-bluetooth@freebsd.org X-MB-Message-Source: WebUI X-MB-Message-Type: User MIME-Version: 1.0 From: Xavier X-Mailer: AOL Webmail 35964-STANDARD Received: from 95.21.227.117 by webmail-d009.sysops.aol.com (205.188.181.28) with HTTP (WebMailUI); Thu, 19 Apr 2012 10:17:56 -0400 Message-Id: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com> X-Originating-IP: [95.21.227.117] Date: Thu, 19 Apr 2012 10:17:56 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334845076; bh=k/758HRW+1CmlLk7c3G8lQ5Q2bp1Cv0OQ3uKdkkX2Uk=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=xgsooKqJGDATYUY5bPIzMlqwDT/0Wprn92kr0oiY6zBIILrIvRXwDLar8+towpUf+ EKuZo9cCYpqf6Q8faDceScr+vY2t8pIf+Q8JgWPH7cyRzErtUbvxnI0JH+p5ZlfEPo XPiFUXXOsHJWkjmlswV/81vMQ/Rn9iVyWC/s7X9A= X-AOL-SCOLL-SCORE: 0:2:366163808:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d290a4f901e945a69 X-Mailman-Approved-At: Thu, 19 Apr 2012 16:52:21 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: determine if an USB bluetooth adapter is compatible with 9.0-RELEASE X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 14:18:06 -0000 Hi, I plug-in an USB bluetooth adapter to 9.0-RELEASE. I get the logs: ugen3.2: at usbus3 ubt0: on usbus3 How can I determine if this adapter is compatible with 9.0-RELEASE ? Thanks, see you. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 19 17:22:43 2012 Return-Path: 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 C7DB2106566C for ; Thu, 19 Apr 2012 17:22:43 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F09C8FC14 for ; Thu, 19 Apr 2012 17:22:43 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mail.0x20.net (Postfix) with ESMTP id C48C26A6017; Thu, 19 Apr 2012 19:22:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.0x20.net Received: from mail.0x20.net ([217.69.76.211]) by mail.0x20.net (mail.0x20.net [217.69.76.211]) (amavisd-new, port 10024) with ESMTP id i4cQCEOmvxPj; Thu, 19 Apr 2012 19:22:41 +0200 (CEST) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 854B66A6014; Thu, 19 Apr 2012 19:22:41 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id q3JHMfEg013013; Thu, 19 Apr 2012 19:22:41 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.4/8.14.4/Submit) id q3JHMeME012797; Thu, 19 Apr 2012 19:22:40 +0200 (CEST) (envelope-from lars) Date: Thu, 19 Apr 2012 19:22:40 +0200 From: Lars Engels To: Xavier Message-ID: <20120419172240.GO37811@e-new.0x20.net> References: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bxfI0o3bCF0nmU/u" Content-Disposition: inline In-Reply-To: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.2-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-bluetooth@freebsd.org Subject: Re: determine if an USB bluetooth adapter is compatible with 9.0-RELEASE X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 17:22:43 -0000 --bxfI0o3bCF0nmU/u Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 19, 2012 at 10:17:56AM -0400, Xavier wrote: > Hi, >=20 > I plug-in an USB bluetooth adapter to 9.0-RELEASE. >=20 > I get the logs: >=20 > ugen3.2: at usbus3 > ubt0: on usbus3 ^^^^^^^^ The device was regonized as a USB bluetooth device, see ng_ubt(4). >=20 > How can I determine if this adapter is compatible with 9.0-RELEASE ? It already works. :) --bxfI0o3bCF0nmU/u Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+QSeAACgkQKc512sD3afi33wCdFcc3rVc1IacV9qfrx63wTsY7 JcQAoLj/pMl+idre+VqQ84TQB2Ycumxe =hxIP -----END PGP SIGNATURE----- --bxfI0o3bCF0nmU/u-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 19 17:43:53 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DCB4106566B for ; Thu, 19 Apr 2012 17:43:53 +0000 (UTC) (envelope-from xavierfreebsdbluetooth@aim.com) Received: from imr-ma03.mx.aol.com (imr-ma03.mx.aol.com [64.12.206.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5093B8FC14 for ; Thu, 19 Apr 2012 17:43:53 +0000 (UTC) Received: from mtaomg-db01.r1000.mx.aol.com (mtaomg-db01.r1000.mx.aol.com [172.29.51.199]) by imr-ma03.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3JHhjha002131 for ; Thu, 19 Apr 2012 13:43:45 -0400 Received: from core-dic002b.r1000.mail.aol.com (core-dic002.r1000.mail.aol.com [172.29.230.197]) by mtaomg-db01.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id 54EE8E00008B for ; Thu, 19 Apr 2012 13:43:45 -0400 (EDT) References: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com> <20120419172240.GO37811@e-new.0x20.net> To: freebsd-bluetooth@freebsd.org In-Reply-To: <20120419172240.GO37811@e-new.0x20.net> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Xavier X-MB-Message-Type: User X-Mailer: AOL Webmail 35964-STANDARD Received: from 95.21.224.92 by webmail-d023.sysops.aol.com (205.188.181.19) with HTTP (WebMailUI); Thu, 19 Apr 2012 13:43:45 -0400 Message-Id: <8CEEC6B1A29398E-1534-4E77C@webmail-d023.sysops.aol.com> X-Originating-IP: [95.21.224.92] Date: Thu, 19 Apr 2012 13:43:45 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334857425; bh=ayBkiJ08VwLuo0/8NnGPE9kkdK5qv1tFIW1zlBjfYe8=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=ULUHCjQS16LM4wZDNG72xvrUIwavBHRQibYUTQLbprKQ+eNMJ4tyVJhy4s7bEmQGo s9UJT+PSTYdqEviGtuNa0qn37/USIsVBkB4zMv2OFHcKKhrVoNTXvd5WSpgX+zfp4g rbCrg803sliEM9AJI8+pjoCYSu84nlC0wBVT6Tu4= X-AOL-SCOLL-SCORE: 0:2:461491392:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c74f904ed125cb X-Mailman-Approved-At: Thu, 19 Apr 2012 18:37:13 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: determine if an USB bluetooth adapter is compatible with 9.0-RELEASE X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 17:43:53 -0000 On Thu, Apr 19, 2012 at 07:22:40PM +0200, Lars Engels wrote: Hi Lars, > On Thu, Apr 19, 2012 at 10:17:56AM -0400, Xavier wrote: > > Hi, > >=20 > > I plug-in an USB bluetooth adapter to 9.0-RELEASE. > >=20 > > I get the logs: > >=20 > > ugen3.2: at usbus3 > > ubt0: on usbus3 > ^^^^^^^^ > The device was regonized as a USB bluetooth device, see ng_ubt(4). Yes, but ... > >=20 > > How can I determine if this adapter is compatible with 9.0-RELEASE ? >=20 > It already works. :) ... not work ! Don't work any line test of 32.4 Bluetooth section of Handbook. For that reason, I don't know if that USB bluetooth adapter is compatible with ng_ubt(4). Ideas ? Thanks, see you. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 19 18:54:37 2012 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DF5D106564A for ; Thu, 19 Apr 2012 18:54:37 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7115B8FC18 for ; Thu, 19 Apr 2012 18:54:37 +0000 (UTC) Received: by dakh32 with SMTP id h32so11022521dak.37 for ; Thu, 19 Apr 2012 11:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rNkZat93XKIKS4VCmrAOlghEv3tph79VKLeZ9ehMYLg=; b=hb6TVRt5K1SzRCSFRdyye2cn+1FdTdQMQUPeqvR5UZkj37tHIHeTCzWk/Cyyg9JNkC mJYuqdOp9UlYpbeNdPP423dSEGaU2VxozaMJsPb9Cz455C/79PJqQQOoyKZinxdf2xh7 dipq1yrh4AR5UHfc4m3CoeRvxE4fPSQu6/+HPYDrfEQJhlDP71nyIkq9Gi3k5w2IB+YE 8QfCL02FB0HmJFrYbAfoKgUH73IlNlLQEqphNvl5dvCTJ/UOsW2TZvt3MHIHQmoIB+C1 23KN1frpuvCFjQud7EiFSiTDZ6NcvPGzJ7sFMfPRsFT0UPvp0Y/Gc1gVgYJexwRg/AWK CsSg== MIME-Version: 1.0 Received: by 10.68.230.7 with SMTP id su7mr6464486pbc.30.1334861283369; Thu, 19 Apr 2012 11:48:03 -0700 (PDT) Received: by 10.68.2.74 with HTTP; Thu, 19 Apr 2012 11:48:03 -0700 (PDT) In-Reply-To: <8CEEC6B1A29398E-1534-4E77C@webmail-d023.sysops.aol.com> References: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com> <20120419172240.GO37811@e-new.0x20.net> <8CEEC6B1A29398E-1534-4E77C@webmail-d023.sysops.aol.com> Date: Thu, 19 Apr 2012 11:48:03 -0700 Message-ID: From: Maksim Yevmenkin To: Xavier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: determine if an USB bluetooth adapter is compatible with 9.0-RELEASE X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 18:54:37 -0000 >> > How can I determine if this adapter is compatible with 9.0-RELEASE ? >> >> It already works. :) > > ... not work ! > > Don't work any line test of 32.4 Bluetooth section of Handbook. For that > reason, I don't know if that USB bluetooth adapter is compatible with > ng_ubt(4). > > Ideas ? what exactly is not working? can you please at least get some information to us? - uname -a - ngctl li max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 19 19:31:07 2012 Return-Path: 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 B0CCD1065673 for ; Thu, 19 Apr 2012 19:31:07 +0000 (UTC) (envelope-from xavierfreebsdbluetooth@aim.com) Received: from imr-db02.mx.aol.com (imr-db02.mx.aol.com [205.188.91.96]) by mx1.freebsd.org (Postfix) with ESMTP id 60DE38FC16 for ; Thu, 19 Apr 2012 19:31:07 +0000 (UTC) Received: from mtaomg-db03.r1000.mx.aol.com (mtaomg-db03.r1000.mx.aol.com [172.29.51.201]) by imr-db02.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3JJUxB7027356 for ; Thu, 19 Apr 2012 15:30:59 -0400 Received: from core-dib002b.r1000.mail.aol.com (core-dib002.r1000.mail.aol.com [172.29.230.133]) by mtaomg-db03.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id 958A9E000089 for ; Thu, 19 Apr 2012 15:30:59 -0400 (EDT) References: <8CEEC4E599314A2-1044-4EB5C@webmail-d009.sysops.aol.com><20120419172240.GO37811@e-new.0x20.net><8CEEC6B1A29398E-1534-4E77C@webmail-d023.sysops.aol.com> To: freebsd-bluetooth@freebsd.org In-Reply-To: X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Xavier X-MB-Message-Type: User X-Mailer: AOL Webmail 35964-STANDARD Received: from 95.21.234.47 by webmail-d023.sysops.aol.com (205.188.181.19) with HTTP (WebMailUI); Thu, 19 Apr 2012 15:30:59 -0400 Message-Id: <8CEEC7A154FACE3-1534-4F4DB@webmail-d023.sysops.aol.com> X-Originating-IP: [95.21.234.47] Date: Thu, 19 Apr 2012 15:30:59 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334863859; bh=yOxhrkUv4rHPdddN1LATHJxdNijogQlFhqwgCGOMI6c=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=kbrFKT/C4nNkkDaKo6f/zTgDmML1bWdq3nnMc+xd1M+nGKx/RdqVi0Jci4xEe8l3n Pq3KPPMB2lsBIWeREZqqDN74VaBU0nd4uwgqLWw3h18gzOzvoGug5kqO6ENHnTMAiM kQ8V/NAa1OfTH+D1Mzuarmhl6+0NvyFiMC9pC0o8= X-AOL-SCOLL-SCORE: 0:2:410788608:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c94f9067f35689 X-Mailman-Approved-At: Thu, 19 Apr 2012 19:48:42 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: determine if an USB bluetooth adapter is compatible with 9.0-RELEASE X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 19:31:07 -0000 On Thu, Apr 19, 2012 at 11:48:03AM -0700, Maksim Yevmenkin wrote: Hi Maksim, > >> > How can I determine if this adapter is compatible with 9.0-RELEASE ? > >> > >> It already works. :) > > > > ... not work ! > > > > Don't work any line test of 32.4 Bluetooth section of Handbook. For tha= t > > reason, I don't know if that USB bluetooth adapter is compatible with > > ng_ubt(4). > > > > Ideas ? >=20 > what exactly is not working? can you please at least get some Of 32.4 Bluetooth section of Handbook, for example: "The output similar" when I plugin the adapter. For me, only show: ugen3.2: at usbus3 ubt0: on usbus3 > information to us? >=20 Yes, of course ! > - uname -a >=20 % uname -a FreeBSD casa 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > - ngctl li >=20 # ngctl li There are 8 total nodes: Name: btsock_l2c_raw Type: btsock_l2c_raw ID: 00000003 Num hooks: 1 Name: ngctl75954 Type: socket ID: 0000003f Num hooks: 0 Name: btsock_sco Type: btsock_sco ID: 00000005 Num hooks: 0 Name: ubt0hci Type: hci ID: 00000035 Num hooks: 3 Name: btsock_hci_raw Type: btsock_hci_raw ID: 00000002 Num hooks: 1 Name: ubt0l2cap Type: l2cap ID: 00000039 Num hooks: 3 Name: btsock_l2c Type: btsock_l2c ID: 00000004 Num hooks: 1 Name: ubt0 Type: ubt ID: 00000033 Num hooks: 1 > max Thanks, see you.