NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Trouble configuring phone as bluetooh HID



Hi,

I'm trying to use a bluetooth-enabled phone as a HID device,
so that it can act as a "click-to-change-to-the-next-slide-thingy"
for presentations. It's annoyingly close to working. Just as the device
attaches, it almost immediately detaches. Posting logs here in an
attempt to find someone with bluetooth clue to help me out.
The phone is a K800i if that matters. What does the "unknown" config req
mean?

TIA,
-Tobias

dmesg:
------
ubt0 at uhub1 port 2
ubt0: Cambridge Silicon Radio Bluetooth USB Adapter, rev 2.00/19.58,
addr 2
bthub0 at ubt0 local-bdaddr 00:10:60:xx:xx:xx
bthidev0 at bthub0 remote-bdaddr 00:19:63:xx:xx:xx link-mode
encrypt btkbd0 at bthidev0 reportid 1
wskbd1 at btkbd0 mux 1
wskbd1: connecting to wsdisplay0
btms0 at bthidev0 reportid 2: 3 buttons.
wsmouse1 at btms0 mux 0
bthidev0: disconnected

hcidump output:
----------------
< HCI Command: Create Connection(0x01|0x0005) plen 13
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> HCI Event: Command Complete(0x0e) plen 6
< HCI Command: Read Clock offset(0x01|0x001f) plen 2
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Max Slots Change(0x1b) plen 3
> HCI Event: Command Status(0x0f) plen 4
< HCI Command: Authentication Requested(0x01|0x0011) plen 2
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Read Clock Offset Complete(0x1c) plen 5
> HCI Event: Link Key Request(0x17) plen 6
> HCI Event: Command Status(0x0f) plen 4
< HCI Command: Link Key Request Reply(0x01|0x000b) plen 22
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: Auth Complete(0x06) plen 3
< HCI Command: Set Connection Encryption(0x01|0x0013) plen 3
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Encrypt Change(0x08) plen 4
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 17 scid 0x0040
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 0
> ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 36
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 24
    Unknown (type 03, len 22)
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 3 clen 2
    Unknown (type 03, len 0)
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets(0x13) plen 5
< HCI Command: Disconnect(0x01|0x0006) plen 3
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Disconn Complete(0x05) plen 4



Home | Main Index | Thread Index | Old Index