Hi
I am having trobule pairing my phone with bluetooth.
I changed my system to use KDE from kde-redhat
Everything seems to work fine, the dongle is recognized, I can ping with l2ping my phone, etc,
but when I try to use obex everything fails at the pin exchange.
I have been reading and googling and what I see is not what is expressed on hcid.conf
It looks like kde expects a "pin-helper" named /etc/bluetooth/pin to hold the pin
On the other hand hcid.conf
complains of syntax error if I add the pin-helper line to it.
Likewise, the "/usr/lib64/kdebluetooth/kbluepin" utility does not seem to be invoked at the
pin exchange time
Here is the corrent content of
hcid.conf and /etc/bluetooth/pin and part of /var/log/messages
-----------------------------------
[root@pepewin bluetooth]# cat hcid.conf
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# pin_helper /etc/bluetooth/pin;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "PepePCFC";
# Local device class
class 0x120104;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
--------- /etc/bluetooth/pin
PIN:1234
------------ /var/log/messages
Feb 20 14:08:21 pepewin hcid[13172]: Bluetooth HCI daemon
Feb 20 14:08:21 pepewin hcid[13172]: Register path:/org/bluez fallback:1
Feb 20 14:08:21 pepewin hcid[13172]: HCI dev 0 registered
Feb 20 14:08:21 pepewin hcid[13172]: Register path:/org/bluez/hci0 fallback:0
Feb 20 14:08:21 pepewin hcid[13172]: HCI dev 0 already up
Feb 20 14:08:21 pepewin hcid[13172]: Device hci0 has been added
Feb 20 14:08:21 pepewin hcid[13172]: Starting security manager 0
Feb 20 14:08:21 pepewin sdpd[13178]: Bluetooth SDP daemon
Feb 20 14:08:21 pepewin hcid[13172]: Device hci0 has been activated
Feb 20 14:08:39 pepewin hcid[13172]: pin_code_request (sba=11:11:11:11:11:11, dba=00:15:2A:6F:1E:F7)
Feb 20 14:08:54 pepewin last message repeated 2 times
----------------------------------
Thanks for whatever help and guidance you might provide...
--
------------------------------
/\_/\
|O O|
pepebuho@xxxxxxxxxxx
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.