You are not logged in.

#1 2013-07-07 19:31:11

Opanos
Member
Registered: 2012-09-16
Posts: 42

[Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

At the packages database page i read:

x86_64 	Extra 	bluez4 	4.101-3 	Deprecated daemon and tools for the Bluetooth protocol stack

and

x86_64 	Extra 	bluez 	5.7-1 	Daemons for the bluetooth protocol stack

I choose to install bluez package after i found that bluez4 is deprecated

So i want to install and a wrapper, so i proceed with:

x86_64 	Extra 	libbluedevil 	1.9.3-2 	A Qt4 wrapper for bluez used in the new KDE bluetooth stack

Even pacman said :

pacman -Ss libbluedevil
"extra/libbluedevil 1.9.3-2
    A Qt4 wrapper for bluez used in the new KDE bluetooth stack

But, i you look closer you will find that one dependency of libbluedevil is the
bluez4 package and no bluez.
So, when i tried to install it, i get a conflict bluez & bluez4 and if i am not uninstall bluez, libbluedevil cant be installed.

Is there any way to install it,
or
is it some alternative?

Am i really confused and/or misunderstand something here?

Thank you,

Last edited by Opanos (2013-07-09 22:09:56)

Offline

#2 2013-07-07 19:34:25

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

bluez4 is the old api, which was renamed from bluez to bluez4 after bluez version 5 was released. This was done since all major frontends don't support it.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2013-07-07 19:42:18

Opanos
Member
Registered: 2012-09-16
Posts: 42

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

I understood that, but as i am sayin, i cant install anything else from the fact that -for example libbluedevil- requires bluez4.
from this point, libbluedevil, pulls out bluez4 i have the conflict between bluez & bluez4 and the process stops.

Last edited by Opanos (2013-07-07 19:42:43)

Offline

#4 2013-07-09 15:06:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

bluez and bluez4 can't coexist. You need to use one or the other.

Why did you install "bluez" in the first place? If you wanted a frontend, you should have just installed that frontend and let it pull in it's deps.

Last edited by Scimmia (2013-07-09 15:08:07)

Offline

#5 2013-07-09 17:26:40

Opanos
Member
Registered: 2012-09-16
Posts: 42

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

Ok,
first of all thank you, and now  from the beginning,

first of all i need a bluetooth package and as i read at packages page the bluez4 is deprecated.

So i move on with bluez.
Then i want a frontend, so i decide to install libbluedevil
But, as you can see, that depends -needs- by bluez4 and not bluez.
So when i tried to install it i had conflict situations and the process stops.

[root@arch panos]# pacman -Si libbluedevil
Repository     : extra
Name           : libbluedevil
Version        : 1.9.3-2
Description    : A Qt4 wrapper for bluez used in the new KDE bluetooth stack
Architecture   : x86_64
URL            : https://projects.kde.org/projects/playground/libs/libbluedevil
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : qt4  bluez4
Optional Deps  : None
Conflicts With : None
Replaces       : None
Download Size  :  78.71 KiB
Installed Size : 277.00 KiB
Packager       : Tom Gundersen <teg@jklm.no>
Build Date     : Sat 01 Jun 2013 02:52:16 PM EEST
Validated By   : MD5 Sum  SHA256 Sum  Signature

So my question is : Is bluez4 deprecated?
And if it is, how come and wrappers depends -need by- bluez4 and no bluez.
If i install bluez4, i think that i am going to loose possible updates [?] of the package?

If i tried to install libbluedevil alone -before bluez / bluez4-, does not pulls any dependecy.

Am i missing / misunderstood something here?

Offline

#6 2013-07-09 21:24:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

Opanos wrote:

So my question is : Is bluez4 deprecated?

Yes, it is, but that doesn't mean that it's not necessary. It's in the repo for a reason.

Opanos wrote:

And if it is, how come and wrappers depends -need by- bluez4 and no bluez.

Because bluez 5 has a different API (application programming interface) than bluez 4. Until the wrappers are update for the new API, they will only work with bluez 4.

Opanos wrote:

If i install bluez4, i think that i am going to loose possible updates [?] of the package?

I'm not sure I understand the question. Lose possible updates? bluez 4 is the old version, there aren't going to be any updates. It is what it is.

Opanos wrote:

If i tried to install libbluedevil alone -before bluez / bluez4-, does not pulls any dependecy.

BS. bluez4 is a dependency of libbluedevel so it would pull it in. In fact, that's what's happening now, you're installing it and it's pulling in bluez4 and giving you the confict.

Offline

#7 2013-07-09 22:09:15

Opanos
Member
Registered: 2012-09-16
Posts: 42

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

So, the answer is -if i got it right- that i have to stick to bluez4 at the moment.
Thank you.
smile

Offline

#8 2013-08-10 08:31:28

Fregtux
Member
From: Italy
Registered: 2013-08-01
Posts: 55

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

If you want use new bluez instead of deprecated versione bluez4, you can install from AUR bluedevil-bluez5-git, that need libbluedevil-bluez5-git that is compilated using new bluez version smile


ASUS P8P67 EVO | i7-2600k |RAM 16GB DDR 3 Vengeance@1600MHz | AMD 7950 Sapphire Dual-X | SSD: Samsung 830 250GB | HD: Western Digital Caviar Blue 1TB

Offline

#9 2013-08-12 16:30:45

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

Fregtux wrote:

If you want use new bluez instead of deprecated versione bluez4, you can install from AUR bluedevil-bluez5-git, that need libbluedevil-bluez5-git that is compilated using new bluez version smile

I believe that there is an RFC from early June where one of the developers wanted to move the packages over to bluez5 as dependencies but I guess that work is still ongoing?


Mike C

Offline

#10 2013-08-13 08:02:52

Fregtux
Member
From: Italy
Registered: 2013-08-01
Posts: 55

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

mcloaked wrote:
Fregtux wrote:

If you want use new bluez instead of deprecated versione bluez4, you can install from AUR bluedevil-bluez5-git, that need libbluedevil-bluez5-git that is compilated using new bluez version smile

I believe that there is an RFC from early June where one of the developers wanted to move the packages over to bluez5 as dependencies but I guess that work is still ongoing?

I tink so too: currently bluedevil need bluez4 as dependence instead bluez (5), so transition to the new version of bluez has not yet been made. Meanwhile, using bluedevil-bluez5-git from AUR solve this smile


ASUS P8P67 EVO | i7-2600k |RAM 16GB DDR 3 Vengeance@1600MHz | AMD 7950 Sapphire Dual-X | SSD: Samsung 830 250GB | HD: Western Digital Caviar Blue 1TB

Offline

#11 2013-08-13 08:19:54

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

I found that I could set up my BT mouse with the bluez (5) package, after removing bluez4 and dependencies, and used the command line to do everything by following the advice at https://wiki.archlinux.org/index.php/Bluetooth_Mouse, and avoiding the bluez4 parts - and then made the mouse work without having to re-pair it after reboot by following the post #3 from https://bbs.archlinux.org/viewtopic.php?id=166362

This seems to work fine for me - though this is just a single BT mouse. Others may want to connect to BT audio devices or mobile phones - perhaps there are equivalent pages to help with that. I could not find too many notes by googling to get bluez5 commands until I found the links above - which certainly helped me.

Last edited by mcloaked (2013-08-13 08:21:03)


Mike C

Offline

#12 2013-08-13 09:54:27

Fregtux
Member
From: Italy
Registered: 2013-08-01
Posts: 55

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

Yes, bluez (5) package already works fine, but the problem is when we try to install a bluetooth frontend like bluedevil for KDE: the latter needs bluez4 yet, so conflicts between bluez and bluez4 arise. For now, I found three solution:

-to use bluez (5)from command line (so without a frontend for KDE) as you done
-to use frontend bluedevil (KDE) with obsoleted bluez4
-to use bluedevil-bluez5-git (KDE) from AUR with new blue version (5)

I don't know the situation for others DE smile


ASUS P8P67 EVO | i7-2600k |RAM 16GB DDR 3 Vengeance@1600MHz | AMD 7950 Sapphire Dual-X | SSD: Samsung 830 250GB | HD: Western Digital Caviar Blue 1TB

Offline

#13 2013-08-13 14:13:26

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

Fregtux wrote:

Yes, bluez (5) package already works fine, but the problem is when we try to install a bluetooth frontend like bluedevil for KDE: the latter needs bluez4 yet, so conflicts between bluez and bluez4 arise. For now, I found three solution:

-to use bluez (5)from command line (so without a frontend for KDE) as you done
-to use frontend bluedevil (KDE) with obsoleted bluez4
-to use bluedevil-bluez5-git (KDE) from AUR with new blue version (5)

I don't know the situation for others DE smile

I tried bluedevil-bluez5-git (KDE) from AUR but it was unstable and crashed all the time so I gave up with that route which was why I went with CLI and Bluez - it also means that the mouse is active even before logging in to KDE. This would also work with any DE and does not depend on which DE is being used.


Mike C

Offline

#14 2013-08-13 18:10:15

Fregtux
Member
From: Italy
Registered: 2013-08-01
Posts: 55

Re: [Solved] Bluetooth - Bluez OR Bluez4: Confused about installation

I tried to change a file from my phone to Arch and vice versa using bluedevil-bluez5-git but phone says that PC denied file sent (phone to pc), and nothing happens if I try to send a file from pc to phone. I've to try bluedevil with deprecated bluez4 to verify if it is a  bluedevil-bluez5-git (or their dependencies) problem. Have you try to change files with bluedevil-bluez5-git?


ASUS P8P67 EVO | i7-2600k |RAM 16GB DDR 3 Vengeance@1600MHz | AMD 7950 Sapphire Dual-X | SSD: Samsung 830 250GB | HD: Western Digital Caviar Blue 1TB

Offline

Board footer

Powered by FluxBB