Page 1 sur 1

[touchpad] Configuration (résolu)

Publié : sam. 18 avr. 2009, 18:15
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>

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 15:47
par Guiux
Personne ne peut m'aider ? :(

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 15:57
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).

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 16:01
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>.

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 17:09
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>

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 17:11
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).

Re: [touchpad] Configuration

Publié : mar. 21 avr. 2009, 17:49
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)

Re: [touchpad] Configuration

Publié : mer. 22 avr. 2009, 16:07
par Guiux
Merci ! C'était effectivement ça.
La zone est un peu petite, mais ça fera l'affaire... :wink:

Re: [touchpad] Configuration

Publié : mer. 22 avr. 2009, 16:29
par gyo
:resolu:

Re: [touchpad] Configuration

Publié : mer. 22 avr. 2009, 16:35
par Guiux
gyo a écrit ::resolu:
Décidemment, j'ai vraiment du mal sur ce site ! :censure: