From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 10 21:18:31 2014 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E28096C for ; Mon, 10 Nov 2014 21:18:31 +0000 (UTC) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:c:538::195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C2A7CF6 for ; Mon, 10 Nov 2014 21:18:30 +0000 (UTC) Received: from mfilter31-d.gandi.net (mfilter31-d.gandi.net [217.70.178.162]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id A286EA80B0; Mon, 10 Nov 2014 22:18:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter31-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter31-d.gandi.net (mfilter31-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id huKz6VF7YztQ; Mon, 10 Nov 2014 22:18:27 +0100 (CET) X-Originating-IP: 31.69.6.81 Received: from galant.ogmig.net (unknown [31.69.6.81]) (Authenticated sender: plunky@ogmig.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id E8F00A80B1; Mon, 10 Nov 2014 22:18:21 +0100 (CET) Received: by galant.ogmig.net (Postfix, from userid 1000) id 908572600AD; Mon, 10 Nov 2014 21:20:51 +0000 (GMT) Date: Mon, 10 Nov 2014 21:20:51 +0000 (GMT) From: Iain Hibbert To: george ember Subject: Re: Logitech K810 Bluetooth keyboard In-Reply-To: Message-ID: References: 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 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 21:18:31 -0000 On Fri, 7 Nov 2014, george ember wrote: > After reboot my hcibump -x > > ember@FreeBSD ~ $ sudo hcidump -x > Password: > HCIDump - HCI packet analyzer ver 1.5 > device: any snap_len: 65535 filter: 0xffffffffffffffff > > HCI Event: Connect Request(0x04) plen 10 > C5 F2 4D 20 1F 00 40 05 00 01 > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > C5 F2 4D 20 1F 00 00 > > HCI Event: Command Status(0x0f) plen 4 > 00 01 09 04 > > HCI Event: Role Change(0x12) plen 8 > 00 C5 F2 4D 20 1F 00 00 > > HCI Event: Connect Complete(0x03) plen 11 > 00 0B 00 C5 F2 4D 20 1F 00 01 00 > < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4 > 0B 00 05 00 > > HCI Event: Command Complete(0x0e) plen 6 > 01 0D 08 00 0B 00 > > HCI Event: Link Key Request(0x17) plen 6 > C5 F2 4D 20 1F 00 > < HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6 > C5 F2 4D 20 1F 00 > > HCI Event: Command Complete(0x0e) plen 10 > 01 0C 04 00 C5 F2 4D 20 1F 00 > > HCI Event: Disconn Complete(0x05) plen 4 > 00 0B 00 13 This seems consistent with the fact that you put "nokey" in the config file.. the FreeBSD host states that it does not have a key but presumably the keyboard is expecting one (if it has one stored for this host), so the connection is refused, with the reason given "Remote User Terminated Connection" (0x13 at the end) can you show a hcidump of the pairing process, when a PIN is given? also, after the keyboard is paired and the key is known (if you can get that far) what about the dump that time? also, with hcidump .. do you have -V switch? I don't remember if the version available in ports has that (it gives more detail) but if not, feel free to post the actual dump file, as later hcidump (I use 2.5) shows more information, I think regards, iain