LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   bluez-4.x in -current (20100303) (https://www.linuxquestions.org/questions/slackware-14/bluez-4-x-in-current-20100303-a-792878/)

rworkman 03-03-2010 09:04 AM

bluez-4.x in -current (Updated 20100423)
 
Anyone wanting to play around with bluez4 in -current, this is for you.
http://connie.slackware.com/~rworkman/bluez/

tridc 03-03-2010 12:27 PM

Hi,

I dont intend to try it but I dont understand this thing: why you write DO NOT TRY TO USE THESE PACKAGES ON A 13.0 SYSTEM!

I'm using bluez-4.60 on 13.0 system. Are there any problem?

JokerBoy 03-03-2010 12:32 PM

it's only for "-current", "13.0" = "-stable".

sahko 03-03-2010 12:50 PM

Quote:

Originally Posted by tridc (Post 3884240)
Hi,

I dont intend to try it but I dont understand this thing: why you write DO NOT TRY TO USE THESE PACKAGES ON A 13.0 SYSTEM!

I'm using bluez-4.60 on 13.0 system. Are there any problem?

Those packages were compiled and link against libraries and packages in general part of Slackware-current.
If you compiled bluez 4.60 on your own thats your own business. But Robby's packages only work on -current.
Alternatively you can grab the sources/ dir and build them yourself but again you are on your own.

dolphin77 03-03-2010 02:51 PM

thank you.

JokerBoy 03-08-2010 02:02 AM

@rworkman,

from what i know obexd is required only by 'gnome-bluetooth'. works using just obex-data-server.

and thanks. :)

rworkman 03-08-2010 08:23 AM

Quote:

Originally Posted by JokerBoy (Post 3889895)
from what i know obexd is required only by 'gnome-bluetooth'. works using just obex-data-server.

Okay, good to hear. That fits with my experience here - only obex-data-server was required to do what I needed. Thanks!

rworkman 04-23-2010 08:57 AM

I just pushed some updates to this stuff.

bluez is upgraded to 4.63; blueman is rebuilt (you need to remove $HOME/.config/blueman/); obexd and gvfs are removed, as they're no longer needed.

As before, I still need more feedback on whether the "Browse" functionality works as expected. I reworked the helper script in blueman that performs the browsing, but I still lack the needed devices to test it.

dolphin77 04-24-2010 08:27 AM

awesome!

Thank you very much, Robby.

Finally I was able to use my iPhone's internet tethering feature. Without having too much to do. For those interested - here is a short howto.

1) install the above packages, reboot.

2) enable internet tethering in your iPhone

3) go to settings - general - bluetooth, switch it on and wait till discovering possible message appears in the bottom.

4) pc part - start up blueman. discover new devices. Wait till your iphone appears there. pair it. right click it and switch on access point.

After that bnep0 device appears in my system, but it is not automatically configured. I had to run:

dhcpcd bnep0

and after that everything works.

PS tested on the iPhone 3G model. GSM operator with GPRS EDGE connection. GSM operator - Kyivstar GSM.


Thank you Robby.

mats_b_tegner 05-03-2010 08:27 AM

After upgrading to the latest bluez packages I'm getting the following error message when running hciconfig:

bash-4.1# hciconfig
hciconfig: symbol lookup error: hciconfig: undefined symbol: hci_bustostr

I checked /var/log/messages |grep Bluetooth:

May 3 15:05:24 hp-laptop kernel: Bluetooth: Core ver 2.15
May 3 15:05:24 hp-laptop kernel: Bluetooth: HCI device and connection manager initialized
May 3 15:05:24 hp-laptop kernel: Bluetooth: HCI socket layer initialized
May 3 15:05:24 hp-laptop kernel: Bluetooth: Generic Bluetooth USB driver ver 0.6
May 3 15:05:59 hp-laptop bluetoothd[2018]: Bluetooth daemon 4.64
May 3 15:06:00 hp-laptop kernel: Bluetooth: L2CAP ver 2.14
May 3 15:06:00 hp-laptop kernel: Bluetooth: L2CAP socket layer initialized
May 3 15:06:00 hp-laptop kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
May 3 15:06:00 hp-laptop kernel: Bluetooth: BNEP filters: protocol multicast
May 3 15:06:01 hp-laptop kernel: Bluetooth: SCO (Voice Link) ver 0.6
May 3 15:06:01 hp-laptop kernel: Bluetooth: SCO socket layer initialized
May 3 15:06:01 hp-laptop kernel: Bluetooth: RFCOMM TTY layer initialized
May 3 15:06:01 hp-laptop kernel: Bluetooth: RFCOMM socket layer initialized
May 3 15:06:01 hp-laptop kernel: Bluetooth: RFCOMM ver 1.11

From /var/log/syslog:
May 3 15:06:00 hp-laptop bluetoothd[2022]: Failed to find Bluetooth netlink family

How do I fix this? Kernel module recompilation?

Edit:
A self compiled version of hciconfig works, but only if executed within the build directory. By running 'make install' I still get the symbol error. I don't know what to do at the moment other than disable Bluetooth and wait for an updated package.

rworkman 05-03-2010 09:37 AM

It works here, so make sure all of your packages are in sync.

mats_b_tegner 05-03-2010 09:46 AM

All my packages are in sync. Which packages do I need to reinstall besides bluez?

Edit: I have reinstalled all three bluez packages, blueman, obex-dataserver, obexfs, obexftp, openobex and pilot-link. I made rc.bluetooth executable with chmod 755. blueman-manager and hcitool works, but not hciconfig. What am I missing? These are the packages from -current and not Robby's BTW.

Edit: The reason was muliple versions of libbluetooth in /usr/lib and /usr/lib64. I removed the ones in /usr/lib.

Jack128 05-03-2010 10:18 AM

I updated today slackware64-current,
and I want to try the blueman package (1.21-x86_64-1).
If I run the blueman-manager, I get this error:

Code:

bash-4.1# blueman-manager
Loading configuration plugins
_________
<module> (/usr/lib64/python2.6/site-packages/blueman/main/Config.py:20)
Skipping plugin Gconf
No module named gconf
Using file config backend
Segmentation fault

I redownloaded it, reinstalled it, nothing
changed.

Can anyone help me?
Best regards,
Jack.

rworkman 05-04-2010 08:09 AM

Quote:

Originally Posted by mats_b_tegner (Post 3955712)
All my packages are in sync. Which packages do I need to reinstall besides bluez?

Edit: I have reinstalled all three bluez packages, blueman, obex-dataserver, obexfs, obexftp, openobex and pilot-link. I made rc.bluetooth executable with chmod 755. blueman-manager and hcitool works, but not hciconfig. What am I missing? These are the packages from -current and not Robby's BTW

I can't reproduce that here, and I've not seen any other reports of similar, and besides, that error indicates that there are one or more packages out of sync with each other. Off the top of my head, I don't know what else to suggest reinstalling, so the only thing that comes to mind is a reinstall of the entire package tree. Also, make sure you have removed all of the packages that were removed from the -current tree.

rworkman 05-04-2010 08:10 AM

Quote:

Originally Posted by Jack128 (Post 3955736)
I updated today slackware64-current,
and I want to try the blueman package (1.21-x86_64-1).
If I run the blueman-manager, I get this error:

Code:

bash-4.1# blueman-manager
Loading configuration plugins
_________
<module> (/usr/lib64/python2.6/site-packages/blueman/main/Config.py:20)
Skipping plugin Gconf
No module named gconf
Using file config backend
Segmentation fault


Were you already running slackware64-current, or did you just upgrade yesterday?


All times are GMT -5. The time now is 03:24 AM.