From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 6 19:07:52 2005 Return-Path: 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 A2C3216A4CE for ; Thu, 6 Jan 2005 19:07:52 +0000 (GMT) Received: from smtp15.wxs.nl (smtp15.wxs.nl [195.121.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 586CB43D4C for ; Thu, 6 Jan 2005 19:07:52 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210])2004))freebsd-bluetooth@freebsd.org; Thu, 06 Jan 2005 20:07:51 +0100 (CET) Received: (qmail 11569 invoked from network); Thu, 06 Jan 2005 19:07:50 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Thu, 06 Jan 2005 19:07:50 +0000 Received: (qmail 3038 invoked from network); Thu, 06 Jan 2005 19:07:49 +0000 Received: from localhost.thuis.klop.ws (HELO smtp.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Thu, 06 Jan 2005 19:07:49 +0000 Date: Thu, 06 Jan 2005 20:07:47 +0100 From: Ronald Klop In-reply-to: To: Maksim Yevmenkin Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera M2/7.54u1 (FreeBSD, build 892) References: <41DD82CE.5080502@savvis.net> cc: freebsd-bluetooth@freebsd.org Subject: Re: ng_ubt with Broadcom BCM92035DGL X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 19:07:52 -0000 On Thu, 06 Jan 2005 19:51:24 +0100, Ronald Klop wrote: > On Thu, 06 Jan 2005 10:26:22 -0800, Maksim Yevmenkin > wrote: > >> Ronald, >> >> for starters can you tell which command your dongle disallowed. >> rc.bluetooth is a shell script, so >> >> 1) unplug the dongle >> >> 2) plug the dongle >> >> 3) # sh -x /etc/rc.bluetooth start ubt0 >> >> 4) send me the output >> >> then try to comment out the disallowed command and repeat the steps >> above. I commented out this list of hci-commands one by one and they all give the same error. (Status: Command disallowed [0xc]) reset write_scan_enable 3 write_class_of_device change_local_name After commenting all this rc.bluetooth ends without errors. The output is this. + /usr/sbin/ngctl mkpeer ubt0: hci hook drv + /usr/sbin/ngctl name ubt0:hook ubt0hci + /usr/sbin/ngctl msg ubt0hci: set_debug 3 + /usr/sbin/ngctl mkpeer ubt0hci: l2cap acl hci + /usr/sbin/ngctl name ubt0hci:acl ubt0l2cap + /usr/sbin/ngctl msg ubt0l2cap: set_debug 3 + /usr/sbin/ngctl connect ubt0hci: btsock_hci_raw: raw ubt0raw + /usr/sbin/ngctl connect ubt0l2cap: btsock_l2c_raw: ctl ubt0ctl + /usr/sbin/ngctl connect ubt0l2cap: btsock_l2c: l2c ubt0l2c + /usr/sbin/hccontrol -n ubt0hci read_bd_addr BD_ADDR: 00:02:72:c0:23:12 + /usr/sbin/hccontrol -n ubt0hci read_local_supported_features Features: 0xff 0xff 0xd 0x38 0x8 0x8 00 00 <3-Slot> <5-Slot> + /usr/sbin/hccontrol -n ubt0hci read_buffer_size Max. ACL packet size: 377 bytes Number of ACL packets: 10 Max. SCO packet size: 16 bytes Number of SCO packets: 0 + /usr/sbin/hccontrol -n ubt0hci initialize I then tried 'hccontrol -n ubt0hci inquiry', but it returns nothing. (I'm trying to connect to my mobile phone.) Any thoughts? Ronald. -- Ronald Klop, Amsterdam, The Netherlands