LinuxSir.cn,穿越时空的Linuxsir!

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

现在一进入xwindow鼠标键盘就没有反应了。(已解决)

[复制链接]
发表于 2010-9-8 15:27:21 | 显示全部楼层 |阅读模式
进kde没问题,但是鼠标键盘都没有相应。如果不用kde,那个xclock的指针会转动,说明没死机。就是鼠标键盘还是没有动静。xcorg.conf是原来nforce主板的,现在是790GX主板,集成显卡。
显示器没有换,原来的显卡是X800 AGP。Xorg.0.log也提示找不到键盘鼠标
==========================================


Section "Module"

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection


#    Load        "type1"
    Load        "freetype"
    Load        "v4l"
    Load        "xtt"
#    Load        "fglrx"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
    Load       "drm"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"



    RgbPath        "/usr/share/X11/rgb"



    FontPath   "/usr/share/fonts/TTF/"





    FontPath         "/usr/share/fonts/misc"
    FontPath         "/usr/share/fonts/ttf-bitstream-vera"
    FontPath         "/usr/share/fonts/Type1"
    FontPath         "/usr/share/fonts/100dpi"
    FontPath         "/usr/share/fonts/75dpi"
    FontPath         "/usr/local/share/fonts"
EndSection







Section "InputDevice"

    Identifier        "Keyboard1"
    Driver        "kbd"




    Option "AutoRepeat" "500 30"




    Option "XkbRules"        "xorg"
    Option "XkbModel"        "pc105"
    Option "XkbLayout"        "us"


EndSection



Section "InputDevice"

# Identifier and driver

    Identifier        "Mouse1"
    Driver        "mouse"
    Option "rotocol"    "IMPS/2"        # IntelliMouse PS/2
    Option "Device"      "/dev/input/mice"







    Option "ZAxisMapping"   "4 5 6 7"




EndSection








Section "Monitor"

    Identifier  "My Monitor"

  Modeline "1904x1080_60.00"  171.72  1904 2024 2232 2560  1080 1081 1084 1118  -HSync +Vsync
EndSection


Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

    Driver     "vga"



EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "** ATI Radeon (generic)               [radeon]"
    Driver      "radeon"
    Option "VideoOverlay" "on"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection


.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)               [radeon]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1900x1080"
        ViewPort    0 0
    EndSubsection
EndSection



Section "ServerLayout"

    Identifier  "Simple Layout"



    Screen "Screen 1"



    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection
发表于 2010-9-8 17:46:51 | 显示全部楼层
集成显卡是不是要从新编译内核,重新生成xorg.conf   

另外重新编译下相关的Xorg-server毕竟显卡都不同了

qlist -I -C x11-driver

重新编译列出的软件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-8 19:11:19 | 显示全部楼层
我是全部重新安装,原来是barton3400,现在是athlon245,就是不知道如何找鼠标应该是/dev/下面哪一个设备,换过几个都没用,键盘没换,不知道为什么Xorg.o.log提示无法发现键盘
回复 支持 反对

使用道具 举报

发表于 2010-9-9 08:57:57 | 显示全部楼层
考虑用某个发行版的config编译内核吧,鼠标键盘多数还是与内核有关吧,是否移除了hal  

还有相关的程序应该就是这几个吧
qlist -I -C x11-driver                     

x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse

http://wiki.archlinux.org/index. ... 4.E8.BF.9B.E7.A8.8B
参考那个开源显卡列表。看是否有你需要的显卡型号。

用某个发行版的config编译内核吧 如ubuntu的,内核支持比较全面。重新生成。X11/config看看。
回复 支持 反对

使用道具 举报

发表于 2010-9-9 09:26:18 | 显示全部楼层
xorg早就可以不用配置文件了(开udev或hal的USE),移走配置文件,直接起一下看看
回复 支持 反对

使用道具 举报

发表于 2010-9-9 09:27:25 | 显示全部楼层
正常的情况下鼠标、键盘与内核关系不大。与xorg的配置有关。

我个人不推荐xorg.conf,最好lspci后找到正确的显卡驱动xf86-driver-xxxxxx安装,并安装hal、xf86-driver-evdev,用rc-update设置hal在启动机器时运行。

如果成功,就使用/etc/make.conf来管理xorg的驱动,比如
VIDEO_CARDS="xxxxxx"
INPUT_DEVICES="keyboard mouse evdev"
回复 支持 反对

使用道具 举报

发表于 2010-9-9 17:54:10 | 显示全部楼层
我的HP DV2530TX 笔记本GF8400没有xorg.conf  重来没有启动成功过,xorg.conf 定义一些参数蛮有用的。
回复 支持 反对

使用道具 举报

发表于 2010-9-9 22:14:58 | 显示全部楼层
Post by chenhaolost;2111658
我的HP DV2530TX 笔记本GF8400没有xorg.conf  重来没有启动成功过,xorg.conf 定义一些参数蛮有用的。

如果你用闭源驱动,那就得xorg.conf里指明,用开源的就没问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-10 07:39:01 | 显示全部楼层
试过移走xorg.conf,还是一样的,我使用GentooLiveDVD进入kde后/etc/X11xorg.conf.in拷贝到硬盘上还是一样。

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-10 07:48:13 | 显示全部楼层
还不知道是不是我的/etc/amekc.conf写错了,曾把处理器类型写为athlon64,现在改为k8。从新装一遍试试看。
回复 支持 反对

使用道具 举报

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

本版积分规则

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