WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I get an error after it finds my wiimote

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> General Linux Wiimote
View previous topic :: View next topic  
Author Message
Blah93



Joined: 01 Jun 2007
Posts: 2

Digg It
PostPosted: Mon Jun 18, 2007 1:21 am    Post subject: I get an error after it finds my wiimote

Code:
$ python WMD.py
Registering key BTN_RIGHT for button A with code 111
Registering key BTN_LEFT for button B with code 110
Registering key ['KEY_LEFTCTRL', 'KEY_LEFTALT', 'BTN_LEFT'] for button D with code 1d
Registering key ['KEY_LEFTCTRL', 'KEY_LEFTALT', 'BTN_LEFT'] for button D with code 38
Registering key ['KEY_LEFTCTRL', 'KEY_LEFTALT', 'BTN_LEFT'] for button D with code 110
Registering key ['KEY_LEFTALT'] for button L with code 38
Registering key KEY_1 for button 1 with code 2
Registering key KEY_2 for button 2 with code 3
Registering key ['KEY_LEFTCTRL'] for button U with code 1d
Registering key ['KEY_F8'] for button R with code 42
[[1074025828, 2], [1074025830, 0], [1074025830, 1], [1074025828, 1], [1074025828, 0], [1074025829, 273], [1074025829, 272], [1074025829, 29], [1074025829, 56], [1074025829, 272], [1074025829, 56], [1074025829, 2], [1074025829, 3], [1074025829, 29], [1074025829, 66]]
CONNECTING
Looking for Wiimote services at address 00:19:1D:25:16:43
Failure. We have not found that Wiimote.
Now trying to discover a willing Wiimote, please activate your Wiimote within 5 seconds.
Found 1 Bluetooth Devices!
Found a Wiimote at address 00:19:1D:27:8B:DA
Looking for Wiimote services at address 00:19:1D:27:8B:DA
Failure. We have not found that Wiimote.
Traceback (most recent call last):
  File "WMD.py", line 45, in <module>
    wmd = WMD()
  File "WMD.py", line 40, in __init__
    if wm.connect() and wm.setup():
  File "/home/sixthelement/Desktop/wmd-0.1.2/wmd/Wiimote/WMManager.py", line 23, in connect
    addr = self.backend.get_addr( )
  File "/home/sixthelement/Desktop/wmd-0.1.2/wmd/Wiimote/Backends/PyBlueZ.py", line 55, in get_addr
    log(DEBUG_INFO, "No luck finding Wiimote services.")
NameError: global name 'DEBUG_INFO' is not defined


Hmm, how do I fix this?
Back to top
View user's profile Send private message
acapulco



Joined: 05 Feb 2008
Posts: 13

Digg It
PostPosted: Tue Feb 05, 2008 6:23 pm    Post subject:

Did you do
Code:
sudo modprobe uinput
before running WMD?

And did you checked the Config.py file so that it actually points to your uinput device?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> General Linux Wiimote All times are GMT
Page 1 of 1

 
Jump to:  
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