[Pkg-bluetooth-maintainers] Bug#382269: fails to interface with pin
agent
Dionisio Martínez Soler
dmsoler at mundo-r.com
Sun Aug 13 13:23:27 UTC 2006
> weird, what happens if you put the pin for 00:07:A4:01:AB:A3 into
> /etc/bluetooth/passkeys/00:07:A4:01:AB:A3 and /etc/init.d/bluetoot
> restart ? /usr/lib/bluetooth/add-passkey 00:07:A4:01:AB:A3 should
> show in the processes list
In my case, I do have a /etc/bluetooth/passkeys/00:18:A4:17:6D:84 with
the PIN, and ps ax | grep passkey give me:
11745 pts/2 S 0:00 /usr/lib/bluetooth/add-passkey 00:18:A4:17:6D:84
If I try:
hcitool cc 00:18:A4:17:6D:84
hcitool auth 00:18:A4:17:6D:84
and I enter the PIN when asked in the mobile device, I get:
HCI authentication request failed: Input/output error
and the mobile device keeps lots of time in a "Verifying PIN" message.
In /var/log/syslog :
Aug 13 15:14:27 portatil2 hcid[11724]: link_key_request
(sba=00:80:5A:40:DA:D9, dba=00:18:A4:17:6D:84)
Aug 13 15:14:27 portatil2 hcid[11724]: pin_code_request
(sba=00:80:5A:40:DA:D9, dba=00:18:A4:17:6D:84)
Aug 13 15:14:27 portatil2 hcid[11724]: Calling PasskeyAgent.Request:
name=:1.10, path=/org/bluez/passkey_agent_11745
And hcidump shows this during the process:
HCI sniffer - Bluetooth packet analyzer ver 1.31
device: hci0 snap_len: 1028 filter: 0xffffffff
< 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: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Remote Name Req Complete (0x07) plen 255
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: PIN Code Request (0x16) plen 6
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: Auth Complete (0x06) plen 3
> HCI Event: Disconn Complete (0x05) plen 4
Regards,
Dionisio Martínez Soler
dmsoler at mundo-r dot com
More information about the Pkg-bluetooth-maintainers
mailing list