You are not logged in.

#76 2009-02-21 07:58:51

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Bluetooth doesn't work after last update.

Zibi1981 wrote:

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?

Grab PKGBUILD, rebuild package, upgrade, profit.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#77 2009-02-21 09:40:20

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Bluetooth doesn't work after last update.

O.K., I did that and now kbluetooth can be started, but it stays "greyed-out" even when my Bluetooth antenna is on. Here 's the output from the console

zbyszek ~ $  kbluetooth
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultPasskeyAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultPasskeyAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultPasskeyAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultAuthorizationAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultAuthorizationAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultAuthorizationAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")

Any further suggestions? smile


"... 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

#78 2009-02-21 09:46:38

mao(tm)
Member
From: Makhachkala, Daghestan, Russia
Registered: 2009-02-16
Posts: 3
Website

Re: Bluetooth doesn't work after last update.

sailor-02 wrote:
kalpik wrote:

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

Yes, it helps. I made both symbolic links, and transferrring files in both direction is working. But browsing mobele phone content don't working...


Debian GNU/Linux testing (home x86/work x86_64) + Archlinux GNU/Linux x86_64 (home notebook)

Offline

#79 2009-02-21 11:40:35

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Bluetooth doesn't work after last update.

Zibi1981 wrote:

O.K., I did that and now kbluetooth can be started, but it stays "greyed-out" even when my Bluetooth antenna is on. Here 's the output from the console

zbyszek ~ $  kbluetooth

[...]
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultPasskeyAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultPasskeyAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultPasskeyAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultAuthorizationAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultAuthorizationAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultAuthorizationAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")

Any further suggestions? smile

That looks like HAL/policykit stuff to me?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#80 2009-02-21 13:52:36

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Bluetooth doesn't work after last update.

To me to, but how to fix this? smile


"... 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

#81 2009-02-22 16:47:36

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Bluetooth doesn't work after last update.

biloky wrote:

Sure.

obex-data-server 0.4.4
- PKGBUILD (http://pastebin.com/f53d7fa24)

openobex 1.3
- PKGBUILD (http://pastebin.com/f5682340d)

nautilus-sendto 1.1.1
- PKGBUILD (http://pastebin.com/f624b6b4a)
- nautilus-sendto.install (http://pastebin.com/f409188c5)

bluez-gnome 1.8
- PKGBUILD (http://pastebin.com/fc1fe1e5)
- bluez-gnome-1.8-ODS-API.patch (http://pastebin.com/f45b0537f)
- bluez-gnome.install (http://pastebin.com/f732fbfb1)

gvfs 1.0.3
- PKGBUILD (http://pastebin.com/f3c012a7c)
- gvfs-obexftp-updated-apis-2.patch (http://pastebin.com/f383b5a81)
- gvfs.install (http://pastebin.com/f7c55ad97)

I have a problem ...

 makepkg -s
: command not found

would be nice to have bluetooth working ...

Last edited by Cosmin (2009-02-22 16:48:17)

Offline

#82 2009-02-22 22:48:56

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Bluetooth doesn't work after last update.

Have you read this wiki entry?


"... 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

#83 2009-02-23 07:53:06

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Bluetooth doesn't work after last update.

Zibi1981 wrote:

Have you read this wiki entry?

yes.
do I have to set up abs?

Offline

#84 2009-02-23 18:32:49

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Bluetooth doesn't work after last update.

Not necessarily I guess. Makepkg is a part of pacman package

zbyszek ~ $  pacman -Qo /usr/bin/makepkg
/usr/bin/makepkg jest własnością pacman 3.2.2-1

[TRANSLATION FROM POLISH]: "jest własnością" = "is owned by"


"... 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

#85 2009-02-24 12:12:19

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Bluetooth doesn't work after last update.

I still can't compile the packages.
Packages from AUR compiles and install ok, but with this packages I get
$ makepkg -s
: command not found

==> ERROR: An unknown error has occured. Exiting...

Offline

#86 2009-02-25 15:12:40

ugaciaka
Member
From: Italy
Registered: 2008-07-06
Posts: 140
Website

Re: Bluetooth doesn't work after last update.

I have XFCE

sudo pacman -Sy gnome-bluetooth bluez-libs bluez-utils bluez-gnome
sudo modprobe bluetooth
bluetooth-applet &
sudo /etc/rc.d/bluetooth start

After I created new device with bluetooth-applet but when I send a file

Launch helper exited with unknown return code 127

Help

Thank's

PS idem with kdebluetooth.


I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi

Offline

#87 2009-03-03 21:53:05

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Bluetooth doesn't work after last update.

Cosmin wrote:

I still can't compile the packages.
Packages from AUR compiles and install ok, but with this packages I get
$ makepkg -s
: command not found

==> ERROR: An unknown error has occured. Exiting...

same here

Offline

#88 2009-03-03 22:53:51

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Bluetooth doesn't work after last update.

Hey guys, I'm having the same problem with bluetooth not working, but also I can't install blueman properly. I even removed the package and try to reinstall but keep getting this:

~ > y blueman
Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (1): blueman-1.02-1  

Total Download Size:    0.00 MB
Total Installed Size:   3.04 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                   [############################################################################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
blueman: /usr/bin/bluetooth-sendto exists in filesystem
Errors occurred, no packages were upgraded.

==> Checking vote status for blueman
You have already voted for blueman inclusion/keeping in [community]
~ >

Offline

#89 2009-03-04 00:40:09

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Bluetooth doesn't work after last update.

Cosmin wrote:

I still can't compile the packages.
Packages from AUR compiles and install ok, but with this packages I get
$ makepkg -s
: command not found

==> ERROR: An unknown error has occured. Exiting...

I just learned that files downloaded from pastebin.com are CRLF terminated.  The CR characters should be removed to make linux (and makepkg) happy.

Here's one way to do it:

$ cat <origfilename> | tr -d '\r' > <newfilename>

big_smile

Offline

#90 2009-03-04 02:25:16

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Bluetooth doesn't work after last update.

biloky wrote:

I just learned that files downloaded from pastebin.com are CRLF terminated.  The CR characters should be removed to make linux (and makepkg) happy.

Here's one way to do it:

$ cat <origfilename> | tr -d '\r' > <newfilename>

big_smile

Wooooooowwwwwww really thanks!
cat couldn't help me, by contrast, break the file. But copying and pasting the content by hand worked perfect
   
see what happens now with kbluetooth

Offline

#91 2009-03-04 02:29:51

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Bluetooth doesn't work after last update.

Yeahhhh kbluetooth4 now work very fine!!!

really thank you biloky

Offline

#92 2009-03-04 11:45:39

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Bluetooth doesn't work after last update.

biloky wrote:
Cosmin wrote:

I still can't compile the packages.
Packages from AUR compiles and install ok, but with this packages I get
$ makepkg -s
: command not found

==> ERROR: An unknown error has occured. Exiting...

I just learned that files downloaded from pastebin.com are CRLF terminated.  The CR characters should be removed to make linux (and makepkg) happy.

Here's one way to do it:

$ cat <origfilename> | tr -d '\r' > <newfilename>

big_smile

Thank you. Thant helped a step.
Now I am having another problem. At these packages:

bluez-gnome 1.8
- PKGBUILD (http://pastebin.com/fc1fe1e5)
- bluez-gnome-1.8-ODS-API.patch (http://pastebin.com/f45b0537f)
- bluez-gnome.install (http://pastebin.com/f732fbfb1)

gvfs 1.0.3
- PKGBUILD (http://pastebin.com/f3c012a7c)
- gvfs-obexftp-updated-apis-2.patch (http://pastebin.com/f383b5a81)
- gvfs.install (http://pastebin.com/f7c55ad97)[/quote]

I get error at the patch:

makepkg -s
==> Making package: gvfs 1.0.3-2.5 x86_64 (Wed Mar  4 13:42:48 EET 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found gvfs-1.0.3.tar.bz2 in build dir
  -> Found gvfs-obexftp-updated-apis-2.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
  -> bsdtar -x -f gvfs-1.0.3.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patch: **** Only garbage was found in the patch input.
==> ERROR: Build Failed.
    Aborting...

Offline

#93 2009-03-06 02:42:59

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Bluetooth doesn't work after last update.

@cosmin:
Did you stripped all files of the CR characters?

I downloaded the files and did this:

$ cat f3c012a7c.txt | tr -d '\r' > PKGBUILD
$ cat f383b5a81.txt | tr -d '\r' > gvfs-obexftp-updated-apis-2.patch
$ cat f7c55ad97.txt | tr -d '\r' > gvfs.install

and it compiled fine.

Offline

#94 2009-03-06 09:06:16

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Bluetooth doesn't work after last update.

biloky wrote:

@cosmin:
Did you stripped all files of the CR characters?

I downloaded the files and did this:

$ cat f3c012a7c.txt | tr -d '\r' > PKGBUILD
$ cat f383b5a81.txt | tr -d '\r' > gvfs-obexftp-updated-apis-2.patch
$ cat f7c55ad97.txt | tr -d '\r' > gvfs.install

and it compiled fine.

Thank you very much big_smile
that worked and I solved my bluetooth problem big_smile
I tryed to copy paste the files from pastebin.com and that warked untill the patches
So, thanks all

Offline

#95 2009-03-13 05:30:42

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Bluetooth doesn't work after last update.

Well, my Bluetooth still doesn't work sad For example when I try to run KBlueLock I get

zbyszek ~ $  kbluelock
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
kbluelock: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x1824ff0
kbluelock: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: DefaultAdapter
kbluelock: libkbluetooth: getString(DefaultAdapter): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "DefaultAdapter" error name "(unset)" destination "org.bluez")
kbluelock: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path:  interface: org.bluez.Adapter conn: 0x1824ff0
kbluelock: Adding match failed: org.freedesktop.DBus.Error.MatchRuleInvalid: Path '' is invalid
kbluelock:
kbluelock: 0x1825590
zbyszek ~ $  kbluelock: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path:  mInterfacE: org.bluez.Adapter method: IsPeriodicDiscovery
process 24158: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1074.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
KCrash: Application 'kbluelock' crashing...

What a shitty update mad

Last edited by Zibi1981 (2009-03-13 05:31:40)


"... 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

#96 2009-03-31 18:14:04

Slack
Member
From: Chile
Registered: 2008-10-27
Posts: 52

Re: Bluetooth doesn't work after last update.

thanks guys, now bluetooth works fine. I can send and receive files.

but, how can I use the remote control of my cellphone?? as hidd --connect 00:23:45:A0:AA:AA doesn't work

help please ^^

edit: biloky's suggestions works fine! now remote control works!

Last edited by Slack (2009-03-31 18:32:13)


Excuse my poor english

Offline

#97 2009-07-30 00:20:57

brot
Member
Registered: 2009-07-28
Posts: 14

Re: Bluetooth doesn't work after last update.

zyghom wrote:

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 sad

hi guys,
I had the same problem. In fact, I still have it I guess, but I figured out at least some part of it.
The thing with that pairing over and over again is, that you don't have a "bluez-simple-agent" running. Make it run all the time and all your paired devices will reconnect back when needed.
The only thing I have not figured out, is how to retain it rinning after "suspend"?
I have put "/usr/bin/bluez-simple-agent &" in my "/etc/rc.local" file, so it starts ok when I boot up, bet after suspend it stops running. In my case I don't see gui interface of python pin helper eihter, but running the "agent" from command line does the initial pairing ok, so I dont bother.
there you go!

Offline

#98 2009-07-30 02:08:30

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: Bluetooth doesn't work after last update.

If you use pm-utils to suspend/resume you can put a script in /etc/pm/sleep.d which runs before and after suspend/hibernate. For example, I use this script just to play a sound before and after suspend or hibernate..

bd@bd-laptop ~ $ cat /etc/pm/sleep.d/80-sndalert 
#!/bin/bash
case $1 in
   hibernate)
        /usr/bin/play /usr/share/sounds/hibalert.wav
       ;;
   suspend)
       /usr/bin/play /usr/share/sounds/suspalert.wav
       ;;
   thaw)
        /usr/bin/play /usr/share/sounds/hibalert.wav
       ;;
   resume)
       /bin/sleep 5 && /usr/bin/play /usr/share/sounds/suspalert.wav
       ;;
   *)
       ;;
esac

try using that as a template and see how you go.

Last edited by my0pic (2009-07-30 02:10:24)

Offline

#99 2009-07-30 09:11:58

brot
Member
Registered: 2009-07-28
Posts: 14

Re: Bluetooth doesn't work after last update.

my0pic wrote:

If you use pm-utils to suspend/resume you can put a script in /etc/pm/sleep.d which runs before and after suspend/hibernate. For example, I use this script just to play a sound before and after suspend or hibernate..

bd@bd-laptop ~ $ cat /etc/pm/sleep.d/80-sndalert 
#!/bin/bash
case $1 in
   hibernate)
        /usr/bin/play /usr/share/sounds/hibalert.wav
       ;;
   suspend)
       /usr/bin/play /usr/share/sounds/suspalert.wav
       ;;
   thaw)
        /usr/bin/play /usr/share/sounds/hibalert.wav
       ;;
   resume)
       /bin/sleep 5 && /usr/bin/play /usr/share/sounds/suspalert.wav
       ;;
   *)
       ;;
esac

try using that as a template and see how you go.

Great, I'll give it a go.
btw, do you know how to arrange, that screen actually locks when lid action is triggered? It only locks if I tell it to lock by clicking "lock& suspend" button. Otherways it just suspends and comes back with an unlocked session.

Offline

#100 2009-08-17 16:55:19

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Bluetooth doesn't work after last update.

Zibi1981 wrote:

O.K., I did that and now kbluetooth can be started, but it stays "greyed-out" even when my Bluetooth antenna is on. Here 's the output from the console

zbyszek ~ $  kbluetooth
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultPasskeyAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultPasskeyAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultPasskeyAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x1ce9e70
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultAuthorizationAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultAuthorizationAgent): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Security" member "RegisterDefaultAuthorizationAgent" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.bluez.Manager" member "ListAdapters" error name "(unset)" destination "org.bluez")

Any further suggestions? smile

Did you find any solution?


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB