Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2012 22:04:39 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-bluetooth@freebsd.org
Subject:   Re: '/etc/rc.d/bluetooth start ubt0' don't show debug messages
Message-ID:  <op.wctop1vw8527sy@pinky>
In-Reply-To: <8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com>
References:  <8CEE79EE8AB6037-C2C-2489@webmail-d028.sysops.aol.com> <op.wcs4a5r78527sy@pinky> <8CEE95592EAFB7B-8CC-1B553@webmail-m017.sysops.aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Apr 2012 21:32:05 +0200, Xavier  
<xavierfreebsdbluetooth@aim.com> 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
>> <xavierfreebsdbluetooth@aim.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wctop1vw8527sy>