LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1376|回复: 5

xorg-server升级到1.8后(-hal udev),无法使用键盘鼠标[solved]

[复制链接]
发表于 2010-4-18 10:39:12 | 显示全部楼层 |阅读模式
[D] x11-base/xorg-server
     Available versions:  [M]1.5.3-r6 1.6.5-r1 (~)1.7.6 [M](~)1.8.0 {3dfx debug dmx doc hal input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom ipv6 kdrive minimal nptl sdl static-libs tslib +udev video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi xorg}
     Installed versions:  1.8.0(12:08:54 AM 04/17/2010)(nptl udev xorg -dmx -doc -hal -ipv6 -kdrive -minimal -static-libs -tslib)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

x11-base/xorg-drivers
     Available versions:  1.6 (~)1.7 (~)1.8 {input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nouveau video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi}
     Installed versions:  1.8(12:05:26 AM 04/17/2010)(input_devices_evdev input_devices_synaptics video_cards_nouveau -input_devices_acecad -input_devices_aiptek -input_devices_joystick -input_devices_keyboard -input_devices_mouse -input_devices_penmount -input_devices_tslib -input_devices_virtualbox -input_devices_vmmouse -input_devices_void -input_devices_wacom -video_cards_apm -video_cards_ark -video_cards_ast -video_cards_chips -video_cards_cirrus -video_cards_dummy -video_cards_epson -video_cards_fbdev -video_cards_fglrx -video_cards_geode -video_cards_glint -video_cards_i128 -video_cards_i740 -video_cards_impact -video_cards_intel -video_cards_mach64 -video_cards_mga -video_cards_neomagic -video_cards_newport -video_cards_nv -video_cards_nvidia -video_cards_r128 -video_cards_radeon -video_cards_radeonhd -video_cards_rendition -video_cards_s3 -video_cards_s3virge -video_cards_savage -video_cards_siliconmotion -video_cards_sis -video_cards_sisusb -video_cards_sunbw2 -video_cards_suncg14 -video_cards_suncg3 -video_cards_suncg6 -video_cards_sunffb -video_cards_sunleo -video_cards_suntcx -video_cards_tdfx -video_cards_tga -video_cards_trident -video_cards_tseng -video_cards_v4l -video_cards_vesa -video_cards_via -video_cards_virtualbox -video_cards_vmware -video_cards_voodoo -video_cards_xgi)
     Homepage:            http://www.gentoo.org/
     Description:         Meta package containing deps on all xorg drivers

x11-drivers/xf86-input-evdev
     Available versions:  2.3.2 (~)2.4.0 {debug}
     Installed versions:  2.4.0(09:45:25 PM 04/15/2010)(-debug)
     Homepage:            http://xorg.freedesktop.org/
     Description:         Generic Linux input driver

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2010-4-18 10:51:00 | 显示全部楼层
升级完成后,重新emerge一下evdev和你的显卡驱动
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-18 11:11:24 | 显示全部楼层
Post by ghosTM55;2083646
升级完成后,重新emerge一下evdev和你的显卡驱动

升级到1.8之后,我就重新编译了xf86-input-evdev和xf86-video-nouveau. 可唯独keyboard和mice不能用,synaptics是可以用的(我另加了配置文件)。

cat /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
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-19 08:41:05 | 显示全部楼层
把udev升级到151就可以了。
回复 支持 反对

使用道具 举报

发表于 2010-4-30 17:07:55 | 显示全部楼层
自以为把xf86-input系列重编译就够了,原来我也是在udev上太保守了
回复 支持 反对

使用道具 举报

发表于 2010-4-30 23:35:18 | 显示全部楼层
其实看看emerge xorg-server完成之后的提示,然后安装提示做一下就好了,我也遇到了类似问题,后来才发现原来人家已经提醒了。  gentoo的文档做的真挺不错的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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