Fórum Ubuntu CZ/SK

Ostatní => Archiv => Téma založeno: cz7asm 22 Března 2007, 00:59:37

Název: Konfigurace touchpadau
Přispěvatel: cz7asm 22 Března 2007, 00:59:37
Ahoj, chtel jsem si nastavit vypnutí touchpadu podle návodu na wiki, ovšem v konfiguráku Xek jsem nenasel potrebnou polozku:

Citace
Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"             "on"
EndSection
Touchpad mi normalne funguje. Mam notebook ASUS A8JN. Diky moc za pripadnou pomoc....

Muj Xorg.conf:
Citace
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Oct 16 22:13:07 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

   # path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "cz"
    Option         "XkbOptions" "lv3:ralt_switch"
    Option         "XkbVariant" "qwerty"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       40.0 - 65.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NVIDIA Default Card"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NVIDIA Default Card"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800""1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Název: Konfigurace touchpadau
Přispěvatel: DuckD 22 Března 2007, 09:30:09
Vypnutí příkazem:

$synclient TouchpadOff=1

zapnutí:
$synclient TouchpadOff=0
Název: Konfigurace touchpadau
Přispěvatel: cz7asm 23 Března 2007, 00:13:22
Diky, ale bohuzel to negunguje. Vypise se mi pouze hlaseni:

Can't access shared memory area. SHMConfig disabled?

Nevedel by nekdo prosim co s tim? Dekuji...
Název: Konfigurace touchpadau
Přispěvatel: DuckD 23 Března 2007, 08:18:53
Problém: Can't access shared memory area. SHMConfig disabled?
by mělo řešit nastavení: Option "SHMConfig" "on"
Pokud to nejde zkus ještě smazat to on.

Kód: [Vybrat]
Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"            
EndSection
Ulož a restart. a pak ten příkaz: $synclient TouchpadOff=1
Někdy pomůže restart Xek (Ctrl + Alt + BackSpace)
Název: Konfigurace touchpadau
Přispěvatel: cz7asm 23 Března 2007, 09:31:17
Nahore jsem ale psal ze tu polozku pro vstupni zarizeni synaptics v X konfigu nemam..proste jsem ji tam nenasel..... Vypis jsem poslal.
Název: Konfigurace touchpadau
Přispěvatel: DuckD 23 Března 2007, 10:13:57
Zkusil bych možnosti:
Kód: [Vybrat]
Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
    Option          "SHMConfig"             "on"    ##### ZMENA #####
EndSection
Kód: [Vybrat]
Section "InputDevice"
                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    Option          "SHMConfig"             "on"    ##### ZMENA #####
EndSection
Kód: [Vybrat]
Section "InputDevice"
                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    Option          "SHMConfig"             "on"    ##### ZMENA #####
EndSection
Kód: [Vybrat]
Section "InputDevice"
                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    Option          "SHMConfig"             "on"    ##### ZMENA #####
EndSection
Po každé restartni.
Název: Konfigurace touchpadau
Přispěvatel: clever_fox 24 Března 2007, 10:39:21
mrkni na http://ubuntu.wz.cz/hlavni_stranky/navody_hardware_touchpad.html

to ze touchpad nemas v /etc/X11/xorg.conf vyresis tak, ze ho tam dopises a pridas do sekce "ServerLayout"

pro ukazku ti posila svuj xorg.conf

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice      "Synaptics Touchpad" # sem ho pridas
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"  
EndSection

Section "Files"

   # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "cz"
    Option         "XkbOptions" "lv3:ralt_switch"
    Option         "XkbVariant" "qwerty"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "SHMConfig" "on"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizScrollDelta" "0"
 Option "SHMConfig" "on"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"

EndSection

Section "InputDevice"

                     # /dev/input/event
                     # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"   # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY

EndSection

Section "InputDevice"

                     # /dev/input/event
                     # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"   # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY

EndSection

Section "InputDevice"

                     # /dev/input/event
                     # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"   # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY

EndSection

a uz ti to pojede podle navodu

mam ASUS A6Km-Q0072 a takto sem to rozbehal
Název: Konfigurace touchpadau
Přispěvatel: cz7asm 31 Března 2007, 11:31:39
Diky moc... pomohlo mi to. A neveeli byste jeste jak rozchodit scrollovani?
Název: Konfigurace touchpadau
Přispěvatel: cz7asm 31 Března 2007, 11:35:30
Tak uz jsem to rozchodil....
Název: Konfigurace touchpadau
Přispěvatel: Ficik 03 Dubna 2007, 21:19:32
Scrollovani:
Kód: [Vybrat]
Section "InputDevice"
...
        Option          "HorizScrollDelta"      "1"