From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 6 19:25:49 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 67DAA16A4CE for ; Thu, 6 Jan 2005 19:25:49 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1827343D60 for ; Thu, 6 Jan 2005 19:25:49 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])j06JPfTt020066; Thu, 6 Jan 2005 13:25:41 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 6 Jan 2005 13:25:32 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 6 Jan 2005 13:24:55 -0600 Message-ID: <41DD9095.6010409@savvis.net> Date: Thu, 06 Jan 2005 11:25:09 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ronald Klop References: <41DD82CE.5080502@savvis.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jan 2005 19:24:55.0379 (UTC) FILETIME=[6717B230:01C4F425] X-ECS-MailScanner: No virus is found 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:25:49 -0000 Ronald Klop wrote: [...] > 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 none of the commands above is strictly required. well, maybe with exception of 'write_scan_enable 3' command. this command supposed to make bluetooth device answer inquiry from the remote devices, i.e. it makes bluetooth device 'visible' to other devices. what is the output of % hccontrol -n ubt0hci read_node_state % hccontrol -n ubt0hci read_scan_enable % hccontrol -n ubt0hci read_class_of_device % hccontrol -n ubt0hci read_local_name commands? > 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? the output above looks fine, so i'd say it should work. - did you enable bluetooth on your phone? - did you make your phone 'visible' to other bluetooth devices (look somewhere under bluetooth security settings) - what is your phone make and model? max