From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 12 00:39:53 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61CF516A41F for ; Thu, 12 Jan 2006 00:39:53 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0770E43D45 for ; Thu, 12 Jan 2006 00:39:52 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k0C0dmP17363; Wed, 11 Jan 2006 19:39:48 -0500 Message-ID: <43C5A551.8000206@savvis.net> Date: Wed, 11 Jan 2006 16:39:45 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: scycoon@internode.on.net References: <43c59d92.36a.33a6.26043@internode.on.net> In-Reply-To: <43c59d92.36a.33a6.26043@internode.on.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Device Failing to Initialize 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, 12 Jan 2006 00:39:53 -0000 Hello, > I am have a problem with a linksys usbbt100 bluetooth > dongle. lets see... > I am running > > 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Jan 7 08:48:40 CST > 2006 ok >>From dmesg I get this > > ubt0: vendor 0x0a12 product 0x0001, rev 1.10/5.25, addr 2 > ubt0: vendor 0x0a12 product 0x0001, rev 1.10/5.25, addr 2 > 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 looks fine to me > I have setup the /etc/rc.bluetooth file as described in the > handbook, and am using the ng_ubt module that is said to be > the correct one. > > When i run > > /etc/rc.bluetooth start ubt0 > > I get > > bash-2.05b# /etc/rc.bluetooth start ubt0 > BD_ADDR: 00:0c:41:e2:01:84 > Features: 0xff 0xff 0xf 00 00 00 00 00 > <3-Slot> <5-Slot> > > > > > > Max. ACL packet size: 192 bytes > Number of ACL packets: 8 > Max. SCO packet size: 64 bytes > Number of SCO packets: 8 everything above looks fine > Could not execute command "initialize". Device not > configured this is *very* strange. 1) did you check your /var/log/messages to see if device has detached? 2) can you please run as root the following commands # ngctl types # ngctl li # ngctl status ubt0: # ngctl status ubt0hci: after you have executed "rc.bluetooth start ubt0" and got the error. > if i run > > hccontrol -n ubt0hci initialize > > i get > > bash-2.05b# hccontrol -n ubt0hci initialize > Could not execute command "initialize". Device not > configured please run the commands above and send me the output. > I am running hcidump at the same time, which doesnt seem to > see the initialize command; that is fine. "initialize" is an internal (to bluetooth stack) command. it only flips a bit inside hci node and tells it that initialization sequence was performed. you wont see "initialize" command in the hci dumps. [...] > The device looks like it is ok, but something freaky is not > allowing it to initialize properly and subsequent inquiry > commands just time out. I should also point out that I have > had the dongle working in Windows Land. i suspect that device is gone (detached). > Would this failure to initialize be preventing me from > successfuly inquiring another device? yes, because if i'm right and device is indeed gone then you cant do anything. thanks, max