From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 15 15:05:06 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 7DA2A16A422 for ; Wed, 15 Feb 2006 15:05:06 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 167C143D4C for ; Wed, 15 Feb 2006 15:04:58 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k1FF4wVi075939 for ; Wed, 15 Feb 2006 09:04:58 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43F34314.7030606@centtech.com> Date: Wed, 15 Feb 2006 09:04:52 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1289/Tue Feb 14 08:36:44 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: mouse battery status? 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, 15 Feb 2006 15:05:06 -0000 I saw a recent commit regarding bluetooth mouse battery status: markus 2006-02-10 19:54:17 UTC FreeBSD src repository (ports committer) Modified files: usr.sbin/bluetooth/bthidcontrol sdp.c Log: - Fix attribute id of HIDBatteryPower - Fix two typos in comments Approved by: emax Revision Changes Path 1.2 +5 -5 src/usr.sbin/bluetooth/bthidcontrol/sdp.c That's for -current, but I'm running 6.1-PRERELEASE (fyi). Is there a way to find the current battery power on a bluetooth mouse? Here's a bthidcontrol dump of my Logitech mx900: Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_6 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_7 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_8 Variable, logical range 0..1 Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, logical range -2047..2047 Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, logical range -2047..2047 Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 End collection End collection Input id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 0..255 Output id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 0..255 Collection page=Microsoft usage=0x0001 Thanks! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------