QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3368|回复: 2

请教高手,F8下如何配置xorg.conf关闭笔记本触摸板?

[复制链接]
发表于 2007-12-5 17:23:52 | 显示全部楼层 |阅读模式
我的笔记本电脑是DELL 1400,CPU:T7100
显卡: GF8400GS
声卡为:sigmatel siac9228@intel 82801 hbm ICH8M-HIGH Definite
前阵子装的F8,声卡驱动没问题,显卡驱动也装好了的。

因为要经常敲键盘,很容易碰到笔记本的触摸板,所以想把它关了,网上查了很多帖,自己也改了xorg.conf,但还是没能成功。
特来请教高手,非常感谢的。
用命令查看:cat /proc/bus/input/devices ,下面是我的机器上面和触摸板有关的显示:
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0003 Vendor=15ca Product=00c3 Version=0110
N: Name="USB Optical Mouse"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=mouse2 event3
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=event4
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button (CM)"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input7
U: Uniq=
H: Handlers=kbd event7
B: EV=40001
B: SND=6

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/class/input/input8
U: Uniq=
H: Handlers=kbd event8
B: EV=3
B: KEY=3f000b 0 0 0 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/class/input/input9
U: Uniq=
H: Handlers=kbd event9
B: EV=3
B: KEY=3f000b 0 0 0 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/class/input/input10
U: Uniq=
H: Handlers=kbd event10
B: EV=3
B: KEY=3f000b 0 0 0 0 0 0 0
用这个命令:cat /dev/input/event2 测试过,触摸板为event2;
我的xorg.conf如下:

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
        Option            "AIGLX" "on"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us+inet"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "LCD Panel 1280x800"
        HorizSync    31.5 - 50.0
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        Option            "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
        Option            "Composite" "Enable"
EndSection
synaptics装好了的;
打开GSynaptics 错误如下的:
GSynaptics 无法初始化。
您必须在 xorg.conf 或 XF86Config 中设置 'SHMConfig' 'true' 以使用 GSynaptics
希望有高手能告诉我怎么修改xorg.conf来启用synaptics的;

还有个小问题的,用耳机能听声音的,但笔记本自带的外放却没声音的,有高手能说说解决的方法阿?非常感谢的。
发表于 2007-12-6 23:10:36 | 显示全部楼层
直接加入
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
# 添加下面一行,可以移动,触击无效
Option "MaxTapTime" "0"
EndSection

这样就可以使点击触控板的动作失效。但仍然可以移动,以及使用外置的两个按键

不要忘了在Section "ServerLayout"里添加Inputdevice "Synaptics Touchpad"
回复

使用道具 举报

 楼主| 发表于 2007-12-10 11:02:34 | 显示全部楼层

回复 #2 jozhu 的帖子

好的,谢谢,我试试的...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-26 10:17 , Processed in 0.133867 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表