< Ubuntu Hardy -> Intrepid upgrade : bluetooth
archive
Distorted (stretched) audio with DVB-T & Nuvexport>

(blog entry)

Thursday 27 November 2008

Wii remote in ubuntu intrepid 8.10

Wii remote will only work if auth and encrypt are disabled

hciconfig hci0 noauth
hciconfig hci0 noencrypt
# required packages
apt-get install wminput wmgui lswm

# use uinput module (place this in your /etc/modules file maybe?)
modprobe uiinput

# test remote, press 1 and 2 buttons simultaneously, blue lights should flash
lswm
# You should see the MAC address of your Wii remote

# Connect with MACs you got in last step
wminput 00:1E:A9:44:82:9B
 
# If you want the wiis to be connected at anytime, but some
# lines like this in your startup script. One for each wii remote you have
wminput --daemon --reconnect 00:1E:35:1D:44:9C
wminput --daemon --reconnect 00:1E:A9:44:82:9B

For some applications you may need to change the keymappings in /etc/cwiid/wminput/buttons. For example for mythtv, these mappings are more useful that then the default.

Wiimote.A               = KEY_ENTER
Wiimote.B               = KEY_F10
Powered by
Movable Type 4.12