Bluetooth Optical Mouse BM083 freezes after connecting ....
This message contains the following attachment(s):
BM083.txt
Hello everybody,
I bought this new mouse, and it seems to be bluetooth 2.0 but i have troubles with it sometimes it connects fine but most of the time it seems to connects and directly freezes, i created hcidumps of the events...
Could somebody see what is going wroing here?
The device is unusable in this current state.
The BM013 mouse that seems to be LMP Version: 1.2 is working fine but the BM083 does not work. I tested multiple devices of the same types so it does not seem to be an single hardware defect.
Best regards,
Jelle
sudo hciconfig
sudo hcitool con
sudo hcitool -i hci0 con
sudo hcitool -i hci1 con
sudo hcitool -i hci1 scan
sudo python .simple-agent.py hci0 00:12:A1:01:04:16 sudo hcitool info 00:12:A1:01:04:16
sudo hcitool con
------------------------------------------------------------------------
$ sudo hciconfig
hci0: Type: USB
BD Address: 00:09:DD:50:34:72 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:2086 acl:1 sco:0 events:78 errors:0
TX bytes:504 acl:1 sco:0 commands:43 errors:0hci1: Type: USB
BD Address: 00:15:AF:F4:E9:E0 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:1327128 acl:81927 sco:0 events:1607 errors:0
TX bytes:3603 acl:20 sco:0 commands:65 errors:0$ sudo hcitool con Connections:
Quoted 2 lines
ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER
$ sudo hcitool -i hci0 con Connections:
$ sudo hcitool -i hci1 con Connections:
Quoted 2 lines
ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER
$ sudo hcitool -i hci1 scan
Scanning ...
00:12:A1:01:04:16 Bluetooth Mouse$ sudo python .simple-agent.py hci1 00:12:A1:01:04:16 RequestPinCode (/org/bluez/2181/hci1/dev_00_12_A1_01_04_16) Enter PIN Code: 0000 Release New device (/org/bluez/2181/hci1/dev_00_12_A1_01_04_16)
$ sudo hcitool info 00:12:A1:01:04:16
Requesting information ...
BD Address: 00:12:A1:01:04:16
Device Name: Bluetooth Mouse
LMP Version: 2.0 (0x3) LMP Subversion: 0x229
Manufacturer: Broadcom Corporation (15)
Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<sniff mode> <RSSI> <power control> <enhanced iscan>
<interlaced iscan> <interlaced pscan> <AFH cap. slave>------------------------------------------------------------------------
sudo apt-get install bluez-hcidump
sudo hcidump -X -V
# mouse will freeze after connecting.... $ sudo hcidump -X -V HCI sniffer - Bluetooth packet analyzer ver 1.42 device: hci0 snap_len: 1028 filter: 0xffffffff
Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x02 interval 32
Mode: SniffQuoted 1 line
ACL data: handle 12 flags
0x02dlen 14
L2CAP(d): cid 0x0041 len 10 [psm 0]
0000: a1 01 00 00 00 00 00 00 00 00 ..........Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x00 interval 0
Mode: ActiveQuoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x02 interval 162
Mode: SniffQuoted 1 line
HCI Event: Connect Request (
0x04) plen 10
bdaddr 00:12:A1:01:04:16 class 0x002580 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
bdaddr 00:12:A1:01:04:16 role 0x00
Role: MasterQuoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
Quoted 1 line
HCI Event: Role Change (
0x12) plen 8
status 0x00 bdaddr 00:12:A1:01:04:16 role 0x00
Role: MasterQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
status 0x00 handle 13 bdaddr 00:12:A1:01:04:16 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 13
< ACL data: handle 13 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 13 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
Quoted 1 line
HCI Event: Read Remote Supported Features (
0x0b) plen 11
status 0x00 handle 13
Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 13< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
handle 13 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:12:A1:01:04:16 mode 2 clkoffset 0x0000Quoted 1 line
HCI Event: Connection Packet Type Changed (
0x1d) plen 5
status 0x00 handle 13 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x0004
Bi-directional QoS
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(s): Connect req: psm 17 scid 0x0042
< ACL data: handle 13 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0042 result 0 status 0
Connection successfulQuoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0042 flags 0x00 result 0 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0042 flags 0x00 clen 0Quoted 1 line
HCI Event: Remote Name Req Complete (
0x07) plen 255
status 0x00 bdaddr 00:12:A1:01:04:16 name 'Bluetooth Mouse'
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
MTU 185Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(s): Connect req: psm 19 scid 0x0043
< ACL data: handle 13 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0043 result 0 status 0
Connection successfulQuoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0043 flags 0x00 result 0 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0043 flags 0x00 clen 0Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
MTU 185Quoted 1 line
ACL data: handle 13 flags
0x02dlen 7
L2CAP(d): cid 0x0041 len 3 [psm 19]
HIDP: Data: Input report
0000: 03 91 ..
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 01 00 00 00 00 00 .......Quoted 1 line
HCI Event: QoS Setup Complete (
0x0d) plen 21
status 0x00 handle 13 flags 0
Service type: 1
Token rate: 850
Peak bandwith: 0
Latency: 20000
Delay variation: -1
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 00 00 00 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 db 5f 02 00 00 ..._...Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 08 90 ff 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 04 b0 ff 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 03 70 ff 00 00 ...p...Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 04 20 ff 00 00 ... ...
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(d): cid 0x0043 len 8 [psm 19]
HIDP: Data: Output report
0000: 02 00 00 00 00 00 00 .......< ACL data: handle 13 flags 0x02 dlen 7
L2CAP(d): cid 0x0043 len 3 [psm 19]
HIDP: Data: Output report
0000: 03 00 ..
Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 13 mode 0x02 interval 12
Mode: SniffQuoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 04 40 ff 00 00 ...@...Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 03 50 ff 00 00 ...P...Quoted 1 line
ACL data: handle 13 flags
0x02dlen 5
L2CAP(d): cid 0x0041 len 1 [psm 19]
HIDP: Handshake: Unsupported request
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 5
L2CAP(d): cid 0x0041 len 1 [psm 19]
HIDP: Handshake: Unsupported request
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 01 60 fd 00 00 ...`...Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 fe af ff 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 f7 2f ff 00 00 .../...Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 1
Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x00 interval 0
Mode: ActiveQuoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x02 interval 322
Mode: Sniff^C
------------------------------------------------------------------------
# mouse will freeze after connecting....
$ sudo hcidump -X -V HCI sniffer - Bluetooth packet analyzer ver 1.42 device: hci0 snap_len: 1028 filter: 0xffffffff
Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 11 mode 0x00 interval 0
Mode: ActiveQuoted 1 line
ACL data: handle 12 flags
0x02dlen 14
L2CAP(d): cid 0x0041 len 10 [psm 0]
0000: a1 01 00 00 00 00 00 00 00 00 ..........Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 11 mode 0x02 interval 96
Mode: SniffQuoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x00 interval 0
Mode: ActiveQuoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x02 interval 162
Mode: SniffQuoted 1 line
HCI Event: Connect Request (
0x04) plen 10
bdaddr 00:12:A1:01:04:16 class 0x002580 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
bdaddr 00:12:A1:01:04:16 role 0x00
Role: MasterQuoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
Quoted 1 line
HCI Event: Role Change (
0x12) plen 8
status 0x00 bdaddr 00:12:A1:01:04:16 role 0x00
Role: MasterQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
status 0x00 handle 13 bdaddr 00:12:A1:01:04:16 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 13
< ACL data: handle 13 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 13 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
Quoted 1 line
HCI Event: Read Remote Supported Features (
0x0b) plen 11
status 0x00 handle 13
Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 13< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
handle 13 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:12:A1:01:04:16 mode 2 clkoffset 0x0000Quoted 1 line
HCI Event: Connection Packet Type Changed (
0x1d) plen 5
status 0x00 handle 13 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x0004
Bi-directional QoS
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(s): Connect req: psm 17 scid 0x0040
< ACL data: handle 13 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
Connection successfulQuoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0Quoted 1 line
ACL data: handle 13 flags
0x02dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
MTU 185Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(s): Connect req: psm 19 scid 0x0041
< ACL data: handle 13 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0041 result 0 status 0
Connection successfulQuoted 1 line
HCI Event: Remote Name Req Complete (
0x07) plen 255
status 0x00 bdaddr 00:12:A1:01:04:16 name 'Bluetooth Mouse'
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
MTU 185
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 0Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
MTU 185Quoted 1 line
ACL data: handle 13 flags
0x02dlen 7
L2CAP(d): cid 0x0041 len 3 [psm 19]
HIDP: Data: Input report
0000: 03 91 ..
Quoted 1 line
HCI Event: QoS Setup Complete (
0x0d) plen 21
status 0x00 handle 13 flags 0
Service type: 1
Token rate: 850
Peak bandwith: 0
Latency: 20000
Delay variation: -1
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 01 00 00 00 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 00 00 00 00 00 .......
< ACL data: handle 13 flags 0x02 dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Output report
0000: 02 00 00 00 00 00 00 .......< ACL data: handle 13 flags 0x02 dlen 7
L2CAP(d): cid 0x0041 len 3 [psm 19]
HIDP: Data: Output report
0000: 03 00 ..
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 2
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 5
L2CAP(d): cid 0x0041 len 1 [psm 19]
HIDP: Handshake: Unsupported request
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 5
L2CAP(d): cid 0x0041 len 1 [psm 19]
HIDP: Handshake: Unsupported request
Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 13 mode 0x02 interval 12
Mode: SniffQuoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 13 packets 1
Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 01 00 00 00 00 .......Quoted 1 line
ACL data: handle 13 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 19]
HIDP: Data: Input report
0000: 02 00 03 10 00 00 00 .......Quoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x00 interval 0
Mode: ActiveQuoted 1 line
HCI Event: Mode Change (
0x14) plen 6
status 0x00 handle 12 mode 0x02 interval 322
Mode: Sniff^C
------------------------------------------------------------------------