Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2014 22:26:32 +0200
From:      Ivan Rokotov <ivan.rokotov.bsd@yandex.ru>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: Bluetooth mouse paired, but doesn't work
Message-ID:  <1342851401740792@web20h.yandex.ru>
In-Reply-To: <CAFPOs6ocpAqR8TFLmUd0B5bBrvbF4skMA8o6sjW9xFUTgnNsLQ@mail.gmail.com>
References:  <1264001401737738@web8h.yandex.ru> <CAFPOs6ocpAqR8TFLmUd0B5bBrvbF4skMA8o6sjW9xFUTgnNsLQ@mail.gmail.com>

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

Thank you for the quick answer!

02.06.2014, 22:01, "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com>:
> first of all, you should not be sending anything. mouse should be
> sending the data. you can confirm this by installing hcidump from the
> ports and see if there is any traffic from the mouse
> second, what console driver are you using?

I am using vt.

This is what I get with hcidump with: turning mouse off, turning on, moving, doing nothing for a while:

> HCI Event: Disconn Complete(0x05) plen 4
> HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Role Change(0x12) plen 8
> HCI Event: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Max Slots Change(0x1b) plen 3
> ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 17 scid 0x0040
< ACL data: handle 0x0021 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004c scid 0x0040 result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004c flags 0x0000 clen 0
< ACL data: handle 0x0021 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x0021 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004c flags 0x0000 result 0 clen 0
> ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 19 scid 0x0041
< ACL data: handle 0x0021 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004d scid 0x0041 result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004d flags 0x0000 clen 0
< ACL data: handle 0x0021 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0041 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0021 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0041 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x0021 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004d flags 0x0000 result 0 clen 0
> HCI Event: QoS Setup Complete(0x0d) plen 21
> HCI Event: Mode Change(0x14) plen 6
> HCI Event: Mode Change(0x14) plen 6
> HCI Event: Mode Change(0x14) plen 6
> HCI Event: Mode Change(0x14) plen 6
> HCI Event: Mode Change(0x14) plen 6

moving:

> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> HCI Event: Mode Change(0x14) plen 6
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> HCI Event: Mode Change(0x14) plen 6
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report
> ACL data: handle 0x0021 flags 0x02 dlen 13
    L2CAP(d): cid 0x4d len 9 [psm 19]
      HIDP: Data: Input report

[repeated many times]

> HCI Event: Mode Change(0x14) plen 6
> HCI Event: Mode Change(0x14) plen 6

Ivan



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