LinuxSir.cn,穿越时空的Linuxsir!

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

请问怎么usb鼠标的滚轮不能用?

[复制链接]
发表于 2005-3-22 14:06:57 | 显示全部楼层 |阅读模式
下面是我的xorg.conf.hwd的设置
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse"
EndSection
Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "rotocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "S/2 Mouse"
        Driver      "mouse"
        Option      "rotocol" "auto"
Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option                "SendCoreEvents"        "true"
        Option          "rotocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection
发表于 2005-3-22 14:27:27 | 显示全部楼层
确保你的rc.conf的启动模块里面添加uhci_hcd,和usbhid
重启应该可以用了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-22 15:00:09 | 显示全部楼层
还是不行啊.
回复 支持 反对

使用道具 举报

发表于 2005-3-22 15:29:34 | 显示全部楼层
贴你的rc.conf出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-22 15:32:06 | 显示全部楼层
  1. #
  2. # /etc/rc.conf - Main Configuration for Arch Linux
  3. #

  4. #
  5. # Localization
  6. #
  7. # HARDWARECLOCK: set to "UTC" or "localtime"
  8. # TIMEZONE: timezones are found in /usr/share/zoneinfo
  9. # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
  10. # CONSOLEFONT: fount in /usr/share/kbd/consolefonts (only needed for non-us)
  11. # USECOLOR: use ANSI color sequences in startup messages
  12. #
  13. HARDWARECLOCK="localtime"
  14. TIMEZONE=Asia/Shanghai
  15. KEYMAP=us
  16. CONSOLEFONT=
  17. USEcolor="yes"

  18. # Scan for LVM volume groups at startup, required if you use LVM
  19. USELVM="no"

  20. #
  21. # Networking
  22. #
  23. HOSTNAME="localhost"

  24. #
  25. # Module to load at boot-up (in this order)
  26. #   (prefix a module with a ! to disable it)
  27. #
  28. MODULES=(8139too !usbserial !ide-scsi uhci_hcd usbhid  snd-card-0 snd-pcm-oss)

  29. #
  30. # Interfaces to start at boot-up (in this order)
  31. # Declare each interface then list in INTERFACES
  32. #   (prefix an interface in INTERFACES with a ! to disable it)
  33. #
  34. # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
  35. #
  36. lo="lo 127.0.0.1"
  37. eth0="dhcp"
  38. INTERFACES=(lo eth0)

  39. #
  40. # Routes to start at boot-up (in this order)
  41. # Declare each route then list in ROUTES
  42. #   (prefix a route in ROUTES with a ! to disable it)
  43. #
  44. gateway="default gw 192.168.0.1"
  45. ROUTES=(!gateway)

  46. #
  47. # Daemons to start at boot-up (in this order)
  48. #   (prefix a daemon with a ! to disable it)
  49. #
  50. DAEMONS=(syslog-ng hotplug !pcmcia network netfs crond)

  51. # End of file
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-3-22 15:34:53 | 显示全部楼层
还有你不要说你没有把.hwd的后缀去掉
回复 支持 反对

使用道具 举报

发表于 2005-3-22 15:40:59 | 显示全部楼层
改成xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-22 16:15:52 | 显示全部楼层
晕,没有啊,好像也能用啊...晕
回复 支持 反对

使用道具 举报

发表于 2005-3-22 16:44:55 | 显示全部楼层
没有xorg.conf的话它用的是默认的设置吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-22 17:17:14 | 显示全部楼层
好像不是呢,我原来是85的刷新,把xorg.conf.hwd改为xorg.conf鼠标滚轮倒是能用了,可是刷新倒是降为60了,手动改HorizSync    28.0 - 78.0
VertRefresh  50.0 - 162.0
后可以在gnome的分辨率改为85,但是就不是85的效果,还是60那种闪的厉害.
显示器的菜单里也显示是60hz
回复 支持 反对

使用道具 举报

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

本版积分规则

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