screaper 发表于 2006-3-31 14:20:57

笔记本上装gentoo,两个鼠标怎么办?

昨天在笔记本上装gentoo,装了X后发觉系统只找到一个鼠标,触摸板那个。对应的设备是/dev/input/mice。另外接一个鼠标是USB的,编译内核的时候也选了USB输入设备的。在/dev/input下面除了mice外,还有mouse0,mouse1,mouse2,mouse3。可是这几个都没有对应的设备。

linky_fan 发表于 2006-4-2 21:09:12

给个xorg。conf看看撒 :arrow:

screaper 发表于 2006-4-3 13:15:49

我个人怀疑不是xorg.conf配置的问题,而是根本没有找到我的鼠标硬件。我把/dev/input目录下的文件都看了下,没有对应我的USB鼠标的。
下面是我的xorg.conf配置文件,是参考fedora5改的

Section "ServerLayout"
        Identifier   "X.org Configured"
        Screen      0"Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Synaptics" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath   "/usr/share/fonts/misc/"
        FontPath   "/usr/share/fonts/TTF/"
        FontPath   "/usr/share/fonts/Type1/"
        FontPath   "/usr/share/fonts/CID/"
        FontPath   "/usr/share/fonts/75dpi/"
        FontPath   "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load"extmod"
        Load"dri"
        Load"dbe"
        Load"record"
        Load"xtrap"
        Load"glx"
        Load"type1"
        Load"freetype"
        Load"synaptics"
EndSection

Section "InputDevice"
        Identifier"Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier"Mouse0"
        Driver      "mouse"
        Option          "Protocol" "auto"
        Option          "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
        Identifier"Synaptics"
        Driver      "synaptics"
        Option          "Protocol" "auto-dev"
        Option          "Device" "/dev/input/mouse0"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"

      ### Available Driver options are:-
      ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
      ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
      ### : arg optional
      #Option   "ShadowFB"                 # [<bool>]
      #Option   "DefaultRefresh"           # [<bool>]
        Identifier"Card0"
        Driver      "fglrx"
        VendorName"ATI Technologies Inc"
        BoardName   "Unknown Board"
        BusID       "PCI:1:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device   "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24

        SubSection "Display"
                Viewport   0 0
                Depth   1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth   4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth   8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth   15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth   16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                #Modes        1024x768
                Depth   24
        EndSubSection
EndSection

linky_fan 发表于 2006-4-4 12:23:29

嗯,回家后我把偶那个本本上的配置文件发给你看看好了,也是双鼠标,一个是触摸板,一个是usb接口的无线鼠标。

screaper 发表于 2006-4-5 09:36:57

现在更加证明不是xorg.conf的问题。我同样的配置在debian和FC5下都可以工作。看来是在gentoo下驱动有问题。不知道是不是内核配置的问题。哪位介绍一下怎么配置USB鼠标的驱动?

linky_fan 发表于 2006-4-5 21:24:35

faint, 偶把偶的config部分发给你, take a look, 比较一下usb部分吧:

linky@genbox ~ $ cat config | grep USB
# USB devices
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# USB support
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
CONFIG_USB_BLUETOOTH_TTY=y
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_RW_DETECT=y
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# USB Input Devices
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# Video4Linux support is needed for USB Multimedia device support
# USB Network Adapters
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# USB port drivers
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_TEST is not set
# USB ATM/DSL drivers
# USB Gadget Support
# CONFIG_USB_GADGET is not set

linky_fan 发表于 2006-4-5 21:41:03

附带我的xorg.conf
页: [1]
查看完整版本: 笔记本上装gentoo,两个鼠标怎么办?