Synaptics Touchpad Hardware

Z Gentoo Linux Wiki

Přejít na: navigace, hledání


[editovat] Synaptics Touchpad a Xorg

Pro to aby rozhodit touchpad na notebook'u nebo jinem zarizeni potrebujete dodat do konfiguraci jadra nasledujuci volby

.config
 Device Drivers --> Input device support -->
  [*] Provide legacy /dev/psaux device
  [*] Event Interface 

Po restartu musite pomoci [dmesg] uvidet neco:

vypis dmesg
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
 Firmware: 5.8
 180 degree mounted touchpad
 Sensor: 29
 new absolute packet format
  Touchpad has extended capability bits
   -> 4 multi-buttons, i.e. besides standard buttons
   -> multifinger detection
   -> palm detection
  input: SynPS/2 Synaptics TouchPad on isa0060/serio1
 serio: i8042 KBD port at 0x60,0x64 irq 1

Pak dodame balik synaptic pomoci prikazu:

emerge synaptics

Přidáme synaptics do make.conf:

/etc/make.conf
 USE="synaptics"
 INPUT_DEVICES="evdev keyboard mouse synaptics"

Dodame do konfiguraci nasledujici radky:

/etc/X11/xorg.conf
Section "InputDevice"
 Identifier	"Touchpad"
 Driver		"synaptics"
 # Driver		"mouse"
 Option		"Protocol"		"auto-dev"
 Option		"Device"		"/dev/psaux"
 Option		"ZAxisMapping"		"4 5"
 Option		"LeftEdge"     		"1900"
 Option		"RightEdge"     	"5400"
 Option		"TopEdge"       	"1800"
 Option		"BottomEdge"   	 	"3900"
 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		"UpDownScrolling"	"on"
EndSection

Pokud se chystate pouzivat jeste extereni mysovy ovladac, tak asi uz mate pro ni sekce:

/etc/X11/xorg.conf
 Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "5"
 EndSection

Naposled musite zmenit sekci server layout:

 Section "ServerLayout"
   Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
 EndSection
Pozor: Jako corepointer mame mys, ne tochpad!


Poznámka: Pri obnoveni xorg, nekdy je potrebne preinstalovat synaptics, pokud xserver nemuze najit modul synaptics. Take jsou problemy pri pouzivani v USE hardened.

--User Unknown 08:24, 6. 12. 2006 (UTC)

V jiných jazycích