[Pkg-bluetooth-maintainers] Bug#382269: fails to interface with pin agent

Stefano Mosconi instezz at gmail.com
Thu Aug 17 03:46:05 UTC 2006


> Hi again.
>
> In my case, I solved the problem by doing
>
>  echo -n "1234" > /etc/bluetooth/passkeys/00:18:A4:17:6D:84
>
> instead of
>
>  echo "1234" > /etc/bluetooth/passkeys/00:18:A4:17:6D:84
>
> Apparently, I could not authenticate because of the EOL in the files in
> /etc/bluetooth/passkeys , as it is suggested in Bug#383188 .
>
> Please, try it: perhaps this is also the problem other people in this
> bug report are seeing
>
> Regards,
>
> Dionisio Martínez Soler
> dmsoler at mundo-r dot com
>


Hi it doesn't work to me...

Aug 17 06:37:52 localhost hcid[23396]: HCI dev 0 registered
Aug 17 06:37:52 localhost hcid[23396]: Device hci0 has been added
Aug 17 06:37:52 localhost hcid[23396]: Register path:/org/bluez/hci0 fallback:0
Aug 17 06:37:52 localhost hcid[23396]: HCI dev 0 up
Aug 17 06:37:52 localhost hcid[23396]: Starting security manager 0
Aug 17 06:37:52 localhost hcid[23396]: Can't write inquiry mode for
hci0: Input/output error (5)
Aug 17 06:39:19 localhost hcid[23396]: link_key_request
(sba=00:20:E0:77:BD:37, dba=00:15:DE:23:EC:87)
Aug 17 06:39:19 localhost hcid[23396]: pin_code_request
(sba=00:20:E0:77:BD:37, dba=00:15:DE:23:EC:87)
Aug 17 06:39:19 localhost hcid[23396]: Calling PasskeyAgent.Request:
name=:1.6, path=/org/bluez/passkey_agent_23404

flambe:/etc/bluetooth/passkeys# echo -n "1234" > 00:15:DE:23:EC:87
flambe:/etc/bluetooth/passkeys# hcitool cc --role=s 00:15:DE:23:EC:87
flambe:/etc/bluetooth/passkeys# hcitool con
Connections:
        < ACL 00:15:DE:23:EC:87 handle 41 state 1 lm MASTER
flambe:/etc/bluetooth/passkeys# hcitool auth 00:15:DE:23:EC:87
HCI authentication request failed: Input/output error

-- 
Stefano




More information about the Pkg-bluetooth-maintainers mailing list