This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Bluetooth not working Mandriva 2009.1/ KDE4.2.3

Tags: None
(comma "," separated)
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Hi,

I am having problems connecting my Advent 4211 (MSI Wind netbook clone) to my Nokia E63. Everything was working in 4.2.1. (but I didn't test on 4.2.2)

The connection appears to be OK, passkey is asked for, but I cannot transfer files, the message I get from the phone is "sending failed"

Everything appears OK when I launch from terminal:

Code: Select all
[steve@localhost ~]$ kbluetooth4                   
kbluetooth4(19048) KBlueTray::KBlueTray: "false"   
kbluetooth4(19048) KBlueTray::onlineMode: online Mode
kbluetooth4(19048) KBlueTray::onlineMode: adapter size  1
kbluetooth4(19048) KBlueTray::onlineMode: Adapter found  "mandy"
AGENT registered !
kbluetooth4(19048) KBlueTray::updateTooltip: Updating Tooltip
kbluetooth4(19048) ObexServer::ObexServer: "00:1D:92:C5:56:E9"
kbluetooth4(19048) ObexServer::serverCreated: obex server created
kbluetooth4(19048) ObexServer::serverCreated: session interface created for:  "/org/openobex/server1"
kbluetooth4(19048) KBlueTray::updateTooltip: Updating Tooltip
[steve@localhost ~]$ AGENT-RequestPinCode  "/org/bluez/11329/hci0/dev_00_23_B4_6E_AD_B8"
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &)
Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &)
pinCode  "0000"


Any ideas?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The only thing I can suggest currently is building the latest kbluetooth4 from SVN, or ensuring your packages are fully updated.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Pretty certain I am completely up to date, run an update every day.

Where are the SVN instructions for just bluetooth? Been browsing the SVN tree and can't see the location (but its early and I need coffee!)

Last edited by xircon on Sat May 16, 2009 7:54 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You will need to install the appropriate KDE and Qt development packages, as well as CMake and GCC.
You can get KBluetooth4 from KDE Playground.
svn://anonsvn.kde.org/home/kde/trunk/pl ... luetooth4/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Thanks for all your help.

OK, installed SVN, downloaded to my home directory, pretty certain I have the other prerequisites. (or at I know how to get them!!!).

How do I compile? tried:
Code: Select all
[root@localhost kbluetooth4]# cmake src
CMake Error: The source "/home/steve/kbluetooth4/src/CMakeLists.txt" does not match the source "/home/steve/kbluetooth4/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
[root@localhost kbluetooth4]#

Last edited by xircon on Sat May 16, 2009 8:52 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try creating a seperate build directory in "kbluetooth4" then running
Code: Select all
cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Code: Select all
root@localhost kbluetooth4]# md build
[root@localhost kbluetooth4]# cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)
CMake Error: The source directory "/home/steve" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[root@localhost kbluetooth4]#


Is this what you mean? Still no good.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Oops, I forgot you needed to "cd" into the build directory.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Code: Select all
[root@localhost kbluetooth4]# cd build/
[root@localhost build]# cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)                                                                   
-- The CXX compiler identification is unknown                           
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/one/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!


Again thanks for your help, what next?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You will need to install the "KDE Libs" development package, and GCC from your package manager.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Code: Select all
[root@localhost build]# urpmi -a gcc
Package gcc-4.3.2-5mnb2.i586 is already installed
[root@localhost build]#

[root@localhost build]# urpmi -a kdelibs4-devel
The following package cannot be installed because it depends on packages
that are older than the installed ones:
kdelibs4-devel-4.2.2-26mdv2009.1
Continue installation anyway? (Y/n)


Looks like I have dependency problems.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do you have g++ installed?

If you have KDELibs version 4.2.x installed then it is completely safe to force install the KDELibs version 4.2.2 package, as KDE is source and binary compatible both forwards and backwards for patch releases.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Checking in MCC I have Version: 4.2.3-1.2mdv2009.1 of kdelibs4-core installed. Have posted on the mandriva forum.
User avatar
xircon
Registered Member
Posts
19
Karma
0
OS
Code: Select all
[root@localhost build]# cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)                                                   
-- The CXX compiler identification is GNU                       
-- Check for working CXX compiler: /usr/bin/c++                 
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/one/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!


You were right I needed g++, but then it fails again, think its time to give up and use the card reader.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You need the KDELibs development package. You may also need the Qt4 development package.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]