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
[-- Attachment #1 --] , 21/12/2004 07:56 -0800, Maksim Yevmenkin : > >> 2) mouse itself. it advertises wrong psm for the hid interrupt > >> channel. > > > > Why it works with winXP in this case ? > > i need at least one more extra hcidump to answer this question. the > most > likely answer is that winxp just ignores psm's that mouse advertises > and > uses default ones (0x11 - hid control and 0x13 - hid interrupt). you > see, initially host and hid device do not know anything about each > other. so the host must query hid device using sdp (Service Discovery > Protocol) to find out all hid service parameters (such as psm's, hid > descriptor etc.). any hid device must provide this information. that > is > what bthidcontrol(8) does - it queries hid devices using sdp and > dumps > all parameters so bthidd(8) can uses them. > > > How to find what happens ? > > to rule out bthidcontrol(8) i need hcidump while you are doing > 'query' > command. > > - run 'hcidump -w bthidcontrol.dump' as root > > - 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 -- Vladimir B. Grebenchikov vova@fbsd.ru [-- Attachment #2 --] PAs ) R PA| ) PAV ) T R PA ) T R PA: ) T PA ) PA) ) R PA1 ) R 0 PA1 ) T + PAg2 ) &
