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