Again: Bluetooth problems (KDE 4.12.1) [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Again: Bluetooth problems (KDE 4.12.1) [Solved]

Postby linuxfluesterer » Sun Feb 02, 2014 18:10

Hallo guys.
This is my status.
Sabayon 14.02, 64bit, Kernel 3.13.0, with KDE 4.12.1 and Bluez 5.12.
I could manage to make bluetooth visable in taskbar after reboot with the command:
Code: Select all
systemctl enable bluetooth

Then after useless tries to connect and access my Galaxy Note 3 with that bluetooth, I tried to connect my bluetooth headset 'Nokia BT 505', which supports the 'A2DP' protocol to finally use skype or kaffeine. Here are 2 URLs to understand, why I mention 'A2DP':
https://bbs.archlinux.org/viewtopic.php?id=166678&p=2
and this also:

http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/5.0/
So, then, like I did in earlier KDE releases with Bluez4, I tried to connect this A2DP supported Nokia headset. I could add this device, it was shown then as 'bluetooth device' by right click on the bt symbol in taskbar. But then, when I click on 'connect' to this device, I receive a KDE error message, a segmentation fault. This error is reproducable:
Image
There are no other debug informations. Is there something, I can do more? I think, maybe we have (still) a KDE problem. Will you agree?
Thank you in advance.

-Linuxfluesterer (I love KDE ...)
Last edited by linuxfluesterer on Sat Aug 02, 2014 19:23, edited 3 times in total.
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby Fitzcarraldo » Sun Feb 02, 2014 19:07

Linuxfluesterer, I think you are flogging a dead horse with Bluez-5 at present. I'm running KDE 4.12.1 with Bluez-4 on my main laptop which runs Gentoo and have no trouble with Bluetooth and KDE. The fundamental problem is Bluez-5, I think. you're just going to have to wait until upstream fixes the code.

Code: Select all
[email protected] ~ $ eix -I blue
[I] dev-python/pybluez
     Available versions:  0.18 (~)0.18-r1 {examples PYTHON_TARGETS="pypy2_0 python2_6 python2_7"}
     Installed versions:  0.18-r1(19:00:58 05/10/13)(-examples PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6")
     Homepage:            http://code.google.com/p/pybluez/
     Description:         Python bindings for Bluez Bluetooth Stack

[I] net-libs/libbluedevil
     Available versions:  (4) 1.9.4 [m](~)2.0_pre1[1]
       {aqua debug}
     Installed versions:  1.9.4(4)(03:37:53 23/09/13)(-aqua -debug)
     Homepage:            http://projects.kde.org/projects/playground/libs/libbluedevil
     Description:         Qt wrapper for bluez used in the KDE bluetooth stack

[I] net-wireless/bluedevil
     Available versions:  (4) 1.3.2 [m](~)2.0_pre1[1] [m](~)2.0_pre2[1]
       {aqua debug LINGUAS="ar bs ca [email protected] cs da de el en_GB eo es et eu fa fi fr ga gl hu it ja kk km ko lt mai mr ms nb nds nl pa pl pt pt_BR ro ru sk sl sr [email protected] [email protected] [email protected] sv th tr ug uk zh_CN zh_TW"}
     Installed versions:  1.3.2(4)(01:14:29 23/09/13)(-aqua -debug LINGUAS="en_GB pt_BR -ar -bs -ca [email protected] -cs -da -de -el -eo -es -et -eu -fa -fi -fr -ga -gl -hu -it -ja -kk -km -ko -lt -mai -mr -ms -nb -nds -nl -pa -pl -pt -ro -ru -sk -sl -sr [email protected] [email protected] [email protected] -sv -th -tr -ug -uk -zh_CN -zh_TW")
     Homepage:            http://projects.kde.org/projects/extragear/base/bluedevil
     Description:         Bluetooth stack for KDE

[U] net-wireless/bluez
     Available versions:  4.101-r6 4.101-r7 4.101-r8 (~)5.12(0/3) {alsa cups debug gstreamer hid2hci obex pcmcia readline selinux systemd test test-programs usb PYTHON_SINGLE_TARGET="python2_6 python2_7" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  4.101-r8(23:38:08 31/01/14)(alsa cups pcmcia readline usb -debug -gstreamer -hid2hci -selinux -test-programs PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://www.bluez.org
     Description:         Bluetooth Tools and System Daemons for Linux

[I] net-wireless/bluez-hcidump
     Available versions:  2.4 2.5
     Installed versions:  2.5(17:07:40 05/05/13)
     Homepage:            http://www.bluez.org/
     Description:         Bluetooth HCI packet analyzer

[I] sys-firmware/bluez-firmware
     Available versions:  1.2^md
     Installed versions:  1.2^md(17:06:01 05/05/13)
     Homepage:            http://bluez.sourceforge.net/
     Description:         Firmware for Broadcom BCM203x and STLC2300 Bluetooth chips.

[1] "sabayon" /var/lib/layman/sabayon

Found 6 matches.
[email protected] ~ $
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby linuxfluesterer » Sun Feb 02, 2014 19:31

Dear Fitz.
I really appreciate, that you can use bluetooth by mixing equo and portage (or whatever eix might be). Who else can do?
I confess, I am not firm with that, and after installing eix, I did an 'eix-update' which did not download anything. I do not understand the differences and commons between portage and equo, yes, I'm confused about this topic. What I remember is, that it is warned to mix both as all I know.
Exactly, I do not understand, why in this distribution bluez5 is not masked as default and not delivered with bluez4 until bluez5 is working.
Also, in other threads here, it seems possible, to make bluetooth (bluez5) working at least with a keyboard.

-Linuxfluesterer (I love KDE ...)
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby Fitzcarraldo » Mon Feb 03, 2014 5:57

linuxfluesterer wrote:Exactly, I do not understand, why in this distribution bluez5 is not masked as default and not delivered with bluez4 until bluez5 is working.

Bluez-5 is not masked in SL because it is required by GNOME 3.10.*, which SL supplies in addition to KDE. In order for SL, a binary distribution, to offer both DE's simultaneously, it has to provide Bluez-5 rather than Bluez-4. If SL did not offer GNOME 3.10.*, only KDE, then it could have used Bluez-4. But, as SL wants to offer both DEs simultaneously, it has no choice but to use Bluez-5 because GNOME 3.10.* insists on Bluez-5.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby linuxfluesterer » Mon Feb 03, 2014 10:50

Thank you, Fitz.
I've read about this argument, though I've read also, that Gnome users have several problems to use bluetooth with bluez5. Anyway, how can I change a fresh installed Daily Build KDE Sabayon (let's say 14.02 of date 29/01/2014 from bluez5 back to bluez4, pls? Your idea with airdroid is just nice, but I do not feel convenient, when I must be connected with airdroid website though I use USB cable. And just for some small files, bluetooth is best for me. Can you help me, pls? Thank you in advance, really.

-Linuxfluesterer (I love KDE ...)
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby CxOrg » Sat Mar 08, 2014 17:47

Downloaded latest Bluez 5.15 from http://www.bluez.org/download/
Compiled and installed without problems. After a reboot there are no longer seg-faults when my BT mouse connects. Looking good so far. Bluetooth tethering works fine with an LG G2. More challenging connections like A2DP to a bluetooth speaker not yet! Pairing OK but no sound device showing. Maybe some work with ALSA will get this to fly.
CxOrg
Baby Hen
 
Posts: 3
Joined: Wed Mar 05, 2014 9:50

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby Fitzcarraldo » Sun Mar 09, 2014 6:04

Bluez-5 was unmasked in the Portage main tree and I finally upgraded from Bluez-4 on 5 February on my main laptop running Gentoo, but Bluetooth does not work any more for file transfers from my Galaxy Note II to the laptop. I decided to bite the bullet, as Bluez-4 is deprecated and I would have to jump at some point anyway.

I tried re-merging all the packages yesterday, just in case, but Bluetooth still does not work. I won't bother downgrading to Bluez-4 as I have other means of transferring files from phone to laptop. I'll just wait until the Bluez developers fix it. This has been the story with Bluetooth in Linux since I started using it in 2007: it works; it breaks; it works; it breaks. A common story with FOSS. Anyway, just for information, these are the packages currently installed on my laptop (I'm using KDE 4.12.3 at the moment):

Code: Select all
# eix -I blue
[I] dev-python/pybluez
     Available versions:  0.18 0.18-r1 {examples PYTHON_TARGETS="pypy2_0 python2_6 python2_7"}
     Installed versions:  0.18-r1(19:45:55 08/03/14)(-examples PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6")
     Homepage:            http://code.google.com/p/pybluez/
     Description:         Python bindings for Bluez Bluetooth Stack

[I] net-libs/libbluedevil
     Available versions:  (4) 1.9.4 [m](~)2.0_pre1[1] (~)2.0_rc1 [m]**9999[2]
       {aqua debug}
     Installed versions:  2.0_rc1(4)(19:45:26 08/03/14)(-aqua -debug)
     Homepage:            http://projects.kde.org/projects/playground/libs/libbluedevil
     Description:         Qt wrapper for bluez used in the KDE bluetooth stack

[I] net-wireless/bluedevil
     Available versions:  (4) 1.3.2 [m](~)2.0_pre1[1] [m](~)2.0_pre2[1] (~)2.0_rc1 [m]**9999[2]
       {aqua debug LINGUAS="ar bs ca [email protected] cs da de el en_GB eo es et eu fa fi fr ga gl hu it ja kk km ko lt mai mr ms nb nds nl pa pl pt pt_BR ro ru sk sl sr [email protected] [email protected] [email protected] sv th tr ug uk zh_CN zh_TW"}
     Installed versions:  2.0_rc1(4)(19:47:31 08/03/14)(-aqua -debug LINGUAS="en_GB pt_BR -ar -bs -ca [email protected] -cs -da -de -el -eo -es -et -eu -fa -fi -fr -ga -gl -hu -it -ja -kk -km -ko -lt -mai -mr -ms -nb -nds -nl -pa -pl -pt -ro -ru -sk -sl -sr [email protected] [email protected] [email protected] -sv -th -tr -ug -uk -zh_CN -zh_TW")
     Homepage:            http://projects.kde.org/projects/extragear/base/bluedevil
     Description:         Bluetooth stack for KDE

[I] net-wireless/bluez
     Available versions:  4.101-r8 (~)5.14-r1(0/3) (~)5.15(0/3) {alsa cups debug gstreamer hid2hci +obex pcmcia readline selinux systemd test test-programs usb PYTHON_SINGLE_TARGET="python2_6 python2_7" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  5.15(19:44:50 08/03/14)(cups obex readline -debug -selinux -systemd -test)
     Homepage:            http://www.bluez.org
     Description:         Bluetooth Tools and System Daemons for Linux

[I] net-wireless/bluez-hcidump
     Available versions:  2.4 2.5
     Installed versions:  2.5(19:46:16 08/03/14)
     Homepage:            http://www.bluez.org/
     Description:         Bluetooth HCI packet analyzer

[I] sys-firmware/bluez-firmware
     Available versions:  1.2^md
     Installed versions:  1.2^md(19:43:04 08/03/14)
     Homepage:            http://bluez.sourceforge.net/
     Description:         Firmware for Broadcom BCM203x and STLC2300 Bluetooth chips.

[1] "sabayon" /var/lib/layman/sabayon
[2] "kde" /var/lib/layman/kde

Found 6 matches.
# eix -I obex
[I] app-mobilephone/obex-data-server
     Available versions:  0.4.6 {debug gtk imagemagick usb}
     Installed versions:  0.4.6(19:56:12 08/03/14)(gtk usb -debug -imagemagick)
     Homepage:            http://tadas.dailyda.com/blog/category/obex-data-server/
     Description:         A DBus service providing easy to use API for using OBEX

[I] app-mobilephone/obexd
     Available versions:  0.46 [M](~)0.48 {-eds nokia -server usb}
     Installed versions:  0.46(19:56:34 08/03/14)(usb -eds -nokia -server)
     Homepage:            http://www.bluez.org/
     Description:         OBEX Server and Client

[I] app-mobilephone/obexftp
     Available versions:  0.23-r1 (~)0.23-r2 {bluetooth debug perl python ruby tcl PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  0.23-r2(19:57:13 08/03/14)(bluetooth -debug -perl -python -ruby -tcl PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
     Description:         File transfer over OBEX for mobile phones

[I] dev-libs/openobex
     Available versions:  1.5 {bluetooth debug irda syslog usb}
     Installed versions:  1.5(19:55:40 08/03/14)(bluetooth irda usb -debug -syslog)
     Homepage:            http://sourceforge.net/projects/openobex/
     Description:         An implementation of the OBEX protocol used for transferring data to mobile devices

Found 4 matches.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby linuxfluesterer » Mon Mar 10, 2014 10:55

Hallo to all, hallo Fitz...
I've read your last post and I did the same, you've posted here before. You use older bluetooth components.
For me, I've had older backups of bluez-4.101, bluedevil and libbluedevil. I have stopped the running (broken) bluez, bluetooth service also and then I have installed the older versions. Then I have masked the newer versions, especially bluez-5 and (for sure) I've rebooted. And (what a surprise), I could access my Galaxy Note 3 and my headsets via bluetooth again. So, I can work now, but with the new bluez-5 this thread is NOT solved yet. Anyway, I will finish it here.
And, thank you, Fitz, I've learned about using eix and portage here. That was the best result for me.

-Linuxfluesterer (I love KDE ...)
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Again: Bluetooth problems (KDE 4.12.1)

Postby Fitzcarraldo » Tue Jul 29, 2014 19:08

linuxfluesterer, I was just wondering if Bluetooth with Bluez-5 is working for you in SL these days?

For users of OpenRC such as myself, bluez-5.21-r1, released yesterday afternoon, finally fixed the problem, so I can again transfer files to and from my mobile phone and my laptop via Bluetooth: Gentoo Forums - someone got bluetooth running ?? There was a Gentoo bug in the Bluez ebuild prior to 5.21-r1 which should only have affected users of OpenRC (i.e. Gentoo users who merged bluez with USE="-systemd"), so that bug should not have affected SL users, who use systemd and for whom bluez in the Entropy repository was merged with USE="systemd". Bluez in SL is currently at version 5.18 in the Sabayon Weekly Entropy repository, so I wonder if that has something to do with Bluetooth not working for SL KDE users. Or is Bluetooth with Bluez-5 working for you now?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Again: Bluetooth problems (KDE 4.12.1) [partly solved]

Postby linuxfluesterer » Thu Jul 31, 2014 22:07

Hallo, Fitz...
I was on trip in last weeks. Came back yesterday.
I've just tested bluez 5.18-r1 (actual) with sending files from my Note 3 to notebook and vice versa via bt. That works. Though I remember, that it got worked some time before, but KDE forgets my Note 3 device. So, I have to reinstall (add) my Note 3 again. Still persists (after reboot).
The second point, which I can test maybe tomorrow then, is to use bluetooth headset, which didn't work for me before, but I've read that seems to be a pulse problem. There was a workaround, but (sorry), that sounded too complicated and, when it worked in former times without any workaround, I prefer to wait, until pulse and bluetooth will work together again. At the moment, I must charge my battery from bt headset. Then I can test the status of bluez 5.18-r1. I'll let you know.
However, bluez 5.21-r1 is not part of SL weekly repo yet (for upgrade).

-Linuxfluesterer (I love KDE ...)
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Next

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests