From owner-freebsd-bluetooth@FreeBSD.ORG Thu Aug 9 16:58:27 2007 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 580E116A419 for ; Thu, 9 Aug 2007 16:58:27 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id C504A13C4DE for ; Thu, 9 Aug 2007 16:58:26 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 4B32D690F56; Thu, 9 Aug 2007 17:50:36 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 0A4C3690FBD; Thu, 9 Aug 2007 17:50:36 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from epsilon.local (62.169.117.143.rev.optimus.pt [62.169.117.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id D3065690F56; Thu, 9 Aug 2007 17:50:31 +0100 (WEST) Message-ID: <46BB3998.3010609@fnop.net> Date: Thu, 09 Aug 2007 16:58:16 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.5 (X11/20070801) MIME-Version: 1.0 To: Iain Hibbert References: <46ADF081.8040404@fnop.net> <1185868992.989440.664.nullmailer@galant.ukfsn.org> In-Reply-To: <1185868992.989440.664.nullmailer@galant.ukfsn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-bluetooth@freebsd.org Subject: Re: ubthidctl(1) utility 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, 09 Aug 2007 16:58:27 -0000 Iain Hibbert wrote: > On Mon, 30 Jul 2007, Rui Paulo wrote: > >> Any comments? >> >> This is part of my SoC project. > > will this also work on NetBSD and OpenBSD? It compiles on NetBSD at least > (except for __FBSDID() being undefined - do you aim to import this to > FreeBSD codebase?), and the USB stack is similar enough that it should, I > guess.. I added a #ifdef __FreeBSD__. It should work on all BSDs and I used __FBSDID() because I was expecting to make this application available in the base system. > the manpage should probably say more clearly what is HCI mode? > > I guess the device will detach from the usb bus and reattach as ubt? > > "responsibility" > > also I think "his responsibility" is wrong. who is "he"? Better you should > say 'the system administrator' or 'the user' > > cool! All done, thanks! Regards. -- Rui Paulo