mouse battery status?
Eric Anderson
anderson at centtech.com
Wed Feb 15 07:05:06 PST 2006
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.
------------------------------------------------------------------------
More information about the freebsd-bluetooth
mailing list