From owner-freebsd-bluetooth@FreeBSD.ORG Sun Sep 18 05:27:51 2011 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 187E6106566C for ; Sun, 18 Sep 2011 05:27:51 +0000 (UTC) (envelope-from rmgls@free.fr) Received: from smtp5-g21.free.fr (unknown [IPv6:2a01:e0c:1:1599::14]) by mx1.freebsd.org (Postfix) with ESMTP id 563748FC17 for ; Sun, 18 Sep 2011 05:27:48 +0000 (UTC) Received: from free.fr (unknown [82.235.65.2]) by smtp5-g21.free.fr (Postfix) with ESMTP id 77847D4801C for ; Sun, 18 Sep 2011 07:27:44 +0200 (CEST) To: freebsd-bluetooth@freebsd.org From: Raoul Date: Sun, 18 Sep 2011 07:27:44 +0200 Sender: rmgls@free.fr Message-Id: <20110918052744.77847D4801C@smtp5-g21.free.fr> Subject: bluetooth kbd on intel mac mini hardware 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: Sun, 18 Sep 2011 05:27:51 -0000 Hi all, i installed current on intel mac mini (2009 version). six months ago, bluetooth was not detected, and the bluetooth keyboard was driven by the bios and was working fine. now, (i do not used it for some times), bluetooth is detected, but the keyboard detach. here is the excerpt of the log file: ugen2.3: at usbus2 ugen0.3: at usbus0 uhid1: on usbus0 ugen2.4: at usbus2 ukbd0: on usbus2 kbd1 at ukbd0 ugen2.5: at usbus2 ums0: on usbus2 ums0: 3 buttons and [XY] coordinates ID=2 ugen0.4: at usbus0 uaudio0: on usbus0 uaudio0: No playback! uaudio0: No recording! uaudio0: MIDI sequencer pcm3: on uaudio0 Trying to mount root from ufs:/dev/da0s1a [rw]... WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD. ubt0: on usbus2 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() ugen2.4: at usbus2 (disconnected) ukbd0: at uhub4, port 2, addr 4 (disconnected) ugen2.5: at usbus2 (disconnected) ums0: at uhub4, port 3, addr 5 (disconnected) num_compl_pkts: ubt0hci - invalid connection handle=11 num_compl_pkts: ubt0hci - invalid connection handle=12 num_compl_pkts: ubt0hci - invalid connection handle=11 num_compl_pkts: ubt0hci - invalid connection handle=12 ng_l2cap_lp_receive: ubt0l2cap - unexpected ACL data packet. Connection does not exist, con_handle=12 ng_l2cap_lp_receive: ubt0l2cap - unexpected ACL data packet. Connection does not exist, con_handle=11 ng_l2cap_lp_receive: ubt0l2cap - unexpected ACL data packet. Connection does not exist, con_handle=12 and of course, no keyboard, and no login... any hint? Thanks in advance. rmgls rmgls@free.fr Note: please Cc to me, i am not on the list. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Sep 21 10:01:23 2011 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 C7570106566C for ; Wed, 21 Sep 2011 10:01:23 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 89D808FC08 for ; Wed, 21 Sep 2011 10:01:23 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id 93159DEC7B; Wed, 21 Sep 2011 10:34:47 +0100 (BST) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id l6-gUZZa+JSl; Wed, 21 Sep 2011 10:43:56 +0100 (BST) Received: from galant.ukfsn.org (unknown [31.64.129.163]) by mail.ukfsn.org (Postfix) with ESMTP id BF19FDEC36; Wed, 21 Sep 2011 10:34:46 +0100 (BST) Received: by galant.ukfsn.org (Postfix, from userid 1000) id 3B25C26009C; Wed, 21 Sep 2011 10:34:45 +0100 (BST) Date: Wed, 21 Sep 2011 10:34:45 +0100 (BST) From: Iain Hibbert To: Raoul In-Reply-To: <20110918052744.77847D4801C@smtp5-g21.free.fr> Message-ID: References: <20110918052744.77847D4801C@smtp5-g21.free.fr> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth kbd on intel mac mini hardware 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: Wed, 21 Sep 2011 10:01:23 -0000 On Sun, 18 Sep 2011, Raoul wrote: > i installed current on intel mac mini > (2009 version). > > six months ago, bluetooth was not detected, > and the bluetooth keyboard was driven by the bios and was working fine. > now, (i do not used it for some times), > bluetooth is detected, but the keyboard detach. first, I'm not clear what version of the OS you are running.. you installed a current as of 2009 and have not upgraded since? I don't know about intel mac mini hardware, but it sounds as if the normal state is that the Bluetooth controller operates in what is known as HID mode, in that it is pre-paired with the keyboard (or, just finds one to talk to with no pairing) and presents to the host OS as a USB device, so they don't need to do anything about Bluetooth. But, what has happened is that the device is now in Bluetooth mode, where it presents as a full Bluetooth controller and expects the host OS to handle the connection stuff. The logfile seems to show that the keyboard has connected and is sending data which the OS does not understand, as you do not have bthidd running (or indeed, perhaps not even enabled the ubt device or paired) there is a program in ports to switch between HID and Bluetooth mode, perhaps it would be worth trying that if you did not want to configure the Bluetooth controller (which I don't really know how to do, there are examples in the list archives though) regards, iain