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.