Hi all
I seem to be having Issues getting my New Xmas gift to pair properly. I am running FC6
on a pentium4 box. here is the packages I have installed on:
bluez-utils-cups-3.7-2
bluez-libs-devel-3.7-1
bluez-hcidump-1.32-1
bluez-bluefw-1.0-6
bluez-utils-3.7-2
bluez-libs-3.7-1
pybluez-0.9.1-3.fc6
bluez-gnome-0.6-1.fc6
openpbx-bluetooth-1.2-3.rc2.svn2282.fc6
kdebluetooth-1.0-0.19.beta3
gnome-bluetooth-0.7.0-12.fc6
gnome-bluetooth-devel-0.7.0-12.fc6
gnome-bluetooth-libs-0.7.0-12.fc6
nautilus-sendto-bluetooth-0.7-5.fc6
Now I don't know if I am missing a package or if some may be outdated and need updating. Especially the kdebluetooth package. I have read pages for days on the web trying to to get a handle on what to do as this is the very first time I every worked with bluetooth
on starting bluetooth service the log reads
Dec 30 09:49:50 Dads hcid[5878]: Bluetooth HCI daemon
Dec 30 09:49:50 Dads hcid[5878]: Register path:/org/bluez fallback:1
Dec 30 09:49:50 Dads hcid[5878]: HCI dev 0 registered
Dec 30 09:49:50 Dads hcid[5878]: Register path:/org/bluez/hci0 fallback:0
Dec 30 09:49:50 Dads hcid[5878]: HCI dev 0 already up
Dec 30 09:49:50 Dads hcid[5878]: Device hci0 has been added
Dec 30 09:49:50 Dads hcid[5878]: Starting security manager 0
Dec 30 09:49:50 Dads hcid[5878]: Device hci0 has been activated
Dec 30 09:49:50 Dads hcid[5878]: Default passkey agent (:1.8, /org/kde/kbluetooth_1234) registered
Dec 30 09:49:51 Dads sdpd[5884]: Bluetooth SDP daemon
using hciconfig -a here is the output
hci0: Type: USB
BD Address: 00:02:76:0C:D6:03 ACL MTU: 1017:8 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:601 acl:0 sco:0 events:43 errors:0
TX bytes:700 acl:0 sco:0 commands:43 errors:0
Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'usbHeadset'
Class: 0x120104
Service Classes: Networking, Object Transfer
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0x4116 LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
Manufacturer: Broadcom Corporation (15)
Now using the hcitool I scan, inq, and cc with these results
[root@Dads ~]# hcitool scan
Scanning ...
00:E0:98:49:2A:92 MATTHEW
00:1C:EF:0A:F3:01 NS-BTHDST
[root@Dads ~]# hcitool inq 00:1C:EF:0A:F3:01
Inquiring ...
00:E0:98:49:2A:92 clock offset: 0x2fe5 class: 0x300104
00:1C:EF:0A:F3:01 clock offset: 0x0efe class: 0x240404
# hcitool info 00:1C:EF:0A:F3:01
Requesting information ...
BD Address: 00:1C:EF:0A:F3:01
LMP Version: 2.0 (0x3) LMP Subversion: 0xbf1
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<inquiry with RSSI> <AFH cap. slave> <AFH class. slave>
<AFH cap. master> <AFH class. master> <extended features>
# hcitool cc 00:1C:EF:0A:F3:01
# hcitool lq 00:1C:EF:0A:F3:01
Not connected.
then I try this
# rfcomm -i hci0 connect 0 00:1C:EF:0A:F3:01
Can't connect RFCOMM socket: Connection refused
log entries after the rfcomm command are
Dec 30 09:58:07 Dads hcid[5878]: link_key_request (sba=00:02:76:0C:D6:03, dba=00:1C:EF:0A:F3:01)
Dec 30 09:58:07 Dads hcid[5878]: pin_code_request (sba=00:02:76:0C:D6:03, dba=00:1C:EF:0A:F3:01)
Dec 30 09:58:07 Dads hcid[5878]: Passkey agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "Request" with signature "ss" on interface "org.bluez.PasskeyAgent" doesn't exist
Config files
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;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "0000";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# 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;
}
rfcomm.conf
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind no;
#
# # Bluetooth address of the device
device 00:1C:EF:0A:F3:01;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
}
Please help me shed some light on this. Through the whole command process I am never asked to input the
pin that the headset wants which I believe is a bug. Also with kdebluetooth I am unable to Configure services or add devices. when I go to setup my device I get a crash. the backtrace info is as follows
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208932656 (LWP 6026)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6 0x0670d7ff in QString::latin1 () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7 0x0670ef42 in QString::ascii () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#8 0x0011e316 in KBluetooth::DBusSignal::newMessage ()
from /usr/lib/libkbluetooth.so.0
#9 0x0011e5a0 in KBluetooth::DBusSignal::sendString ()
from /usr/lib/libkbluetooth.so.0
#10 0x0011e5fc in KBluetooth::DBusSignal::sendString ()
from /usr/lib/libkbluetooth.so.0
#11 0x00120e9b in KBluetooth::InputDevice::connect ()
from /usr/lib/libkbluetooth.so.0
#12 0x08051f0d in QWidget::setUpdatesEnabled ()
#13 0x08052106 in QWidget::setUpdatesEnabled ()
#14 0x080533f4 in QWidget::setUpdatesEnabled ()
#15 0x063f116a in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x063f1b5d in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x0678695c in QButton::clicked () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x06495afd in QButton::mouseReleaseEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x0642d7f5 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x06387cab in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x06389307 in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x05cf2921 in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0x0631efa6 in QETWidget::translateMouseEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x0631daa6 in QApplication::x11ProcessEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x0632f90b in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x063a1250 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x063a1116 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x063877bf in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x08050d26 in QWidget::setUpdatesEnabled ()
#30 0x009e6dec in __libc_start_main () from /lib/libc.so.6
#31 0x0804d201 in QWidget::setUpdatesEnabled ()
Thanks for any help with this matter
Don