Immagine
 Italian Betacrew... di Admin
\\ Home Page : Articolo
Kernel 2.6.xx & Synaptics Touchpad
Di Admin (del 26/05/2008 @ 20:59:50, in Howto, linkato 5637 volte)

Ho un Laptop Asus serie L3, finché avevo su il Kernel 2.4.22 il Touchpad funzionava
decentemente, ora che ho messo su il Kernel 2.6 il touchpad ha cominciato a darmi delle grane,
funziona si, ma ha perso la funzione del tasto a pressione ed è divenuto anche meno preciso.....

Ho risolto utilizzando i driver Synaptics, questa è la procedura:

1) Selezionare come Built In nel Kernel:
in device drivers
in input device support
- event interface
select mice
- PS/2
- synaptics touchpad

Compilate e installate il vostro Kernel.

2) Installare i driver Synaptic, i binari dell'ultima release la trovate qui

http://w1.894.telia.com/~u89404340/touchpad/files/synaptics-0.12.2.tar.bz2

Dopo averli decompressi con tar xjvf nome file entrate nella cartella e date i soliti
# make
# make install

a questo punto vi avrà copiato il driver synaptics_drv.o nella cartella /
usr/X11R6/lib/modules/drivers/

3) a questo punto vi rimane solamente da modificare il vostro XF86Config seguendo le istruzioni
che trovate nel file INSTALL presente nella cartella synaptic. Per chiarimenti vi posto le sezioni
interessate del mio file di configurazione.


# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the font modules

Load "type1"
Load "freetype"
Load "speedo"
# This loads the GLX module
Load "glx"
# This load the synaptics
Load "synaptics"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Set the keyboard auto repeat parameters. Not all platforms implement
# this.
# Option "AutoRepeat" "500 5"
# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a European
# keyboard, you will probably want to use one of:
#
# Option "XkbModel" "pc102"
# Option "XkbModel" "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
# Option "XkbModel" "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
# Option "XkbModel" "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
# Option "XkbLayout" "de"
#
# or:
#
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for XFree86
#
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse[1]"
Option "Protocol" ""
Option "Device" "/dev/psaux"
Driver "mouse"
Option "Emulate3Buttons"
EndSection
#*********************************************************************



P.S. io ho rimosso completamente la configurazione x il vecchio mouse lasciando solamente
quella riportata nel file INSTALL
Ricordatevi di aggiungere, nella sezione moduli, la linea

Load "synaptic"

Credo che, se selezionato come Builtin, vada anche senza questa linea, ma io ce l'ho messa lo
stesso.... si sa mai......

Inoltre dovrete rendere gli Identifier Uguali sia nella configurazione della sezione InputDevice che
in quella dei Server Layout. controllate il mio file x capire meglio ^_^


Divertitevi....

Questo che ho scritto è quello che mi avrebbe fatto piacere trovare come tutorial quindi, non
avendolo trovato, ve lo scrivo io, spero di poter essere utile a qualcuno ^_^

 
TrackBack Url: (I TrackBack sono moderati)
http://betacrew.org/dblog/tb.asp?id=13

 
Articoli correlati
Vnc su Linux (25%)
Netgear WG511T e linux (25%)
Configuriamo Spamassassin contro lo spam su linux (25%)
Al bar: "scusi, vorrei una basta alla martellata..."

Ir0nfl4m3

Articoli

Calendario

< gennaio 2009 >
L
M
M
G
V
S
D
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
             

Fotografie

Howto (1)

Le fotografie pił cliccate

Top 10 utenti del mese

Sondaggio

ti piace la nuova veste del sito?

 si molto carina
 si ma preferivo la vecchia
 no per niente

Stuff

Listening
Virgin Radio Italy

Reading
Poco :P

Watching
Surf's Up

Varie

Ci sono 12 persone collegate

06/01/2009 @ 22.09.35
script eseguito in 79 ms