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.