You are not logged in.
am I crazy or what ? look guys into /etc/rc.d/bluetooth:
first it has some variables predefined like:
DAEMON_ENABLE="true"
but then it reads:
[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth
so why do you set up your variables in rc.d file ? this file is to be replaced by first upgrade while conf.d file should never change - if so you will get pacsave file
am I wrong ?
Zygfryd Homonto
Offline
as I don't use gnome but kde for me bluez 4.30 is still an issue
everytime I switch on my laptop, I have to pair the mouse again
on old bluez-utils/libs it was not a case
this is making me frustrated already
I don't know - is it right, but for me i do as followiiing:
1. Make a file named "trusts" in any place, except /var (for me it in /etc/bluetooth) wich containes the line (without quotas) "BC:20:42:A0:00:00 [all]". Don't forgive change the MAC
2. put in rc.local the line "cp /etc/bluetooth/trusts /var/lib/bluetooth/XX\:XX\:XX\:XX\:XX\:XX/trusts".
That's all.
Last edited by sailor-02 (2009-02-17 05:44:27)
Everything is being developed on the spiral, continually entering into the corkscrew (c). V. Sumbatov
Offline
I wish it would be that easy
Zygfryd Homonto
Offline
Can those who have it working document the changes they did to the config files in /etc/conf.d/ and /etc/bluetooth? I was lazy and just copied over my old config files after a quick diff showed it didn't show too many differences.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
According to this, the hidd --connect ... is already deprecated. You don't need to change the config files (/etc/rc.d/bluetooth, /etc/conf.d/bluetooth) The only thing we need is to have the daemon running.
The daemon will use the config files stored in /var/lib/bluetooth. I went to the extent of installing kdebluetooth (on my gnome desktop) just to test it out... my mouse gets paired successfully, but it won't auto-reconnect. I noticed that my mouse was not paired as a trusted device, and there is no way I can change that from the applet.
If you don't have bluez-gnome, you can make it a trusted device by changing the config files manually. As pointed out by sailor-02, you need to have a /var/lib/bluetooth/<bt mac addr>/trusts file containing the line:
aa:bb:cc:dd:ee:ff [all]
where aa:bb:cc:dd:ee:ff is your mouse's MAC address.
Also verify that you have a /var/lib/bluetooth/<bt mac addr>/profiles file containing a line with your mouse's MAC address followed by a long list of numbers. This file is automatically created and filled by the applet. (Note: In bluez-0.3x, paired mouse devices are stored in /var/lib/bluetooth/<bt mac addr>/input instead)
Last edited by biloky (2009-02-19 01:42:56)
Offline
biloky, thanks for you suggestions, I'm just testing it
Zygfryd Homonto
Offline
If you don't have bluez-gnome, you can make it a trusted device by changing the config files manually. As pointed out by sailor-02, you need to have a /var/lib/bluetooth/trusts file containing the line:
aa:bb:cc:dd:ee:ff [all]
where aa:bb:cc:dd:ee:ff is your mouse's MAC address.
The only problem is that /var/lib/bluetooth/trusts is rewrited every time the bluetooth daemon stops. So i have to write it manually. Can anyone explaine to me how to exclude this step?
Everything is being developed on the spiral, continually entering into the corkscrew (c). V. Sumbatov
Offline
biloky, your suggestion works !
THANK YOUUUUUUUUUUUUUUUUU !!!!!
Zygfryd Homonto
Offline
biloky wrote:If you don't have bluez-gnome, you can make it a trusted device by changing the config files manually. As pointed out by sailor-02, you need to have a /var/lib/bluetooth/trusts file containing the line:
aa:bb:cc:dd:ee:ff [all]
where aa:bb:cc:dd:ee:ff is your mouse's MAC address.
The only problem is that /var/lib/bluetooth/trusts is rewrited every time the bluetooth daemon stops. So i have to write it manually. Can anyone explaine to me how to exclude this step?
NO, you don't need it - I just rebooted, all stays like before reboot
Zygfryd Homonto
Offline
I's following this thread since last update and got my bluetooth device working.
I still have one problem. Before bluez-4.30 there used to be conf file /etc/bluetooth/hcid.conf where a pin number can be specified and it was used for pairing. Now, since the conf file is gone, i do not know how to get that feature back. I need to keep kbluetooth4-devicemanager running and enter pin when connecting device requests for it. Which is ok but i'd love to do pairing even when i do not have X running.
Did anyone manage to do that ?
Thanks,
Vikas.
Offline
I's following this thread since last update and got my bluetooth device working.
I still have one problem. Before bluez-4.30 there used to be conf file /etc/bluetooth/hcid.conf where a pin number can be specified and it was used for pairing. Now, since the conf file is gone, i do not know how to get that feature back. I need to keep kbluetooth4-devicemanager running and enter pin when connecting device requests for it. Which is ok but i'd love to do pairing even when i do not have X running.
Did anyone manage to do that ?
Thanks,
Vikas.
Simple-agent from bluez source tarball: http://pastebin.ca/1341267
Asks you for pin when one is required like the kde or gnome passkey-agents.
If you want to connect a device to your machine (i.e. your machine is allowing others to connect) I think thats something you can set easily in the config-files.
Offline
@zyghom: Glad to be of help. Thanks goes to sailor-02 for leading us to the 'trusts' config file
Offline
The daemon will use the config files stored in /var/lib/bluetooth. I went to the extent of installing kdebluetooth (on my gnome desktop) just to test it out... my mouse gets paired successfully, but it won't auto-reconnect. I noticed that my mouse was not paired as a trusted device, and there is no way I can change that from the applet.
If you don't have bluez-gnome, you can make it a trusted device by changing the config files manually. As pointed out by sailor-02, you need to have a /var/lib/bluetooth/<bt mac addr>/trusts file containing the line:
aa:bb:cc:dd:ee:ff [all]
where aa:bb:cc:dd:ee:ff is your mouse's MAC address.
Also verify that you have a /var/lib/bluetooth/<bt mac addr>/profiles file containing a line with your mouse's MAC address followed by a long list of numbers. This file is automatically created and filled by the applet. (Note: In bluez-0.3x, paired mouse devices are stored in /var/lib/bluetooth/<bt mac addr>/input instead)
@biloky: Once you make your mouse a trusted device by changing the config file manually, will it then auto-reconnect at each boot? Thanks.
Offline
why I don`t see messages about a file transfer?
I can`t transfer files to my phone...
kdebluetooth4 finds my mobile phone but as input device... when I try to transfer file it shows me error message...
in gnome aplet bluetooth find my device. Pairing process is perfect but when I try to transfer file to phone I see the same error message...
Why it can`t transfer files?
Offline
@dhave: Yes. It auto-reconnects on reboots here, and it seems to work with zyghom too
@heartbeat: What error message do you get?
Offline
Im using blueman. It detects my phone, but if i try to send any file to the phone, it says obex-data-server is probably not installed, but it is!
Offline
An update for those who patched their gvfs...
There's this package in AUR: gvfs-rar. It has more patches. I just tried it and copying from PC to phone now works via nautilus (browse). O happy day...
@kalpik: You might want to check out this wiki page or the blueman AUR discussion here.
Last edited by biloky (2009-02-20 05:17:57)
Offline
Well, I'm glad to see that some of you are being successful in this struggle to regain a working Bluetooth service. Unfortunately I'm still stuck with this message when trying to run kbluetooth
zbyszek ~ $ kbluetooth
kbluetooth: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory
Anyone?
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
I had error code 127
I do not remember exactly...
Offline
Well, I'm glad to see that some of you are being successful in this struggle to regain a working Bluetooth service. Unfortunately I'm still stuck with this message when trying to run kbluetooth
zbyszek ~ $ kbluetooth kbluetooth: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory
Anyone?
bluez provides libbluetooth.so.3 so kbluetooth needs rebuilt
Edit: Does kbluetooth4 from kdebluetooth4 help at all?
Offline
can someone give me obex-data-server package?
Offline
Im using blueman. It detects my phone, but if i try to send any file to the phone, it says obex-data-server is probably not installed, but it is!
obex-data-server when starting says, that it needs shred libraries /usr/lib/libMagickCore.so.1 and /usr/lib/libMagickWand.so.1
They are provided by imagemagick, and now there are /usr/lib/libMagickCore.so.2 and /usr/lib/libMagickWand.so.2. Try to make needed symlinks to existing libraries - may be it helps
Everything is being developed on the spiral, continually entering into the corkscrew (c). V. Sumbatov
Offline
I rebuilt obex-data-server from the PKGBUILD, and now i can recieve files. But i still cannot send files to my phone
Offline
bluez provides libbluetooth.so.3 so kbluetooth needs rebuilt
Edit: Does kbluetooth4 from kdebluetooth4 help at all?
Yes, I know that it provides libbluetooth.so.3, I wrote about it couple posts above. I'm using KDEmod 3.5.10 at the moment, so don't have any idea if kbluetooth4 works.
Can you (or anyone else) write some tips how to rebuild kbluetooth, so it would see the new library? Have anyone tried to do this?
Last edited by Zibi1981 (2009-02-20 16:17:25)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
I rebuilt obex-data-server from the PKGBUILD, and now i can recieve files. But i still cannot send files to my phone
I have gnome-bluetooth package installed, open "Bluetooth File Sharing" in System Tool section, then I can receive files from phone correctly. But I have the same obex-data-server problems with you, which in terminal running says
obex-data-server: error while loading shared libraries: libMagickWand.so.1: cannot open shared object file: No such file or directory
Browse device function is not running properly either.
Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD
Offline