[touchpad] Configuration (résolu)

Reconnaissance et configuration du matériel / kernel linux
Répondre
Guiux
Elfe
Messages : 870
Inscription : sam. 04 avr. 2009, 00:04
Localisation : Paris

[touchpad] Configuration (résolu)

Message par Guiux »

Bonjour.
Sur Mandriva, toutes les fonctions de mon touchpad marchaient, mais sur Archlinux, même en suivant le tuto du wiki, je ne suis arrivé à faire marcher que le clic gauche lors du tapotement du pavé. Il me manque les fonctions suivantes :
- défilement vertical en glissant le doigt le long du côté droit du touchpad
- défilement horizontal en glissant le doigt en bas du touchpad
- clic droit en tapant le coin inférieur droit

Que dois-je ajouter au fichier /etc/hal/fdi/policy/11-x11-synaptics.fdi ?

Le voilà tel qu'il a été généré par hal :

Code : Tout sélectionner

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
	<merge key="input.x11_options.SHMConfig" type="string">true</merge>

	Maximum movement of the finger for detecting a tap
	<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

	Enable vertical scrolling when dragging along the right edge
	<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

	Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
	<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

	Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
	<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

	If on, circular scrolling is used
	<merge key="input.x11_options.CircularScrolling" type="string">true</merge>

	For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
    </match>
  </device>
</deviceinfo>
Dernière modification par Guiux le mer. 22 avr. 2009, 16:34, modifié 1 fois.
Arch 64 bits KDE 4 + Windows 7 sur Dell XPS M1530 [Core 2 Duo 2,4 GHz | 3 Go RAM | nVidia Geforce 8600M GT]
Guiux
Elfe
Messages : 870
Inscription : sam. 04 avr. 2009, 00:04
Localisation : Paris

Re: [touchpad] Configuration

Message par Guiux »

Personne ne peut m'aider ? :(
Arch 64 bits KDE 4 + Windows 7 sur Dell XPS M1530 [Core 2 Duo 2,4 GHz | 3 Go RAM | nVidia Geforce 8600M GT]
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [touchpad] Configuration

Message par Cactus »

J'ai résolu récemment un cas similaire en précisant dans la ligne match le nom exact du touchpad détecté par xorg (cf /var/log/Xorg.0.log).
Je ne suis pas chez moi, et je ne sais pas si je pourrai te répondre ce soir. En attendant, tu trouveras des infos sur le wiki (je crois que c'est comme ça que je m'en suis sorti).
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [touchpad] Configuration

Message par Cactus »

http://wiki.archlinux.org/index.php/Touchpad_Synaptics :

la ligne importante est celle-là :
<match key="info.product" contains="SynPS/2 Synaptics TouchPad">

où tu remplaces le SynPS/2 Synaptics TouchPad par le nom exact donné par le log de Xorg.
Gardes bien les guillemets, et n'oublies pas, à la fin (après toutes les options du touchpad) de fermer la balise avec </match>.
Guiux
Elfe
Messages : 870
Inscription : sam. 04 avr. 2009, 00:04
Localisation : Paris

Re: [touchpad] Configuration

Message par Guiux »

Merci !
En suivant tes isntructions, je suis arrivé à configurer le défilement horizontal et vertical. :D

Par contre, je ne sais pas comment faire pour configurer le clic droit dans le coin inférieur droit...

Voilà le fichier de configuration :

Code : Tout sélectionner

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="AlpsPS/2 ALPS">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
<merge key="input.x11_options.protocol" type="string">event</merge>
<merge key="input.x11_options.touchpadoff" type="string">0</merge>
<merge key="input.x11_options.shmconfig" type="string">on</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<merge key="input.x11_options.vertedgescroll" type="string">true</merge>
<merge key="input.x11_options.horizedgescroll" type="string">true</merge>
<merge key="input.x11_options.RightEdge" type="string">870</merge>
<merge key="input.x11_options.BottomEdge" type="string">670</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.HorizScrollDelta" type="string">20</merge>
   </match>
  </device>
</deviceinfo>
Arch 64 bits KDE 4 + Windows 7 sur Dell XPS M1530 [Core 2 Duo 2,4 GHz | 3 Go RAM | nVidia Geforce 8600M GT]
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [touchpad] Configuration

Message par Cactus »

ah là, j'en sais rien ! moi, j'utilise les boutons sous le touchpad ! (quand je m'en sers, c'est-à-dire très rarement, je préfère encore le trackpoint).
Avatar de l’utilisateur
gyo
Maître du Kyudo
Messages : 1049
Inscription : jeu. 19 avr. 2007, 10:40
Localisation : Nantes (44)

Re: [touchpad] Configuration

Message par gyo »

Guiux a écrit :Merci !
En suivant tes isntructions, je suis arrivé à configurer le défilement horizontal et vertical. :D

Par contre, je ne sais pas comment faire pour configurer le clic droit dans le coin inférieur droit...
“RBCornerButton” ?

Code : Tout sélectionner

<merge key="input.x11_options.RBCornerButton" type="string">3</merge>
(trouvé dans man synaptics :P)
commentaire rédigé à l’aide d’un clavier ergonomique bépo
KISS MY ARCH
Guiux
Elfe
Messages : 870
Inscription : sam. 04 avr. 2009, 00:04
Localisation : Paris

Re: [touchpad] Configuration

Message par Guiux »

Merci ! C'était effectivement ça.
La zone est un peu petite, mais ça fera l'affaire... :wink:
Arch 64 bits KDE 4 + Windows 7 sur Dell XPS M1530 [Core 2 Duo 2,4 GHz | 3 Go RAM | nVidia Geforce 8600M GT]
Avatar de l’utilisateur
gyo
Maître du Kyudo
Messages : 1049
Inscription : jeu. 19 avr. 2007, 10:40
Localisation : Nantes (44)

Re: [touchpad] Configuration

Message par gyo »

:resolu:
commentaire rédigé à l’aide d’un clavier ergonomique bépo
KISS MY ARCH
Guiux
Elfe
Messages : 870
Inscription : sam. 04 avr. 2009, 00:04
Localisation : Paris

Re: [touchpad] Configuration

Message par Guiux »

gyo a écrit ::resolu:
Décidemment, j'ai vraiment du mal sur ce site ! :censure:
Arch 64 bits KDE 4 + Windows 7 sur Dell XPS M1530 [Core 2 Duo 2,4 GHz | 3 Go RAM | nVidia Geforce 8600M GT]
Répondre