openSUSE Forums > Hardware » Bluetooth Solution for openSUSE 11.1

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
Page 3 of 5 12 3 45
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 05-Jan-2009, 05:02
Student Penguin
 
Join Date: Sep 2008
Posts: 62
hnimmo hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Try 0000. I have a MS BT Mouse 5000 and it only accepts that, with no possibility ot change it.
Reply With Quote
  #22 (permalink)  
Old 06-Jan-2009, 13:40
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 9
matthewcraig hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

More information in the comments of this bug report, including different approaches to the problem.
Reply With Quote
  #23 (permalink)  
Old 07-Jan-2009, 22:27
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 3
nelsonlye hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Hi is there anyone can help me on my problem??? Thx
Reply With Quote
  #24 (permalink)  
Old 10-Jan-2009, 12:56
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 26
TexasDayLily hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Quote:
Originally Posted by nelsonlye View Post
Hi all, I have some problem...is for the TRUST part...

Code:
linux-0wpl:/home/nelsonlye/Documents # ./test-device.pl trusted 00:07:61:D4:B4:DE yes
bash: ./test-device.pl: No such file or directory
Can someone guide me???? Thanks...
I believe you may have named the file test-device. If you rename it to test-device.pl the command may work. Either that or use the command

Code:
./test-device trusted 00:07:61:D4:B4:DE yes
Reply With Quote
  #25 (permalink)  
Old 13-Jan-2009, 23:52
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 2
penguinchris hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

I got this stuff to work, with a Microsoft Bluetooth Notebook Mouse 5000 (using pin 0000 worked, good tip there.) I haven't tested if it works after reboot, but that's not that important. What's important is that we get some official updates to fix this - I think it's a little ridiculous that this stuff was broken somewhere along the way and not fixed for the 11.1 release (I don't know with whom the fault may lie, doesn't matter, it happened.)

When I first tried bluetooth devices I was actually surprised with how well it worked (that was with 10.3) - I'm used to having to fiddle with stuff to get hardware working, but it worked right out of the box! And it worked in 11.0. So needless to say I'm really quite disappointed.

So I got a little concerned when the bug report that's linked to here was marked as resolved - are there other bug reports regarding bluetooth stuff?

Can we expect official updates to fix all this anytime soon? I'm not sure how to tell if something's being worked on.

Also, it's a little unclear what the status of this is - is it only a kde 3 problem? I don't use kde 4 or gnome so I'm not sure if it's broken in those as well.
Reply With Quote
  #26 (permalink)  
Old 14-Jan-2009, 00:57
Puzzled Penguin
 
Join Date: Oct 2008
Posts: 1
PhaZ hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Can I get help with this?

Code:
 # ./simple-agent.pl hci0 00:18:A3:00:76:C8
Traceback (most recent call last):
  File "./simple-agent.pl", line 80, in <module>
    manager = dbus.Interface(bus.get_object("org.bluez", "/"),
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
thanks
Reply With Quote
  #27 (permalink)  
Old 15-Jan-2009, 14:26
Puzzled Penguin
 
Join Date: Sep 2008
Posts: 7
truemacias hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Thank you very much for this info. A little clarification, you wrote "dongle", but you really don't do anything with dongle -- but rather with external device, right?

Ok, and now I have problem with dbus, when running it I get error:

Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.Input" doesn't exist

Any ideas what is wrong? opensuse11.1 32-bit.
Reply With Quote
  #28 (permalink)  
Old 17-Jan-2009, 00:50
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 9
matthewcraig hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

Quote:
Originally Posted by truemacias View Post
Thank you very much for this info. A little clarification, you wrote "dongle", but you really don't do anything with dongle -- but rather with external device, right?
I have a tiny, USB-connected, bluetooth device plugged into the back of my desktop computer. It provides the wireless connectivity to the keyboard. I call it a dongle, maybe that isn't the right word.

Quote:
Originally Posted by truemacias View Post
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.Input" doesn't exist
This is a generic error message. Maybe the device path has changed (check /var/log/messages)...
Reply With Quote
  #29 (permalink)  
Old 17-Jan-2009, 03:23
Puzzled Penguin
 
Join Date: Sep 2008
Posts: 7
truemacias hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

> > Thank you very much for this info. A little clarification, you
> > wrote "dongle", but you really don't do anything with dongle --
> > > but
> > rather with external device, right?

> Not sure what you're asking -- but I can tell you that I have a
> tiny, USB-connected, bluetooth device plugged into the back of my
> desktop computer. It provides the wireless connectivity to the
> keyboard. I call it a dongle, maybe that isn't the right word.

No no :-) The word is 100% correct, I have bt card (dongle) and bt mouse, so when I scan the bt devices I see two of them. And I don't connect to dongle but to mouse directly.


> > Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect"
> > with signature "" on interface "org.bluez.Input" doesn't exist

> This is a generic error message. Maybe the device path has changed
> (check /var/log/messages)...

Thank you! It is getting better. Now I get mouse working but I have to after each restart connect to it manually again. The problem is:

Code:
dbus-send --system --dest=org.bluez --print-reply /org/bluez/6308/hci0/dev_00_1E_52_FF_68_44 org.bluez.Input.Connect
Look at 6308. This number changes after each reboot. Or maybe I rephrase.

I execute this line (with numbers corrected). Mouse starts working. I execute test-device to make connection permanent, right? Ok. Reboot. Nothing happens. So I check /var/log/messages and it appears that org.bluez is now registered with different number (the part after /org/bluez).

So knowing the number I modify dbus-send and mouse starts working again.

But the problem of course is, that I have to check /var/log/messages and execute dbus manually each time.

How this can be automated, or the number for /org/bluez fixed?
Reply With Quote
  #30 (permalink)  
Old 19-Jan-2009, 09:30
Puzzled Penguin
 
Join Date: Jun 2008
Location: Taichung city,Taiwan
Posts: 12
swyear hasn't been rated much yet
Default Re: Bluetooth Solution for openSUSE 11.1

matthewcraig:
Thanks for the instruction.
I just bought a Ms bluetooth notebook mouse 5000.
And found this mouse can not work on my 11.1 kde4 desktop.
Follow your tuition, now it works.
Same as other person said, the device path may change after reboot.
I write a script to find that path,
maybe all of you can help refine this.
bluetooth_mouse_start.sh
Code:
#!/bin/bash
MOUSE_ADD=dev_00_12_5A_6C_D3_47 #MS BT Notebook Mouse 5000
BTPATH=`cat /var/log/messages | grep bluez | grep enable | tail -1 |cut -d '[' -f 2| cut -d ']' -f 1`
dbus-send --system --dest=org.bluez --print-reply /org/bluez/$BTPATH/hci0/$MOUSE_ADD org.bluez.Input.Connect
I put this script in ~/bin/
this script can only be run by root
so I use another script put in ~/.kde4/Autostart/
btm.sh
Code:
#!/bin/bash
kdesu -c bluetooth_mouse_start.sh
Now, everytime I login kde4
enter root password, then mouse can move.
Hope this can help others
Reply With Quote
Reply
Page 3 of 5 12 3 45

Bookmarks

Tags
11.1, apple keyboard bluetooth, bluetooth, kde, solution


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2