 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
razor1394
Joined: 07 Mar 2007 Posts: 10 Location: Sweden/Stockholm/Nacka
Digg It |
Posted: Wed Mar 07, 2007 9:41 pm Post subject: bluetooth.BluetoothError: (111, 'Connection refused') |
|
|
I'm getting this annoying problem when executing
A black window opens with the text Connecting... at the bottom then it shuts down and the terminal throws me this:
| Quote: |
uinput: Trying to open /dev/misc/uinput as control device
uinput: Writing WIIMOTE_UUD
uinput: Registering 31 events
uinput: Creating device
uinput: initialized and ready
CONNECTING
Looking for Wiimote services at address *MAC REMOVED*
Victory! We have found that Wiimote!
Traceback (most recent call last):
File "WMD.py", line 45, in ?
wmd = WMD()
File "WMD.py", line 40, in __init__
if wm.connect() and wm.setup():
File "/media/disk/incoming/wmd/trunk/wmd/Wiimote/WMManager.py", line 23, in connect
if addr and self.backend.connect( addr ):
File "/media/disk/incoming/wmd/trunk/wmd/Wiimote/Backends/PyBlueZ.py", line 21, in connect
self.receive_sock.connect( ( addr, recv_port ) )
File "<string>", line 5, in connect
bluetooth.BluetoothError: (111, 'Connection refused') |
I'm using the svn from today and Sabayonlinux x86_64 (Gentoo).
Please help. Thanks in advance. |
|
| Back to top |
|
 |
UBfusion
Joined: 15 Feb 2008 Posts: 1
Digg It |
Posted: Sat Feb 16, 2008 1:17 am Post subject: I think I found why... |
|
|
(Sorry to reply to your query with one year delay.... but I just got stuck with it today and I thought I'd reply to help others.)
It seems that WMD is still the only application on any platform allowing to make a decent acceleration graph, so I struggled with it for about an hour. Although I made successful pairing, I got stuck with the same error as you.
Now try running python WMD.py without pairing first (i.e. without doing sudo hidd --search). WMD.py will try to detect a bluetooth device, will not report "Victory!", will fail, and then will successfully attempt to locate a wiimote and pair with it. This way I got it working flawlessly.
WMD how-tos like circuitdb com/articles/7/3 will usually first guide you how to connect (to ensure communication with the wiimote is possible) and then how to run WMD.py (which in my case did not work), giving (at least to me and from what I guess to you too) the (false?) impression that this is the proper sequence to use WMD.
I don't know how WMD is supposed to be run, but at least in my case (gutsy amd64 desktop, python 2.5) WDM does all the work (provided all the config editing is done right). IMHO the WDM how-tos need to research a bit more and clarify the issue. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|