Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
wii:wii-remote_on_linux [2008/06/20 08:56] geraldwii:wii-remote_on_linux [2024/02/29 13:36] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 +====== Wii Remote / Wiimote ======
 +
 +MS-Win only: [[http://www.cs.cmu.edu/~johnny/projects/wii/|Johnny Chung Lee]]: [[http://www.wiimoteproject.com/]]
 +
 +Vorbereitung:
 +[[wii:wiimote-ubuntu|Ubuntu mit Wiimote]]
 +
 +Maus, Lightpen, etc.
 +[[wii:wiimote-ubuntu-mouse-lightpen|Ubuntu mit Wiimote als Maus, Keyboard, Lightpen etc.]]
 +
 +[[http://linux.softpedia.com/get/System/Hardware/Wiimote-Linux-Driver-32121.shtml|WiiMode Linux Driver 1.0]]
 +
 +[[wii:wii-remote_on_linux:wminput|wminput konfigurieren]]
 +
 Quelle((http://www.circuitdb.com/articles/7/3)) Quelle((http://www.circuitdb.com/articles/7/3))
 ====== Connect a Wii Remote to your PC Using Linux ====== ====== Connect a Wii Remote to your PC Using Linux ======
Zeile 172: Zeile 186:
  
 I'm still fairly new to Linux (been using it about 8 months now), so my understanding is still a little limited. With that in mind, I'd appreciate it if anyone who knows a bit more about this than I do could tell me if I've done anything wrong, missed anything out, or done anything I didn't need to. I will, of course, update this post as required. I'm still fairly new to Linux (been using it about 8 months now), so my understanding is still a little limited. With that in mind, I'd appreciate it if anyone who knows a bit more about this than I do could tell me if I've done anything wrong, missed anything out, or done anything I didn't need to. I will, of course, update this post as required.
 +
 +----
 +Quelle((http://www.wiili.org/index.php/Wiimote_linux_tutorial))
 +
 +3) Wiiwanna Motte Dammiit WMD version 0.1.2 can be downloaded from here: http://forthewiin.org/ . Bush can't find his WMD's, I hope you can. 
 +Now the juicy part: Once extracted, navigate to /wmd-0.1.2/wmd. Use Gedit or Kwrite to edit Config.py. 
 +
 +Insert the adress of your Wii Remote into line 15 
 +Next step that has caused me to delay this tutorial by a few days, I apologise sincerely, I had problems with finding the directory of uinput in openSuSE, which turned out to be the same as in Feisty. Once you are sure you have uinput installed on your computer (should be pre-compiled in Ubuntu and OpenSuSE): 
 +
 +in line 37, change 'UINPUT_DEV': "/dev/misc/uinput", to 'UINPUT_DEV': "/dev/input/uinput", save the file and exit 
 +
 + Exclamation The following step can be risky, if it fails, you will not log on your computer to a window manager. I then changed xorg.conf to acommodate the Wii Remote as an input device. I have not done it any other way, so please try to ommit this step and tell me if it worked without changing xorg.conf.
 + 
 +cd /etc/X11 (for the record, a shortcut I took was by pressing the Tab key, as in; cd /e TAB X TAB) become root cp xorg.conf xorg.conf.backupBeforeWii (making a copy of xorg.conf is always recommended, if X fails after your reboot, just reverse this step as root: cp xorg.conf.backupBeforeWii xorg.conf) Gedit or Kwrite xorg.conf 
 +
 +In Section "ServerLayout" , after the keyboard and mice, add: InputDevice "Wiimote" "AlwaysCore" 
 +after the last Section "InputDevice" add: Section "InputDevice" Identifier "Wiimote" Driver "evdev" Option "Name" "Nintendo Wiimote" EndSection 
 +save, exit and restart your machine. Exclamation 
 +
 + Open the console, cd to the folder /wmd-0.1.2, become root, type: modprobe uinput python WMD.py press buttons 1+2 on the Wii Remote with the batteries inserted. 
 +Remember about the 2-4 sources of Infrared radiation I mentioned in the beginning. You can create an infrared LED bar by following guides in wiili.org forums. 
 +
 + 
 +If all went well, you should be a proud owner of a cool gadget to impress friends with. I justified this expense as a tool to navigate slides while doing presentations Smile 
 +
 + 
 +cWiid is an interface GUI for the Wii Remote. It also allows you to see the battery charge, accelometer, IR and nunchuk data. Ubuntu has a .deb package that can be accessed fom the top menu bar. 
 +Otherwise, from: http://abstrakraft.org/cwiid/ 
 +become root and do: ./configure make make install 
 +
 +With all dependencies fulfilled, you can execute the program by typing wmgui. 
  
 
Nach oben
wii/wii-remote_on_linux.1213952176.txt.gz · Zuletzt geändert: 2024/02/29 13:34 (Externe Bearbeitung)
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp