B166Er 的窝

Happy coding

触摸板的Snaptics驱动可实现multi-touch

B166Er posted @ 2009年2月06日 09:05 in 未分类 with tags T42 touchpad synaptics multi-touch , 2368 阅读

需要在 /etc/X11/xorg.conf 中使用 snaptics 的触摸板驱动。目前我的 T42 2374-ER8 的 xorg.conf 是这样的:

 

 # xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection

#Section "InputDevice"
#    Identifier    "Configured Mouse"
#    Driver        "mouse"
#EndSection

# added from website

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"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents"     "true"
    Option "Device"         "/dev/psaux"
    Option "Protocol"         "auto-dev"
    Option "HorizScrollDelta"     "0"
    Option "SHMConfig"         "on"
EndSection


Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/tablet-bamboo1"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/tablet-bamboo1"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/tablet-bamboo1"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for Intuos3, CintiqV5, Graphire4, or Bamboo
#Section "InputDevice"
#  Driver        "wacom"
#  Identifier    "pad"
#  Option        "Device"        "/dev/input/tablet-bamboo1"   # USB ONLY
#  Option        "Type"          "pad"
#  Option        "USB"           "on"                  # USB ONLY
#EndSection

Section "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
EndSection


Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"     "CoreKeyboard"
    InputDevice    "Configured Mouse"    "CorePointer"
    InputDevice       "Synaptics TouchPad"    "SendCoreEvents"

    InputDevice    "stylus"    "SendCoreEvents" # For Bamboo1
    InputDevice    "eraser"    "SendCoreEvents"
    InputDevice    "cursor"    "SendCoreEvents"
EndSection

然后 synclient -m 100 就可以看 synaptics 的输出信息, 若想实现multi-touch, 需要用 perl 对这个输出信息加以筛选处理。请看:

www.ibm.com/developerworks/library/os-touchpad/

 

SSO Rajasthan 说:
2022年8月04日 02:19

SSO stands for Single Sign On and SSO Rajasthan for any citizen to create their digital identity. According to their official website, more than 18672702 identities have been create from their official website. SSO Rajasthan There are different benefits of being a part of this online platform out of which the primary one is to be under the Jan Aadhaar scheme and benefits. Along with that you can also get benefits from schemes such as Bhamashah but before you do, you have to create your account and in the below guide we have explained the exact steps you need to follow, and if any queries, you may contact SSO customer care.

NCERT Term 2 Questio 说:
2022年9月24日 16:04

Every 10th standard candidates who to know the examination pattern or scheme of exam can download NCERT Term-2 Sample Paper 2023 Class exams of the course. Who downloaded the sample paper suggestions can get complete stretcher of Part-A, Part-B, Part-C and Part-D exam for all formats of SA, FA and Assignments. NCERT Term 2 Question Paper Class 10Every 10th standard candidates who to know the examination pattern or scheme of exam can download.

Assam 6th Class Syl 说:
2023年7月14日 16:06

Assam 6th Class Syllabus 2024 will help Students to Prepare for pass Marks in All Exams the All Subjects, Assam Students to get a Clear idea of the Topics and Subtopics and According to it they can Decide on which topic to Focus more, Assam 6th Exam Conducted Every Year Month of March and April Months, This 6th Date Sheet 2024 Available at Official Website.as it helps Students to Plan their Preparations Assam 6th Class Syllabus 2024 Accordingly to Meet their Expectations, we Provide Students with All the Necessary Support and Allow them to Prove their Talent by performing best in their examination, The Students skill Profile Should move From being Predominantly Receptive to Productive.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter