From owner-freebsd-bluetooth@FreeBSD.ORG Sun Nov 4 18:15:49 2007 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 941A916A41B for ; Sun, 4 Nov 2007 18:15:49 +0000 (UTC) (envelope-from emillbrandt@coldhaus.com) Received: from workbench.coldhaus.com (workbench.coldhaus.com [74.0.48.218]) by mx1.freebsd.org (Postfix) with ESMTP id 7944F13C4B3 for ; Sun, 4 Nov 2007 18:15:46 +0000 (UTC) (envelope-from emillbrandt@coldhaus.com) Received: from localhost (localhost [127.0.0.1]) by workbench.coldhaus.com (8.14.1/8.14.1) with ESMTP id lA4HBJ8r027071; Sun, 4 Nov 2007 12:11:19 -0500 (EST) X-Virus-Scanned: amavisd-new at coldhaus.com Received: from workbench.coldhaus.com ([127.0.0.1]) by localhost (workbench.coldhaus.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qcdiGUZTdI3k; Sun, 4 Nov 2007 12:10:35 -0500 (EST) Received: from slate.coldhaus.com (maenad.coldhaus.com [74.0.48.222]) by workbench.coldhaus.com (8.14.1/8.14.1) with ESMTP id lA4H9sED015730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Nov 2007 12:09:56 -0500 (EST) Message-ID: <472DFCE2.2010707@coldhaus.com> Date: Sun, 04 Nov 2007 12:09:54 -0500 From: Eric Millbrandt User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Millbrandt Subject: bluetooth mouse/keyboard blues 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, 04 Nov 2007 18:15:49 -0000 I am having trouble setting up a bluetooth mouse and keyboard on FreeBSD 7.0-BETA1. I followed the instructions from the handbook and what I found on google here... http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html . The keyboard does not work at all, but I am able to pull a configuration from bthidcontrol. The mouse buttons work, but I can't move the cursor. These issues occur in both on the console and in X. I included log messages and config files below. Any help would be greatly appreciated. Thanks Eric Millbrandt 11:58 emillbrandt@slate:/home/emillbrandt# uname -a FreeBSD slate.coldhaus.com 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Mon Oct 29 23:40:03 EDT 2007 emillbrandt@slate.coldhaus.com:/usr/obj/usr/src/sys/SLATE i386 from dmesg Nov 4 10:57:38 slate kernel: ubt0: on uhub3 Nov 4 10:57:38 slate kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Nov 4 10:57:38 slate kernel: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Nov 4 10:57:38 slate kernel: WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() Nov 4 10:57:38 slate kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() Nov 4 11:51:27 slate bthidd[1453]: Opening outbound session for 00:1b:63:fc:6c:2c (new_device=1, reconnect_initiate=1) Nov 4 11:51:57 slate bthidd[1453]: Could not connect to 00:1b:63:fc:6c:2c. Host is down (64) Nov 4 11:52:27 slate kernel: kbd3 at vkbd0 10:59 emillbrandt@slate:/home/emillbrandt# bthidcontrol -a keyboard query device { bdaddr 00:1b:63:fc:6c:2c; control_psm 0x11; interrupt_psm 0x13; reconnect_initiate true; battery_power false; normally_connectable true; hid_descriptor { 0x05 0x01 0x09 0x06 0xa1 0x01 0x85 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x75 0x08 0x95 0x01 0x81 0x01 0x75 0x01 0x95 0x05 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x75 0x03 0x95 0x01 0x91 0x01 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x05 0x07 0x19 0x00 0x2a 0xff 0x00 0x81 0x00 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x47 0x05 0x01 0x09 0x06 0xa1 0x02 0x05 0x06 0x09 0x20 0x15 0x00 0x26 0xff 0x00 0x75 0x08 0x95 0x01 0x81 0x02 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x11 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x03 0x81 0x01 0x75 0x01 0x95 0x01 0x05 0x0c 0x09 0xb8 0x81 0x02 0x06 0xff 0x00 0x09 0x03 0x81 0x02 0x75 0x01 0x95 0x03 0x81 0x01 0x05 0x0c 0x85 0x12 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0x09 0xcd 0x81 0x02 0x09 0xb3 0x81 0x02 0x09 0xb4 0x81 0x02 0x09 0xb5 0x81 0x02 0x09 0xb6 0x81 0x02 0x81 0x01 0x81 0x01 0x81 0x01 0x85 0x13 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0x06 0x01 0xff 0x09 0x0a 0x81 0x02 0x75 0x01 0x95 0x07 0x81 0x01 0xc0 }; } 10:59 emillbrandt@slate:/home/emillbrandt# bthidcontrol -a mouse query device { bdaddr 00:12:5a:57:a6:9a; control_psm 0x11; interrupt_psm 0x13; reconnect_initiate true; battery_power true; normally_connectable false; hid_descriptor { 0x05 0x0c 0x09 0x01 0xa1 0x01 0x05 0x01 0x09 0x02 0x85 0x14 0x06 0x00 0xff 0x0a 0x12 0xfe 0x95 0x01 0x75 0x02 0x15 0x00 0x25 0x03 0x81 0x02 0x0a 0x11 0xfe 0x75 0x01 0x25 0x01 0x81 0x02 0x95 0x05 0x81 0x01 0xc0 0x05 0x01 0x09 0x02 0xa1 0x01 0x05 0x01 0x09 0x02 0x85 0x11 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x04 0x95 0x04 0x75 0x01 0x25 0x01 0x81 0x02 0x75 0x04 0x95 0x01 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x00 0x00 0x00 0x00 0x00 0x00 0x25 0x7f 0x81 0x06 0x95 0x01 0x81 0x01 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x19 0x06 0x00 0xff 0x1a 0x18 0xff 0x2a 0x22 0xff 0x95 0x0b 0x75 0x08 0x15 0x00 0x26 0xff 0x00 0xb1 0x02 0x0a 0x23 0xff 0x95 0x01 0x75 0x01 0x25 0x01 0xb1 0x02 0x75 0x07 0xb1 0x01 0xc0 }; } I added both of these to bthidd.conf from hcsecd.conf device { bdaddr 00:1b:63:fc:6c:2c; name "Apple Wireless Keyboard"; key nokey; pin "5625264"; } device { bdaddr 00:12:5a:57:a6:9a; name "Microsoft Bluetooth Notebook Mouse 5000"; key nokey; pin "0000"; } DING! emillbrandt@slate:/home/emillbrandt# l2ping -a keyboard 0 bytes from keyboard seq_no=0 time=1905.898 ms result=0 0 bytes from keyboard seq_no=1 time=38.023 ms result=0 0 bytes from keyboard seq_no=2 time=13.141 ms result=0 11:45 emillbrandt@slate:/home/emillbrandt# l2ping -a mouse 0 bytes from mouse seq_no=0 time=1428.790 ms result=0 0 bytes from mouse seq_no=1 time=47.168 ms result=0 0 bytes from mouse seq_no=2 time=53.263 ms result=0 rc.conf hcsecd_enable="YES" bthidd_enable="YES"