From owner-freebsd-questions@FreeBSD.ORG Fri Nov 9 03:26:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB4816A417 for ; Fri, 9 Nov 2007 03:26:06 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 1905713C4B7 for ; Fri, 9 Nov 2007 03:26:05 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so234830wra for ; Thu, 08 Nov 2007 19:25:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=/0k0zjjIFxqdTLd5sujgWEaEfxaWa/NGBUpP2g5zTqc=; b=SofgWC+2oConq+H7QI6eYNwRP+F0hwnDHRIvATfEiJXQxqkflmdyfP/piWoY5nsQy+E//xfvJK6OUPsnpIGFQlCHUi2w6YgN+Mx43H/Qekuyj9iQhtNdlegqkbBq1/aFUugP1Y2bK7xHGK877ik44r1vW+NRNb4OYS+F7iMqYCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=NDXDB8ppjHP7BlM61GS2aLwvFr5inYHsZhX1Of56pMH+1sO3znatDu6kkMKEml7ulk6+vb9Psfmgd4pGV9Ft/4REpY3BaTP6eLgnbFfEGCvT1WlB05fAExSxfFwOOds2oRjUdoL9rOVtgydYDJZ8IIVWU0ujB68BN0oYDna7TaE= Received: by 10.150.145.20 with SMTP id s20mr321137ybd.1194577174625; Thu, 08 Nov 2007 18:59:34 -0800 (PST) Received: from fortytwo.zapto.org ( [67.70.99.130]) by mx.google.com with ESMTPS id p5sm1623543roc.2007.11.08.18.59.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Nov 2007 18:59:32 -0800 (PST) Message-ID: <4733CD13.60106@gmail.com> Date: Thu, 08 Nov 2007 21:59:31 -0500 From: Jimmie James User-Agent: Thunderbird 2.0.0.4pre (X11/20071018) MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: usb dongle [solved]] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 03:26:06 -0000 Maksim Yevmenkin wrote: > On 11/8/07, Jimmie James wrote: >> Maksim Yevmenkin wrote: >>> On 11/8/07, Jimmie James wrote: >>>> I have a Broadcom BCM92035DGROM dongle, and this is what I'm seeing. >>>> I'm assuming it's not supported, (from the handbook: The Broadcom >>>> BCM2033 chip based Bluetooth devices are supported via the ubtbcmfw(4) >>>> and ng_ubt(4) drivers) >>>> >>>> Is there anyone that's gotten this model to work, or is it an exercise >>>> in futility? >>> first of all, i doubt that BCM92035 is using 2033 chip. i think it is >>> uses different (2035?) chip. >>> >>> it also appears that this particular dongle may need to use special >>> non-standard initialization sequence. >>> >>> can you please check vendor id/product id pair for your dongle (use usbdevs(8)). >>> >>> 1) if it is (0x0a5c, 0x200a) then you could try to comment out "reset" >>> command in /etc/rc.d/bluetooth >>> >>> 2) if it is (x0a5c, 0x2009) then you out of luck - this device needs >>> special non-standard initialization sequence. ng_ubt(4) currently does >>> not support that. if i can get this dongle into my hands i can fix >>> ng_ubt(4) >>> >>> thanks, >>> max >>> >> I was searching google and came across these two threads, >> http://lists.freebsd.org/pipermail/freebsd-bluetooth/2006-September/000788.html >> http://www.nabble.com/j2me-bluetooth-app-using-freebsd-bluetooth-stack-t2356546.html >> >> So it looked like it was possible... >> >> usbdevs -dv shows: >> port 1 addr 2: full speed, power 100 mA, config 1, >> BCM92035DGROM(0x0850), Broadcom(0x22b8), rev 1.09 >> ubt0 > > huh?? very strange. not sure why your dongle says its broadcom, where > is vendor id 0x22b8 is for motorola. the product is 0850 seems to be > for motorola pc850 dongle. > > 1) please check /var/log/messages to see if there are any errors from > ng_ubt(4) driver > > 2) please install hcidump from ports (comms/hcidump) and then as root > > make sure device is not connected > > # kldload ng_btsocket -- this may fail if ng_btsocket module was > already loaded, ignore it. > # hcidump -w init.dump -- this will block > > now attach the device and wait for it to fail > > terminate hcidump with ^c and send me the init.dump file > > thanks, > max > Well, after fighting with ng_btsocket, trying to get it to load, and after loading every bluetooth module I could find, it has decided to start working. Messages still things it's a Broadcom, but I can send and receive files. I'm leaning towards a module that wasn't loaded, or an old version (rebuild them all) This helped in finding the applications to transfert he files, and setting up the hosts file. http://lopisaur.blogspot.com/2006/03/bluetooth-freebsd-siemens-s5x-blues.html If there's anything more you need, let me know. Thank you Maksim!! usbdevs -v port 2 addr 2: full speed, power 100 mA, config 1, BCM92035DGROM(0x0850), Broadcom(0x22b8), rev 1.09 10 4 0xc60ed000 2000 ng_bluetooth.ko 11 1 0xca458000 19000 ng_btsocket.ko 12 1 0xc9e1f000 7000 ng_ubt.ko 13 1 0xc9ebb000 d000 ng_hci.ko 14 1 0xca1e5000 f000 ng_l2cap.ko Nov 8 20:23:19 fortytwo kernel: ubt0: Broadcom BCM92035DGROM, rev 1.10/1.09, addr 2 Nov 8 20:23:19 fortytwo kernel: ubt0: Broadcom BCM92035DGROM, rev 1.10/1.09, addr 2 Nov 8 20:23:19 fortytwo kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Nov 8 20:23:19 fortytwo kernel: ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Nov 8 20:21:20 fortytwo hcsecd[93960]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr xx:xx:xx:xx:xx:xx Nov 8 20:21:20 fortytwo hcsecd[93960]: Found matching entry, remote bdaddr xx:xx:xx:xx:xx:xx name 'JJ', link key exists Nov 8 20:21:20 fortytwo hcsecd[93960]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr xx:xx:xx:xx:xx:xx hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b90 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b90 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b90 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b91 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b90 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b90 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b91 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: jimmiejaz Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7b91 Inquiry complete. Status: No error [00] -- If you can't beat your computer at chess, try kickboxing. --- --- --- Solving Today's Problems Tomorrow -- If you can't beat your computer at chess, try kickboxing. --- --- --- Solving Today's Problems Tomorrow