Le Lundi 19 Novembre 2001 16:35, vous avez �crit :
> Les amis,
> J'ai un joystick analogique de base 4 axes et n'arrive pas � le faire
> fonctionner. Il est branch� sur le port jeu d'un Creative SB Live.
> Si je regarde dans le syslog, le pilote est bien charg� avec comme identit�
> INPUT0 et GAMEPORT0.0
> J'ai descendu le package de test et  jstest cherche sur /dev/js0 et me
> r�pond "no such device"
> Si je fais jtest sur input0 il me r�pond qu'il n'y a pas de fichier
> correspondant (normal, n'existe pas dans /dev ni ailleurs)
> Quelqu'un peut-il me dire ce qui manque pour que le pivot de la joie soit
> reconnu ?
> Le driver de la carte son -emu10k1-  est bien charg� et ma bo�te fait de la
> musique.
>  Merci d'avance.
>
> Jean-Marie Fenaille
Jean-Marie tu vas proc�der ainsi :
Copie ce script nomm� "install_joystick" de ma fabrication sous "/etc/rc.d" :
#!/bin/sh
# This script is executed by "rc.local"
# It installs an analog joystick on PCI sound card game port
# Author : Daniel Moyne (e-mail: [EMAIL PROTECTED])
# Added on 16/11/2001
#
echo 'Installing analog joystick on PCI Soundblaster Live! game port :'
# a) setting error process
set -e
trap error exit
error ()
        {
        echo "Installing joystick failed"
        }
# b) installing joystick interface
modprobe joydev

# c) installing joystick game port module
case "`uname -r`" in
        "2.4.8-26mdk")
                modprobe emu10k1-gp
                ;;      
        "2.4.10-dm")
                modprobe emu10k1-gp
                ;;      
esac

# d) installing analog style joystick module
modprobe analog
trap exit
echo "Installing joystick done"

Tu colles � ce fichier les attributs suivants :
Permissions :
X  X  X
X     X
X     X
Utilisateur :   root
Groupe :                root

Dans le fichier script "rc.local" tu ajoutes la s�quence suivante :

# Installation of analog joystick on PCI Soundblaster Live! game port
# Author : Daniel Moyne (e-mail : [EMAIL PROTECTED])
# Added on 16/11/2001
if [ -f /etc/rc.d/install_joystick ]; then
        /etc/rc.d/install_joystick
fi

A l'ex�cution au boot suivant le noyau boot�, il permet de changer entre 
autre le module "emu10k1-gp" apparu depuis peu par l'ancien module appel� 
"ns558". A toi de modifier cela. Evidemment cela suppose ton 
kernel boot� avec les options joysticks ad�quates.

Si en suite tu veux tester graphiquement ton joystick installe "gtkjoy".

Voil�. Tiens moi au courant.

-- 
Daniel Moyne (Nulix)----------------------------------------------------------
Software : Mandrake Power Pack 8.1 RC1 avec kernel "2.4.8-26mdk" (Vitamin) et
kernel 2.4.9 en dual-boot avec Windows 98 et LILO comme chargeur (Alsa et 
Devfs)
Hardware : PC Celeron (Mendochino) 400 Mhz 128 Mo Ram
Lecteur de disquette 3.5" / HD Ide (M) 4 Go + (S) 20 Go / HD 4.3 Go SCSI
Graveur Yamaha 8x8x24 SCSI / Carte graphique AGP 3Dfx / Lecteur CD 40X Ide 
Carte son PCI SounBlaster Live ! / Analogue Joystick sur port midi-joystick
Lecteur Zip Iomega SCSI            \\|//    Modem OLITEC Speed Voice 56000
Carte SCSI Tekram DC-395UW        / --- \   Imprimante DeskJet HP 850C
Vision Master 17" Iiyama Monitor (' o-o ')  Scanner UMAX Astra 1220S SCSI
--------------------------------oOO-(_)-OOo------------------------------------











Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à