Re: [Bluez-users] Using windows breaks bluetooth in linux? huh

Marcel Holtmann
2004-11-18T07:13:28Z

Hi Patrick,

> Kawaii64 patrick # hcidump -x
> HCIDump - HCI packet analyzer ver 1.9
> device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
> < HCI Command: Inquiry (0x01|0x0001) plen 5
> 33 8B 9E 08 C8
> > HCI Event: Command Status (0x0f) plen 4
> 00 01 01 04
> > HCI Event: Inquiry Result (0x02) plen 15
> 01 E4 63 3A 95 0A 00 01 00 00 40 25 00 16 2E
> > HCI Event: Inquiry Complete (0x01) plen 1
> 00
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> E4 63 3A 95 0A 00 18 CC 01 00 16 AE 01
> > HCI Event: Command Status (0x0f) plen 4
> 00 01 05 04
> > HCI Event: Link Key Request (0x17) plen 6
> E4 63 3A 95 0A 00
> < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> E4 63 3A 95 0A 00 8F 77 B9 44 7B 94 1E 98 A9 9A 41 9D 3E 40
> 89 95
> > HCI Event: Command Complete (0x0e) plen 10
> 01 0B 04 00 E4 63 3A 95 0A 00
> > HCI Event: Connect Complete (0x03) plen 11
> 05 29 00 E4 63 3A 95 0A 00 01 00
>
>
> If only they would release I linux version of half life 2 this problem
> wouldn't exist!

the problem is the same. Error 0x05 means "Authentication failure" and
this means that the link key is wrong. Since we don't have an easy way
to delete a single paired device from our list, you need to remove the
file /etc/bluetooth/link_key and restart the hcid. After that, your
keyboard should re-pair again.

> Thanks again for your help! You are by far the most helpful developer I
> have ever met.

Thanks for these nice words.