Package: kdebluetooth
Version: 1.0~beta8-2

--- Please enter the report below this line. ---

Hi,
I have the same problem with kinputwizard. A quick search on the web returned a couple of other people using Debian or Ubuntu with the same problem. I believe that the problem lies within hcid's (?) D-BUS integration or kinputwizard's use of it. Please see the debug output of kinputwizard below. To me it seems as if either (a) the BlueZ input manager ( http://wiki.bluez.org/wiki/Input ) has not been initialized (or whatever needed)
(a) the input manager is not listening to D-BUS properly, or
(c) kinputwizard does not correctly handle D-BUS communication with hcid

I don't think it has anything to do with authentication problems.

Maybe someone with greater knowledge of hcid, kinputwizard, and/or D-BUS should have a look at it.

Raphael


=====================

Complete output of kinputwizard compiled with debug output enabled (when trying to setup a new input device as described in other report):


kinputwizard: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x80c0b38
kinputwizard: [InputWizard::InputWizard()]
kinputwizard: ADD_BUTTON:  false
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: DefaultAdapter kinputwizard: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez/hci0 interface: org.bluez.Adapter conn: 0x80c0b38 kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: DefaultAdapter
kinputwizard: /org/bluez/hci0
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ActivateService
kinputwizard: libkbluetooth: getString(ActivateService): No such service
kinputwizard: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : path: /org/bluez/input interface: org.bluez.input.Manager conn: 0x80c0b38 kinputwizard: Adding match failed: org.freedesktop.DBus.Error.MatchRuleInvalid: Sender name '' is invalid
kinputwizard:
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : path: /org/bluez/input mInterfacE: org.bluez.input.Manager method: ListDevices kinputwizard: libkbluetooth: getStringList(): Method "ListDevices" with signature "" on interface "org.bluez.input.Manager" doesn't exist
kinputwizard:
[EMAIL PROTECTED]:~/devel/kbt/kdebluetooth-1.0~beta8/kdebluetooth/kinputwizard$ kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: IsPeriodicDiscovery kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: DiscoverDevices kinputwizard: [static DBusHandlerResult KBluetooth::InputManager::filterFunction(DBusConnection*, DBusMessage*, void*)]
kinputwizard: Adapter filterFunctionAd(): DiscoveryStarted
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : path: /org/bluez/input mInterfacE: org.bluez.input.Manager method: ListDevices kinputwizard: libkbluetooth: getStringList(): Method "ListDevices" with signature "" on interface "org.bluez.input.Manager" doesn't exist
kinputwizard:
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: GetRemoteName kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: GetRemoteMajorClass kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: GetRemoteClass
kinputwizard: MAJOR5
kinputwizard: MINOR20
kinputwizard: MINOR_Periphery20
kinputwizard: Adapter filterFunctionAd(): RemoteNameUpdated
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: Adapter filterFunctionAd(): RemoteDeviceFound
kinputwizard: address: _____________00:14:51:C8:XX:XX [anonymized for bug report] kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: StopPeriodicDiscovery kinputwizard: libkbluetooth: setString(StopPeriodicDiscovery): Not authorized kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: CancelDiscovery kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: GetRemoteMinorClass kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : path: /org/bluez/input mInterfacE: org.bluez.input.Manager method: CreateDevice kinputwizard: libkbluetooth: getString(CreateDevice): Method "CreateDevice" with signature "s" on interface "org.bluez.input.Manager" doesn't exist
kinputwizard:
kinputwizard: remoteConn: _____________
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: GetRemoteName kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: IsPeriodicDiscovery kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: CancelDiscovery
kinputwizard: getBoolean (CancelDiscovery): Not authorized
kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: IsPeriodicDiscovery kinputwizard: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez/hci0 mInterfacE: org.bluez.Adapter method: CancelDiscovery
kinputwizard: getBoolean (CancelDiscovery): Not authorized


=====================

Just for reference:

 kdebluetooth/kinputwizard/inputwizard.cpp:

QString remoteConn = inman->createDeviceBlock(SelectAddr);
kdDebug() << "remoteConn: _____________" << remoteConn << endl;
if (remoteConn == "") {
QMessageBox::information(this, i18n("Creating Input Device failed"), i18n("Failed to create the input device for %1!").arg(adapter->getRemoteName(SelectAddr)), QMessageBox::Ok|QMessageBox::Default, QMessageBox::NoButton, QMessageBox::NoButton);
            return;
}




--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22.1-mactel

Debian Release: lenny/sid
  990 testing         security.debian.org
  990 testing         honk.physik.uni-konstanz.de
  990 testing         ftp.de.debian.org
  500 unstable        honk.physik.uni-konstanz.de
  500 unstable        ftp.de.debian.org
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-=======================
kdelibs4c2a                  (>= 4:3.5.7-1) | 4:3.5.8.dfsg.1-4
libacl1                       (>= 2.2.11-1) | 2.2.45-1
libart-2.0-2                    (>= 2.3.18) | 2.3.19-3
libattr1                       (>= 2.4.4-1) | 1:2.4.39-1
libaudio2                                   | 1.9.1-1
libbluetooth2                      (>= 3.0) | 3.22-1
libc6                          (>= 2.6.1-1) | 2.7-3
libdbus-1-3                      (>= 1.1.1) | 1.1.1-3
libdbus-qt-1-1c2     (>= 0.62.git.20060814) | 0.62.git.20060814-2
libfam0                                     | 2.7.0-13
libfontconfig1                   (>= 2.4.0) | 2.4.2-1.2
libfreetype6                     (>= 2.3.5) | 2.3.5-1+b1
libgcc1                        (>= 1:4.2.1) | 1:4.2.2-4
libice6                        (>= 1:1.0.0) | 2:1.0.4-1
libidn11                        (>= 0.5.18) | 1.1-1
libjpeg62                                   | 6b-14
libkbluetooth0                              | 1.0~beta8-2
libopenobex1                                | 1.3-3
libpng12-0                    (>= 1.2.13-4) | 1.2.15~beta5-3
libqt3-mt                      (>= 3:3.3.7) | 3:3.3.7-9
libsm6                                      | 2:1.0.3-1+b1
libstdc++6                       (>= 4.2.1) | 4.2.2-4
libx11-6                                    | 2:1.0.3-7
libxcursor1                      (>> 1.1.2) | 1:1.1.9-1
libxext6                                    | 1:1.0.3-2
libxft2                          (>> 2.1.1) | 2.1.12-2
libxi6                                      | 2:1.1.3-1
libxinerama1                                | 1:1.0.2-1
libxrandr2                     (>= 2:1.2.0) | 2:1.2.2-1
libxrender1                                 | 1:0.9.4-1
libxt6                                      | 1:1.0.5-3
zlib1g                (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-6
bluez-utils                       (>= 3.13) | 3.13-1
python-qt4-dbus                             | 4.3.1-1
python-qt4                                  | 4.3.1-1


--
Dipl.-Medieninf. Raphael Wimmer
Research Assistant
LFE Media Informatics                      E-Mail: [EMAIL PROTECTED]
University of Munich                       Skype:  real_raphman
Amalienstr. 17 / Room 206 WWW: http://www.medien.ifi.lmu.de
80333 Munich                               Tel:    +49 (89) 2180-4659
Germany                                    Fax:    +49 (89) 2180-99-4659


Reply via email to