samedi 28 juillet 2012

Utiliser la wiimote pour controloer Xbmc live Eden

Hello,

alors je me suis installé une vieux pc avec XBMC, et j'ai utilisé ma wiimote pour le controler, grace au tuto de ce  blog :

http://knight-galaad.no-ip.org/wordpress/?p=326&cpage=1#comment-3715


Bon premier probléme mon dongle n'a pas été reconnu d'office, j'ai don du utiliser le tuto de cette page :
https://help.ubuntu.com/community/BluetoothSetup

voici ce que j'ai fait :
 
sudo apt-get install bluez-utils
 
et ensuite deuxième problème : 

le seul hic c'est que voici le script au bon format :


#!/bin/sh
    #
    # Allow usage of the wiimote to control XBMC media center.
    #
    # Make sure to have install the following packages: lswm / wminput
    # To know your wiimote address use lswm and follow on screen instrustion
    #
    # configuration of buttons can be done here: /etc/cwiid/wminput
    #

    WIIMOTEADDR=00:27:09:6F:65:D3

    # END OF CONFIG SECTION

    case $1 in
        start)
            echo " Start Wiimote support … "
            echo " Load uinput module … "
            modprobe uinput
            echo " starting wminput as daemon  … "
            wminput -d -c xbmcbuttons $WIIMOTEADDR &
        ;;
        stop)
            echo " Stop Wiimote support … "
            killall wminput
        ;;
        restart)
            $0 stop && $0 start || exit 1
        ;;
        *)
            echo " Usage: $0 {start|stop|restart} "
            exit 2
         esac

    exit 0


et aprés ça; ça fonctionne,  et encore mieux, en redemmarant le pc, la télécommande Wii est automatiquement reconnu !!
ça marche super et c"est super cool !!

Comment Installer un Serveur Ark Survival Ascend sur Linux avec Docker

 Les fans d'Ark Survival Ascend qui utilisent Linux peuvent désormais se réjouir, car il existe une solution pour déployer un serveur Ar...