From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 16 12:29:26 2008 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 2C29D1065686 for ; Tue, 16 Dec 2008 12:29:26 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9F97C8FC1A for ; Tue, 16 Dec 2008 12:29:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id mBGCTNbQ018479; Tue, 16 Dec 2008 13:29:23 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id mBGCTNRt018478; Tue, 16 Dec 2008 13:29:23 +0100 (CET) (envelope-from olli) Date: Tue, 16 Dec 2008 13:29:23 +0100 (CET) Message-Id: <200812161229.mBGCTNRt018478@lurza.secnetix.de> From: Oliver Fromme To: freebsd-bluetooth@FreeBSD.ORG In-Reply-To: <200812091354.mB9DstLs019270@lurza.secnetix.de> X-Newsgroups: list.freebsd-bluetooth User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 16 Dec 2008 13:29:24 +0100 (CET) Cc: Subject: Re: bluetooth USB dongles 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: Tue, 16 Dec 2008 12:29:26 -0000 Oliver Fromme wrote: > After some searching, I finally ordered a "LogiLink Ultra > Mini Bluetooth 2.0 USB Adapter BT0007". According to the > manufacturer's web page it is Bluetooth V2.0 with 20m > range (so I assume it's class 2, even though they don't > mention this), and they even say that the chipset is "CSR" > (which I assume means cambridge silicon radio). Okay, basically it seems to work, but I have a few questions ... So I loaded the KLD modules manually (because I didn't want to reboot) and inserted the dongle. This is what I get in dmesg: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() ubt0: on uhub0 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 hardware_error: - hardware error 0x37 I'm a bit worried about the warning line and the hardware error line. Is this normal and to be expected? Anyway, I followed the instructions in the Handbook and ran "/etc/rc.d/bluetooth start ubt0". I expected to get a few lines of output, according to the Handbook chapter 32.4. But I got nothing at all. Am I missing something, or should the Handbook get a fix? Still it seems to work: When I enable BT on my mobile phone, FreeBSD finds it: # hccontrol inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:60:57:2e:27:de Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 50:02:04 Clock offset: 0x18a1 Inquiry complete. Status: No error [00] And vice versa: The phone lists my FreeBSD box when I initiate a scan. The next thing I'm going to try is to connect to the NXT brick. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The scanf() function is a large and complex beast that often does something almost but not quite entirely unlike what you desired." -- Chris Torek