Date: Wed, 15 Feb 2006 09:04:52 -0600 From: Eric Anderson <anderson@centtech.com> To: freebsd-bluetooth@freebsd.org Subject: mouse battery status? Message-ID: <43F34314.7030606@centtech.com>
index | next in thread | raw e-mail
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.
------------------------------------------------------------------------
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43F34314.7030606>
