设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Archlinux讨论区
›
笔记本上的触摸板不能使用
返回列表
查看:
521
|
回复:
4
笔记本上的触摸板不能使用
[复制链接]
palytoxin
palytoxin
当前离线
积分
12
IP卡
狗仔卡
发表于 2011-8-22 14:40:55
|
显示全部楼层
|
阅读模式
/etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 280.13 (buildmeister@swio-display-x86-rhel47-05.nvidia.com) Wed Jul 27 17:18:42 PDT 2011
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUO"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9300M GS"
Option "Nologo" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
复制代码
/etc/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
复制代码
/etc/X11/xorg.conf.d/10-synaptics.conf
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchDevicePath "/dev/input/event8"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
复制代码
sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps
上面这种方法没有效果,大概是拆过一次电脑之后出现的故障,不过X。log能检测到触摸板,硬件应该没有问题吧=.=
请问这应该怎么设置呢。。。
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
Havanna
Havanna
当前离线
积分
938
IP卡
狗仔卡
发表于 2011-8-22 15:10:19
|
显示全部楼层
囧,触摸板你居然在3个位置都做配置....
你确认 MatchDevicePath "/dev/input/event[color="Red"]8" ?
回复
支持
反对
使用道具
举报
显身卡
palytoxin
palytoxin
当前离线
积分
12
IP卡
狗仔卡
楼主
|
发表于 2011-8-22 16:49:54
|
显示全部楼层
文件设置之前没有问题,Xorg中没有配置触摸5板。好像和取消了hal也有关系?
event8是写错了>_<本来是event*(event*也不能用
等晚上把xorg.log贴上来大家看一下
回复
支持
反对
使用道具
举报
显身卡
palytoxin
palytoxin
当前离线
积分
12
IP卡
狗仔卡
楼主
|
发表于 2011-8-22 22:23:14
|
显示全部楼层
[ 217.382] (II) Initializing built-in extension XFIXES
[ 217.382] (II) Initializing built-in extension RENDER
[ 217.382] (II) Initializing built-in extension RANDR
[ 217.382] (II) Initializing built-in extension COMPOSITE
[ 217.382] (II) Initializing built-in extension DAMAGE
[ 217.385] (II) Initializing extension GLX
[ 217.527] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[ 217.527] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 217.527] (II) LoadModule: "evdev"
[ 217.527] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.528] (II) Module evdev: vendor="X.Org Foundation"
[ 217.528] compiled for 1.10.0, module version = 2.6.0
[ 217.528] Module class: X.Org XInput Driver
[ 217.528] ABI class: X.Org XInput driver, version 12.2
[ 217.528] (II) Using input driver 'evdev' for 'Power Button'
[ 217.528] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.528] (**) Power Button: always reports core events
[ 217.528] (**) Power Button: Device: "/dev/input/event5"
[ 217.528] (--) Power Button: Found keys
[ 217.528] (II) Power Button: Configuring as keyboard
[ 217.528] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event5"
[ 217.528] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 217.528] (**) Option "xkb_rules" "evdev"
[ 217.528] (**) Option "xkb_model" "evdev"
[ 217.528] (**) Option "xkb_layout" "us"
[ 217.561] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[ 217.561] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 217.561] (II) Using input driver 'evdev' for 'Video Bus'
[ 217.561] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.561] (**) Video Bus: always reports core events
[ 217.561] (**) Video Bus: Device: "/dev/input/event6"
[ 217.561] (--) Video Bus: Found keys
[ 217.561] (II) Video Bus: Configuring as keyboard
[ 217.561] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:06/LNXVIDEO:01/input/input6/event6"
[ 217.561] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
[ 217.561] (**) Option "xkb_rules" "evdev"
[ 217.561] (**) Option "xkb_model" "evdev"
[ 217.561] (**) Option "xkb_layout" "us"
[ 217.583] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 217.583] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 217.583] (II) Using input driver 'evdev' for 'Power Button'
[ 217.583] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.583] (**) Power Button: always reports core events
[ 217.583] (**) Power Button: Device: "/dev/input/event2"
[ 217.583] (--) Power Button: Found keys
[ 217.583] (II) Power Button: Configuring as keyboard
[ 217.583] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[ 217.583] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 217.583] (**) Option "xkb_rules" "evdev"
[ 217.583] (**) Option "xkb_model" "evdev"
[ 217.583] (**) Option "xkb_layout" "us"
[ 217.583] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[ 217.583] (II) No input driver/identifier specified (ignoring)
[ 217.584] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[ 217.584] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 217.584] (II) Using input driver 'evdev' for 'Sleep Button'
[ 217.584] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.584] (**) Sleep Button: always reports core events
[ 217.584] (**) Sleep Button: Device: "/dev/input/event4"
[ 217.584] (--) Sleep Button: Found keys
[ 217.584] (II) Sleep Button: Configuring as keyboard
[ 217.584] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4/event4"
[ 217.584] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[ 217.584] (**) Option "xkb_rules" "evdev"
[ 217.584] (**) Option "xkb_model" "evdev"
[ 217.584] (**) Option "xkb_layout" "us"
[ 217.587] (II) config/udev: Adding input device USB Webcam (/dev/input/event11)
[ 217.587] (**) USB Webcam: Applying InputClass "evdev keyboard catchall"
[ 217.587] (II) Using input driver 'evdev' for 'USB Webcam'
[ 217.587] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.587] (**) USB Webcam: always reports core events
[ 217.587] (**) USB Webcam: Device: "/dev/input/event11"
[ 217.587] (--) USB Webcam: Found keys
[ 217.587] (II) USB Webcam: Configuring as keyboard
[ 217.587] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/input/input11/event11"
[ 217.587] (II) XINPUT: Adding extended input device "USB Webcam" (type: KEYBOARD)
[ 217.587] (**) Option "xkb_rules" "evdev"
[ 217.587] (**) Option "xkb_model" "evdev"
[ 217.587] (**) Option "xkb_layout" "us"
[ 217.588] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[ 217.588] (II) No input driver/identifier specified (ignoring)
[ 217.588] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event8)
[ 217.588] (II) No input driver/identifier specified (ignoring)
[ 217.589] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event9)
[ 217.589] (II) No input driver/identifier specified (ignoring)
[ 217.591] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event1)
[ 217.591] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 217.591] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[ 217.591] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.591] (**) USB Optical Mouse: always reports core events
[ 217.591] (**) USB Optical Mouse: Device: "/dev/input/event1"
[ 217.591] (--) USB Optical Mouse: Found 9 mouse buttons
[ 217.591] (--) USB Optical Mouse: Found scroll wheel(s)
[ 217.591] (--) USB Optical Mouse: Found relative axes
[ 217.591] (--) USB Optical Mouse: Found x and y relative axes
[ 217.591] (II) USB Optical Mouse: Configuring as mouse
[ 217.591] (II) USB Optical Mouse: Adding scrollwheel support
[ 217.591] (**) USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 217.591] (**) USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 217.591] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input1/event1"
[ 217.591] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE)
[ 217.591] (II) USB Optical Mouse: initialized for relative axes.
[ 217.591] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 217.591] (**) USB Optical Mouse: (accel) acceleration profile 0
[ 217.591] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 217.591] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[ 217.592] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[ 217.592] (II) No input driver/identifier specified (ignoring)
[ 217.596] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 217.596] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 217.596] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 217.596] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 217.597] (**) AT Translated Set 2 keyboard: always reports core events
[ 217.597] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 217.597] (--) AT Translated Set 2 keyboard: Found keys
[ 217.597] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[ 217.597] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 217.597] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[ 217.597] (**) Option "xkb_rules" "evdev"
[ 217.597] (**) Option "xkb_model" "evdev"
[ 217.597] (**) Option "xkb_layout" "us"
[ 217.597] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[ 217.597] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 217.597] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 217.597] (II) LoadModule: "synaptics"
[ 217.597] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 217.598] (II) Module synaptics: vendor="X.Org Foundation"
[ 217.598] compiled for 1.10.2, module version = 1.4.1
[ 217.598] Module class: X.Org XInput Driver
[ 217.598] ABI class: X.Org XInput driver, version 12.2
[ 217.598] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 217.598] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 217.598] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 217.598] (**) Option "Device" "/dev/input/event10"
[ 217.660] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[ 217.660] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[ 217.660] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 217.660] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 217.660] (--) SynPS/2 Synaptics TouchPad: buttons: left right
[ 217.660] (**) Option "TapButton1" "1"
[ 217.660] (**) Option "TapButton2" "2"
[ 217.660] (**) Option "TapButton3" "3"
[ 217.766] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 217.766] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 217.873] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input10/event10"
[ 217.873] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[ 217.873] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 217.873] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[ 217.873] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.040
[ 217.873] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 217.873] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 217.873] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 217.873] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 217.874] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 217.874] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 217.874] (II) No input driver/identifier specified (ignoring)
复制代码
回复
支持
反对
使用道具
举报
显身卡
palytoxin
palytoxin
当前离线
积分
12
IP卡
狗仔卡
楼主
|
发表于 2011-8-23 13:14:41
|
显示全部楼层
Update:发现只要不插外接USB鼠标触摸板就能正常使用,看来是udev加载顺序的问题。
SUBSYSTEMS=="input",ATTRS{name}=="USB Optical Mouse",SYMLINK+="input/mouse1"
SUBSYSTEMS=="input",ATTRS{name}=="SynPS/2 Synaptics TouchPad",SYMLINK+="input/mouse0"
设定udev规则解决
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表