LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kbluetooth4 for slackware 13-current (https://www.linuxquestions.org/questions/slackware-14/kbluetooth4-for-slackware-13-current-771179/)

drgr33n 11-24-2009 04:27 AM

kbluetooth4 for slackware 13-current
 
Here's a little guide and the slackbuilds for kbluetooth4 and its dependents.

First you are going to have to remove the old bluez-libs and bluez-utils packages. Bluez have merged both these packages into one.

All SlackBuilds have been optimized for x86_64. Change to suit your needs...

UPDATE!!!:
All SlackBuilds have now been fixed. Sorry me rushing things again lol :D
Fixed doinst.sh and SlackBuild in bluez to copy all the configuration files to /etc/bluetooth.
Added libusb-1* udev was not able to start the bluetooth daemon with the old legacy package.

Click here to download the packages.

Please build and install libusb and openobex before trying to compile the other packages.

PS:

You may want to make a symlink to the daemon startup scripts as if you have a internal bluetooth adapter it will initialize before the udev daemon and the bluetooth daemon will fail to load. Alternatively just start the bluetooth daemon from terminal.


Screenshot ..

sahko 11-24-2009 04:47 AM

kdebluetooth4 AFAIK needs updated bluez packages as well as obex-data-server (not yet in Slackware)

drgr33n 11-24-2009 06:02 AM

Everything is included in the first post. If you would like to try it out let me know how you get on. Cheers

dolphin77 11-24-2009 02:35 PM

Thanks for the above... This is still something in my 'todo' 'totry' list :)

But why not this app: http://kde-apps.org/content/show.php...content=112110

Not sure, but kdebluetooth seems down for a while. and this looks like a renewed project...

drgr33n 11-24-2009 05:44 PM

Hey dolphin77,

The link you provided is kbluetooth :D Just noticed there is a newer version, I'll update the package TY :D

sahko 11-24-2009 06:30 PM

I just noticed you are talking about kbluetooth, not kdebluetooth http://kde-apps.org/content/show.php...?content=84761

drgr33n 11-24-2009 07:25 PM

Hey again sahko. Yes I was talking about kbluetooth sorry I got confused because of the two being so similar.

Its all a bit confusing because there's kdebluetooth, kbluetooth and kbluetooth4 over on gitorious :/

Still both need the bluez-4* and obex packages.

rworkman 11-24-2009 11:54 PM

drgr33n:

I mailed you about this. All things considered, not bad at all. I've got a "works for me" bluez4 stack (with blueman, a gtk app) up and running here, so I was curious as to any differences in your stuff and mine. Aside from style issues and a few minor nits here and there, we pretty much arrived to the same place from different directions, and that's a good sign :-)

I don't think it's necessary to have bluetoothd start at boot any more (so no need for rc.bluetooth), but I addressed that in the email, so we can continue this conversation there - I just wanted to offer some public kudos first :-)

brixtoncalling 11-25-2009 01:37 AM

Thanks for the scripts!

However, when I run kbluetooth4, I get errors like:
Code:

QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.freedesktop.DBus.Introspectable" member "Introspect"
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.bluez.Adapter" member "ListDevices"
QDBusObjectPath: invalid path ""
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.freedesktop.DBus.Introspectable" member "Introspect"
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.bluez.Adapter" member "ListDevices"
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.bluez.Adapter" member "StartDiscovery"
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.bluez.Adapter" member "StopDiscovery"
QDBusConnection: error: could not send message to service "org.bluez" path "" interface "org.bluez.Adapter" member "StopDiscovery"

I don't get an icon in the task bar unless I run rc.bluetooth and in that case the icon is just jumbled pixels. No bluetooth devices are ever detected.

rworkman 11-25-2009 02:09 AM

I get that same thing here with kbluetooth; that's why I use blueman :-)

I'm not *sure* about this, but *maybe* rebuilding kde with bluez4 installed will fix that. I've had more important things on my TODO list, so I haven't had a chance to find out...

brixtoncalling 11-25-2009 02:46 AM

Quote:

Originally Posted by rworkman (Post 3768853)
I'm not *sure* about this, but *maybe* rebuilding kde with bluez4 installed will fix that.

Yikes! No thanks... Do you have a SlackBuild available for blueman?

uppman 11-25-2009 03:08 AM

Good job!

I have tried to get kbluetooth working before but never succeded. Hopefully it will work with your stuff.

/Magnus

rworkman 11-25-2009 03:08 AM

http://connie.slackware.com/~rworkman/blueman/

dolphin77 11-25-2009 03:09 AM

rlworkman:

Why not publish working solution (I understood, it is bluez4 + gtk app blueman) on slackbuilds.org?

best regards,
Vladimir

EDIT: oops, you already posted while I was typing. Thank you.

drgr33n 11-25-2009 05:28 AM

@ rworkman,

EDIT: Sorry rworkman I found your email in my spam folder :( I've mailed you back.

lol we were thinking down the same lines on rc.bluetooth too :D I wasn't sure if it was necessary to add rc.bluetooth to start the daemon at startup ?. I left it as a matter of convenience and lack of testing ;)

@ everyone else

As for the error's I don't know if I will carry on with kbluetooth or also go down the blueman route?. kbluetooth seemed fine on my system but as I'm testing I'm finding more than a few issues as its far from a finished project.

Cheers,

Zarren


All times are GMT -5. The time now is 08:52 PM.