LinuxMCE Forums

General => Installation issues => Topic started by: roberto99 on June 28, 2008, 06:00:23 pm

Title: Wii Remote Support
Post by: roberto99 on June 28, 2008, 06:00:23 pm
Hi all

I am coming from this http://forum.linuxmce.org/index.php?topic=1246.30 and http://wiki.linuxmce.org/index.php/Nintendo_WiiMote

Here is my problem:

unfortunately I already have a problem at the first step, using 710 (yes, my internet connection is working):

linuxmce@dcerouter:~$ root
bash: root: command not found
linuxmce@dcerouter:~$ sudo su
[sudo] password for linuxmce:
dcerouter_1:/home/linuxmce# apt-get install libcwiid0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libcwiid0
dcerouter_1:/home/linuxmce#


this does not work either (first step in https://help.ubuntu.com/community/CWiiD:

dcerouter_1:/home/linuxmce# sudo apt-get install libcwiid0 lswm wmgui wminput
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libcwiid0
dcerouter_1:/home/linuxmce

I tried ssh root@192.168.80.1 from a suse linux machine but it did not accept the password (which is accepted when i sudo su on the hybrid's kde)...

any idea?

thanks
Roberto
Title: Re: Wii Remote Support
Post by: pigdog on June 28, 2008, 06:16:35 pm
Hi,

Are you trying to add a wiimote on a Core system, a Core/Hybrid or on a MD (Media Director)?

Just curious.
Title: Re: Wii Remote Support
Post by: roberto99 on June 28, 2008, 06:38:23 pm
Hi

I am trying on a hybrid

Roberto
Title: Re: Wii Remote Support
Post by: pigdog on June 28, 2008, 06:49:47 pm
Hi,

Change directory to the root directory (cd ..) until an "ls" command shows all main system directories.  You'll probably need to do it at least twice since you are at /home/linuxmce.  I can't remember the directory tree structure for a hybrid.  At the MD hybrids' root directory then try the "sudo apt-get install libcwiid0" command [just to verify it is a 0 (zero) not an O (Oh)].

Title: Re: Wii Remote Support
Post by: roberto99 on June 28, 2008, 06:56:37 pm
Hi
I tried as follows (2 methods)

linuxmce@dcerouter:/$ sudo apt-get install libcwiid0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libcwiid0

linuxmce@dcerouter:/$ sudo su
dcerouter_80637:/# sudo apt-get install libcwiid0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libcwiid0
dcerouter_80637:/#   

no luck

what do you think ?

Roberto
Title: Re: Wii Remote Support
Post by: pigdog on June 28, 2008, 07:04:37 pm
Hi,

You have a working internet connection?  Could you try a different mirror site?
Title: Re: Wii Remote Support
Post by: Zaerc on June 28, 2008, 07:07:06 pm
Try running:
Code: [Select]
sudo apt-get update first.
Title: Re: Wii Remote Support
Post by: roberto99 on June 28, 2008, 08:25:36 pm
Fantastic!

I have now reached the point to create the config file with vi
the problem is that i do not know how to tell the shell window "i have finished creating the file, pleas save it"
Who can help?

Thanks
Roberto

NB: I am still not sure if i need a infra red bar to be able to user the wiimote...
Title: Re: Wii Remote Support
Post by: roberto99 on June 28, 2008, 09:09:48 pm
WOW, I had to start searching on google how to use VI ! but finally I think I am done.... it works!

Now it only remains to discover (here in the forum, or anybody knows for shure?) if i need a wiimote sensor bar to get the full functionality...and ESPECIALLY if i can pick any sensor bar on the market (they are not expensive after all) or if only certain models are compatible + how to make them work for lmce?
....

Anybody?

Thanks & Thanks for the already given help!
Roberto
Title: Re: Wii Remote Support
Post by: pigdog on June 28, 2008, 10:26:52 pm
Hi,

The sensor bar helps the wiimote track on the screen.  I bought a battery operated ir bar fairly cheap at a place that sold wii games, controllers, accessories etc.  I originally used two candles spaced 7.5 inches apart from the centre of the T.V. screen.  There are instruction out there on how to build your own ir bar as well.

How'd you solve your problem?  Did the suggestion from Zaerc work?
Title: Re: Wii Remote Support
Post by: roberto99 on June 28, 2008, 10:55:58 pm
hi

I solved my problem just as suggested (updating the system). was very easy

so i guess ANY sensor bar will work?

Roberto
Title: Re: Wii Remote Support
Post by: pigdog on June 28, 2008, 11:20:07 pm
Hi,

Yes just about anything light source will work but the original wii ir bar has it's two light sources at approx. 7 1/2 inches apart.

The bar is only used for on screen tracking by the ir sensor in the wiimote.
Title: Re: Wii Remote Support
Post by: roberto99 on June 30, 2008, 09:44:41 am
Hi

Thanks for the informatio and help

Wondering if anybody knows if we can get the wiimote to work within mythtv? unfortunately the F7 function does not work either, so I can't see any way to go back to the menu from within watching tv in mythtv.
Any ideas?
Thanks
cheers
Roberto