Author Topic: WIIMOTE Howto on the wiki  (Read 6001 times)

cobradevil

  • Regular Poster
  • **
  • Posts: 48
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #15 on: April 03, 2008, 07:43:25 am »
Hello tkmedia

What problems do you have?

if you installed the packages you should be able to:
modprobe uinput
put in the bluetooth dongle
>then run after pressing the red button beside the battery (blue lights should flash):
hcitool scan

>then copy the mac address besides the wminput

wminput -c ir_ptr macaddress
>then press again the red button
now you should have a working wiimote?

if not what message does wminput give you?

With kind regards

William van de Velde

pcbastard

  • Regular Poster
  • **
  • Posts: 47
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #16 on: April 05, 2008, 09:03:26 am »
Not to crash the party, but if you want a remote like the Fiire remote for cheap, check out Circuit City ASAP.  They are closing out the Gyration GYR3101US remotes for $36!!!

I bought one, the used the WIKI how-to and voila it works AWESOMELY!

Just my 2 cents.

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: WIIMOTE Howto on the wiki
« Reply #17 on: April 06, 2008, 09:02:08 pm »
Got wii wrking with the modified script on wiki.

1 last strange problem.

Works perfectly on core
But does not have full range of cursor movement on MD  only the bottom left  2/3 of screen can be navigated.


My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

cobradevil

  • Regular Poster
  • **
  • Posts: 48
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #18 on: April 07, 2008, 06:28:54 pm »
And does changing the acceleration settings with xset help?

try e.g. xset 6 6

the mouse will go to fast but it should move over the whole screen!

you can change it like this from a ssh session to the media director:

export DISPLAY=:0
xset 6 6

then point the wiimote and check if the cursor moves further!!

With kind regards

William van de Velde

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #19 on: April 07, 2008, 07:24:20 pm »
And does changing the acceleration settings with xset help?

try e.g. xset 6 6

the mouse will go to fast but it should move over the whole screen!

you can change it like this from a ssh session to the media director:

export DISPLAY=:0
xset 6 6

then point the wiimote and check if the cursor moves further!!

With kind regards

William van de Velde

The proper syntax is:
xset m <acceleration> <threshold>
or
xset m default

Where <acceleration> can be a fraction like "5/3" for instance.


"Change is inevitable. Progress is optional."
-- Anonymous


cobradevil

  • Regular Poster
  • **
  • Posts: 48
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #20 on: April 07, 2008, 08:20:42 pm »
thanx Zaerc my mistake!!

gazzzman

  • Veteran
  • ***
  • Posts: 118
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #21 on: April 09, 2008, 12:08:31 am »
feeling like a gimp now!!
spent two days on this :(
followed the instructions in the wiki..
everything seems to go OK but when I try to connect the Wiimote..
all that happens is I get a message on the core/hybrid asking what type of phone it is :(
(the dongle is on a MD in another room)
any clues where to start?
cheers
Gazzzman

PS my normal USB mouse is barely working now either lol!
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCC@GE@GIT@GO dpu S-: a+ C+++ L++ E-- W+++ N+ o+++ w-- O M+ PS+++ PE-- Y++
PGP+ t++ 5 X++ R- tv b+ DI++ D---- G e++* h*++ r+++ Y++++
-----END GEEK CODE BLOCK-----

cobradevil

  • Regular Poster
  • **
  • Posts: 48
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #22 on: April 10, 2008, 08:53:45 am »
Hello Gazmann

Well the wiimote is only connected to the MD with the dongle

so try to run the script and all on the MD you wanna control.

If you wanna control the hybrid than connect the dongle to that one and try again!

Did you try that?

With kind regards

William van de Velde

gazzzman

  • Veteran
  • ***
  • Posts: 118
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #23 on: April 10, 2008, 11:37:24 am »
hi William!
thanks for the reply :)
I had the dongle plugged into the MD I want to control..
and ran the scripts on the MD (via ssh)
but when I pressed the red button all that happend was the add mobile phone screen came up on the core.hybrid  ???
very weird! the MD seemed to ignore it completely!
any thoughts?
cheers
Gazzzman
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCC@GE@GIT@GO dpu S-: a+ C+++ L++ E-- W+++ N+ o+++ w-- O M+ PS+++ PE-- Y++
PGP+ t++ 5 X++ R- tv b+ DI++ D---- G e++* h*++ r+++ Y++++
-----END GEEK CODE BLOCK-----

pedplar

  • Veteran
  • ***
  • Posts: 89
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #24 on: April 12, 2008, 09:41:47 am »
gazzzman, did you ever figure out what was wrong? I am having the same problem as you.  Everything seems like it went fine but it asks me what type of phone it is

cobradevil

  • Regular Poster
  • **
  • Posts: 48
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #25 on: April 12, 2008, 10:59:43 am »
Well can you try to run the wminput command from the commandline ssh would be enough!

wminputd -c ir_ptr mac address

you can find the mac address with hcitool scan

then push the red button!

the wminputd command should be saying: Ready

With kind regards

William van de Velde

nemo

  • Making baby steps
  • Posts: 3
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #26 on: July 13, 2008, 12:59:49 pm »
cobradevil,,

   I have two questions for you:

   1. I have hooked up my Wii Remote (played with xset m <a> <p>), but can't get it to work smoothly. It either does not move at all, or, whenever I find the spot in a room, it is moving, but very unstable - cursor jumps back to left when I move it to the right, disappears, etc..
   
       The remote itself is fully working + new batteries and all.

       I use USB dongle which is not USB 2.0, but USB 1.2 - could that be a problem?

    2. Less important, but also curios - where the heck is PAUSE button on Wii Remote (using wiki's button mapping) while watching videos?

Thank you in advance,
nemo

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #27 on: July 13, 2008, 01:50:36 pm »
Sounds like you need a sensor-bar, which is basicly just 2 infra-red lightpoints, in the mean time you can try putting 2 candles on top of the TV about 20cm (8") apart.
"Change is inevitable. Progress is optional."
-- Anonymous


nemo

  • Making baby steps
  • Posts: 3
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #28 on: July 14, 2008, 04:38:27 pm »
Zaerc, thank you for your answer, but

1. Why would I need a sensor-bar, where as it works for other people?

2. What would candles on my TV do?

3. And where the heck is the PAUSE button on the Wii Remote?

Thank you.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5495
  • DOES work for LinuxMCE.
    • View Profile
Re: WIIMOTE Howto on the wiki
« Reply #29 on: July 14, 2008, 04:57:35 pm »
1. You need the sensor bar, trust us. the ir_ptr is the most accurate option. the accelerometers only measure relative direction, and require a fair amount of velocity to work, it is not a gyroscope.

2. the candles provide the necessary infrared heat/light source that the IR camera in the Wii Remote locks on to. It needs two sources so that it can perform triangulation on distance, and thereby determine the bounds of the screen.

3. It is currently not mapped. one of the things that needs to be worked out by adventurous hackers like yourself, and us.

-Thom