Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 19:40:36 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
Cc:        bluetooth@freebsd.org
Subject:   Re: Bluetooth mouse
Message-ID:  <1103647236.954.31.camel@localhost>
In-Reply-To: <41C84797.80306@savvis.net>
References:  <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net>     <opshmg45c1lo1qsj@mail.xs4all.nl> <419B9EF8.2090401@savvis.net>     <1103269957.974.7.camel@localhost> <41C32471.2050805@savvis.net> <866530fusa.fsf@kamino.rfc1149.org> <41C35B92.7080908@savvis.net> <1103489813.1721.14.camel@localhost> <41C63A62.20304@savvis.net> <1103527349.1024.18.camel@localhost> <41C72A9B.6090405@savvis.net> <1103623079.954.10.camel@localhost> <41C84797.80306@savvis.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-c2zVmIt+/YuGN93WZuy/
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

=F7 =D7=D4, 21/12/2004 =D7 07:56 -0800, Maksim Yevmenkin =D0=C9=DB=C5=D4:
> >> 2) mouse itself. it advertises wrong psm for the hid interrupt
> >> channel.
> >=20
> > Why it works with winXP in this case ?
>=20
> i need at least one more extra hcidump to answer this question. the
> most=20
> likely answer is that winxp just ignores psm's that mouse advertises
> and=20
> uses default ones (0x11 - hid control and 0x13 - hid interrupt). you=20
> see, initially host and hid device do not know anything about each=20
> other. so the host must query hid device using sdp (Service Discovery=20
> Protocol) to find out all hid service parameters (such as psm's, hid=20
> descriptor etc.). any hid device must provide this information. that
> is=20
> what bthidcontrol(8) does - it queries hid devices using sdp and
> dumps=20
> all parameters so bthidd(8) can uses them.
>=20
> > How to find what happens ?
>=20
> to rule out bthidcontrol(8) i need hcidump while you are doing
> 'query'=20
> command.
>=20
> - run 'hcidump -w bthidcontrol.dump' as root
>=20
> - run 'bthidcontrol -a mouse query'

Dump in attachment

> note: you may need to reset the mouse again in order for this to work.

Looks like it works even while mouse in action.

> thanks,
> max
--=20
Vladimir B. Grebenchikov
vova@fbsd.ru

--=-c2zVmIt+/YuGN93WZuy/
Content-Disposition: attachment; filename=bthidcontrol.dump
Content-Type: application/octet-stream; name=bthidcontrol.dump
Content-Transfer-Encoding: base64

EQAAAOtQyEGhcwQAAikgDAAIAAEAAhUEAAEAUgAIAAEA61DIQXyZBAAEEwUBKQABABUAAQDrUMhB
VsgEAAIpIBAADAABAAMVCABUAFIAAQACABUAAQDrUMhBEtAEAAIpIBAADAABAAMVCABUAFIAAAAA
ABEAAADrUMhBOtAEAAIpIAwACAABAAQWBABUAAAACAABAOtQyEEI+wQABBMFASkAAQATAAEA61DI
QecpBQACKSAOAAoAAQAFFgYAUgAAAAAAFQABAOtQyEG2MQUAAikgEAAMAAEABBMIAFIAAAABAjAA
EwAAAOtQyEHdMQUAAikgDgAKAAEABRMGAFQAAAAAACsAAADrUMhBZzIFAAIpICYAIgBUAAYAAAAd
NgADGREk//82ABEJAAQJAA0KAgUCBgkCCgkCDQAIAAEA61DIQa5cBQAEEwUBKQABAAgAAQDrUMhB
YGgFAAQTBQEpAAEAIAABAOtQyEFRvgUAAikgGwAwAFIABwAAACsAJjYAmjYAlwkABDUNNQYZAQAe
AAEA61DIQRzGBQACKRAZAAkAETUDGQARCQANNQ81DTUGGQEACQACAHctAAAA61DIQZXGBQACKSAo
ACQAVAAGAAEAHzYAAxkRJP//NgARCQAECQANCgIFAgYJAgoJAg0CAHcIAAEA61DIQfb3BQAEEwUB
KQABACAAAQDrUMhB9B8GAAIpIBsAMABSAAcAAQArACYTNQMZABEJAgUoAQkCBjVdHgABAOtQyEHB
JwYAAikQGQA1WwgiJVcFAQkCoQGFAgkBoQAFCRkBAgBRLQAAAOtQyEEwKAYAAikgKAAkAFQABgAC
AB82AAMZEST//zYAEQkABAkADQoCBQIGCQIKCQINAgBRCAABAOtQyEGhVgYABBMFASkAAQAgAAEA
61DIQZGBBgACKSAbADAAUgAHAAIAKwAmKQgVACUBlQh1AYECBQEJMB4AAQDrUMhBZokGAAIpEBkA
CTEWAfgm/wd1DJUCgQYJOBWBJX91CAIAKy0AAADrUMhByIkGAAIpICgAJABUAAYAAwAfNgADGREk
//82ABEJAAQJAA0KAgUCBgkCCgkCDQIAKwgAAQDrUMhBQbgGAAQTBQEpAAEAIAABAOtQyEE24wYA
AikgGwAwAFIABwADACsAJpUBgQbAwAYA/wkBoQGFEHUeAAEA61DIQRTrBgACKRAZAAiVBhUAJv8A
CQGBAAkBkQDACQIKKAECAAUtAAAA61DIQXPrBgACKSAoACQAVAAGAAQAHzYAAxkRJP//NgARCQAE
CQANCgIFAgYJAgoJAg0CAAUIAAEA61DIQeQZBwAEEwUBKQABABYAAQDrUMhB2kQHAAIpIBEADQBS
AAcABAAIAAUJAg0oAAARAAAA61DIQU9FBwACKSAMAAgAAQAGFwQAVABSAAgAAQDrUMhBy3cHAAQT
BQEpAAEAEQABAOtQyEGYpgcAAikgDAAIAAEABxcEAFQAUgA=


--=-c2zVmIt+/YuGN93WZuy/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103647236.954.31.camel>