|
List Info
Thread: Microsoft Wireless Mouse 8000 with bthhid
|
|
| Microsoft Wireless Mouse 8000 with
bthhid |

|
2007-06-28 16:49:06 |
Hi
It was easily detect and attached to bthidd.
(review on http
://www.ixbt.com/peripheral/ms-wlm-8000.shtml - sorry on
Russian)
HID descriptor is big (see below).
But it works a bit strange:
1,2,3 buttons works as expected.
Mouse wheel does not produce any events according to xev.
Horizontal scroll does not works also.
Additional buttons produce Button8, Button9 events.
Any hints how to make wheel work ?
device {
bdaddr 00:12:5a:62:31:6d;
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 0xa1 0x02 0x85 0x13 0x05 0x0c
0x0a 0x38 0x02 0x95 0x01 0x75 0x08 0x15
0x81 0x25 0x7f 0x81 0x06 0x85 0x14 0x06
0x00 0xff 0x0a 0x01 0xfe 0x75 0x02 0x15
0x00 0x25 0x03 0x81 0x02 0x0a 0x00 0xfe
0x95 0x01 0x75 0x01 0x25 0x01 0x81 0x02
0x95 0x05 0x81 0x01 0x85 0x17 0x0a 0x06
0xff 0x0a 0x0f 0xff 0x25 0x01 0x35 0x01
0x45 0x10 0x95 0x02 0x75 0x02 0xb1 0x02
0x0a 0x04 0xff 0x35 0x00 0x45 0x00 0x95
0x01 0x75 0x01 0xb1 0x02 0x75 0x03 0xb1
0x01 0xc0 0xc0 0x05 0x01 0x09 0x02 0xa1
0x01 0x05 0x01 0x09 0x02 0xa1 0x02 0x85
0x11 0x09 0x01 0xa1 0x00 0x05 0x09 0x19
0x01 0x29 0x05 0x95 0x05 0x75 0x01 0x25
0x01 0x81 0x02 0x75 0x03 0x95 0x01 0x81
0x01 0x05 0x01 0x09 0x30 0x09 0x31 0x95
0x02 0x75 0x08 0x15 0x81 0x25 0x7f 0x81
0x06 0xa1 0x02 0x85 0x12 0x09 0x48 0x95
0x01 0x75 0x02 0x15 0x00 0x25 0x01 0x35
0x01 0x45 0x10 0xb1 0x02 0x85 0x11 0x09
0x38 0x35 0x00 0x45 0x00 0x15 0x81 0x25
0x7f 0x75 0x08 0x81 0x06 0xc0 0xa1 0x02
0x85 0x12 0x09 0x48 0x75 0x02 0x15 0x00
0x25 0x01 0x35 0x01 0x45 0x10 0xb1 0x02
0x35 0x00 0x45 0x00 0x75 0x04 0xb1 0x01
0x85 0x11 0x05 0x0c 0x15 0x81 0x25 0x7f
0x75 0x08 0x0a 0x38 0x02 0x81 0x06 0xc0
0xc0 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
};
}
--
Vladimir B. Grebenschikov
SWsoft Inc. vova swsoft.com
_______________________________________________
freebsd-bluetooth freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
|
|
| Re: Microsoft Wireless Mouse 8000 with
bthhid |

|
2007-06-29 13:17:54 |
On 6/28/07, Vladimir Grebenschikov <vova sw.ru>
wrote:
> Hi
>
> It was easily detect and attached to bthidd.
> (review on http
://www.ixbt.com/peripheral/ms-wlm-8000.shtml - sorry on
> Russian)
>
> HID descriptor is big (see below).
>
> But it works a bit strange:
>
> 1,2,3 buttons works as expected.
> Mouse wheel does not produce any events according to
xev.
> Horizontal scroll does not works also.
> Additional buttons produce Button8, Button9 events.
>
> Any hints how to make wheel work ?
i dumped the descriptor and there are some things that looks
strange, i.e.
Collection page=Generic_Desktop usage=Mouse
Collection page=Generic_Desktop usage=Mouse
Collection page=Generic_Desktop usage=Pointer
Input id=17 size=1 count=1 page=Button usage=Button_1
Variable,
logical range 0..1
Input id=17 size=1 count=1 page=Button usage=Button_2
Variable,
logical range 0..1
Input id=17 size=1 count=1 page=Button usage=Button_3
Variable,
logical range 0..1
Input id=17 size=1 count=1 page=Button usage=Button_4
Variable,
logical range 0..1
Input id=17 size=1 count=1 page=Button usage=Button_5
Variable,
logical range 0..1
Input id=17 size=8 count=1 page=Generic_Desktop usage=X
Variable
Relative, logical range -127..127
Input id=17 size=8 count=1 page=Generic_Desktop usage=Y
Variable
Relative, logical range -127..127
Collection page=0x0000 usage=0x0000
Feature id=18 size=2 count=1 page=Generic_Desktop
usage=Resolution_Multiplier Variable, logical range 0..1,
physical
range 0..16
Input id=17 size=8 count=1 page=Generic_Desktop
usage=Wheel Variable
Relative, logical range -127..127
End collection
Collection page=0x0000 usage=0x0000
Feature id=18 size=2 count=1 page=Generic_Desktop
usage=Resolution_Multiplier Variable, logical range 0..1,
physical
range 0..16
Input id=17 size=8 count=1 page=Consumer usage=AC_Pan
Variable
Relative, logical range -127..127
End collection
End collection
End collection
End collection
as you can see buttons, x and y are in the first collection
Generic_Desktop/Pointer, however,
wheel and ac_pan appear in another collection with usage and
page set
to 0x0000.
it looks like there is another parsing bug in libusbhid(3).
once it
fixed wheel should just work.
also someone needs to teach bthidd(8) to handle ac_pan
usage.
thanks,
max
_______________________________________________
freebsd-bluetooth freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
|
|
| Apple mouse/keyboard power message |

|
2007-06-30 02:37:07 |
Hi
Does anybody use an Apple Bluetooth mouse/keyboard?
Although I am using
NetBSD and HID works kind of differently, I see a
strangeness in the
reporting of battery power messages that I don't
understand.. for
instance, my Mighty Mouse descriptor parses out as the
following:
Collection page=Generic_Desktop usage=Mouse
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=4 count=1 page=0x0000 usage=0x0000 Const
Variable, logical range 0..1
Collection page=Generic_Desktop usage=Pointer
Input id=2 size=8 count=1 page=Generic_Desktop usage=X
Variable Relative, logical range -127..127
Input id=2 size=8 count=1 page=Generic_Desktop usage=Y
Variable Relative, logical range -127..127
Input id=2 size=8 count=1 page=Consumer usage=AC_Pan
Variable Relative, logical range -127..127
Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel
Variable Relative, logical range -127..127
End collection
Input id=2 size=8 count=1 page=Vendor_Defined usage=0x00c0
Variable, logical range -127..127
Feature id=71 size=8 count=1 page=Device_Controls
usage=Battery_Strength Variable NoPref Volatile, logical
range 0..100
End collection
which seems ok, but I never seem to get feature reports with
id#71.
Instead I get a report id#48 containing a single byte (value
0x01) when
the battery is about to die.. the Apple keyboard I have does
the same,
though it doesn't define any battery strength feature report
in the
descriptor, and I think the original Apple mouse I had was
the same.
(I'm not sure what the 'Vendor Defined' byte in the id#2
input report
consists of, but it doesn't seem to be battery related.)
I've looked at the FreeBSD bthidd(8) but can't see any
particular handling
for this kind of behaviour, if anybody uses Apple hardware
on FreeBSD can
they say what, if anything, happens?
thanks,
iain
_______________________________________________
freebsd-bluetooth freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
|
|
| Re: Apple mouse/keyboard power message |
  United States |
2007-06-30 14:56:01 |
On Sat, 2007-06-30 at 08:37 +0100, Iain Hibbert wrote:
> Hi
> Does anybody use an Apple Bluetooth mouse/keyboard?
Although I am using
> NetBSD and HID works kind of differently, I see a
strangeness in the
> reporting of battery power messages that I don't
understand.. for
> instance, my Mighty Mouse descriptor parses out as the
following:
>
> Collection page=Generic_Desktop usage=Mouse
> 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=4 count=1 page=0x0000 usage=0x0000
Const Variable, logical range 0..1
> Collection page=Generic_Desktop usage=Pointer
> Input id=2 size=8 count=1 page=Generic_Desktop
usage=X Variable Relative, logical range -127..127
> Input id=2 size=8 count=1 page=Generic_Desktop
usage=Y Variable Relative, logical range -127..127
> Input id=2 size=8 count=1 page=Consumer usage=AC_Pan
Variable Relative, logical range -127..127
> Input id=2 size=8 count=1 page=Generic_Desktop
usage=Wheel Variable Relative, logical range -127..127
> End collection
> Input id=2 size=8 count=1 page=Vendor_Defined
usage=0x00c0 Variable, logical range -127..127
> Feature id=71 size=8 count=1 page=Device_Controls
usage=Battery_Strength Variable NoPref Volatile, logical
range 0..100
> End collection
>
> which seems ok, but I never seem to get feature reports
with id#71.
> Instead I get a report id#48 containing a single byte
(value 0x01) when
> the battery is about to die.. the Apple keyboard I have
does the same,
> though it doesn't define any battery strength feature
report in the
> descriptor, and I think the original Apple mouse I had
was the same.
>
> (I'm not sure what the 'Vendor Defined' byte in the
id#2 input report
> consists of, but it doesn't seem to be battery
related.)
>
> I've looked at the FreeBSD bthidd(8) but can't see any
particular handling
> for this kind of behaviour, if anybody uses Apple
hardware on FreeBSD can
> they say what, if anything, happens?
>
> thanks,
> iain
> _______________________________________________
> freebsd-bluetooth freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
> To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
I am using Apple Bluetooth keyboard with FreeBSD (or I have
been few
weeks ago -- I am running around with my laptop and don't
know yet what
did USB cleanup do to it). Unfortunately (or fortunately ;),
it just
works.
If you'd like me to produce some output or run some checks,
I will be
happy to do so.
--
Alexandre "Sunny" Kovalenko
_______________________________________________
freebsd-bluetooth freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
|
|
| Re: Apple mouse/keyboard power message |

|
2007-07-01 03:34:53 |
On Sat, 30 Jun 2007, Alexandre "Sunny" Kovalenko
wrote:
> I am using Apple Bluetooth keyboard with FreeBSD (or I
have been few
> weeks ago -- I am running around with my laptop and
don't know yet what
> did USB cleanup do to it). Unfortunately (or
fortunately ;), it just
> works.
>
> If you'd like me to produce some output or run some
checks, I will be
> happy to do so.
I'd like to know what happens before the battery dies, does
your system
produce any messages regarding battery status (or any unknow
message) at
any time?
(I see that bthidd(8) has some support for Microsoft battery
status
messages, but so far as I know, the Apple hardware does not
produce
those..)
thanks,
iain
_______________________________________________
freebsd-bluetooth freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-blu
etooth
To unsubscribe, send any mail to
"freebsd-bluetooth-unsubscribe freebsd.org"
|
|
[1-5]
|
|