LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB & PS/2 mouse problem!!! (https://www.linuxquestions.org/questions/linux-hardware-18/usb-and-ps-2-mouse-problem-370972/)

unihiekka 10-08-2005 12:58 PM

USB & PS/2 mouse problem!!!
 
Hi ya!

I have a NEC Versa P520 Laptop with SuSE Linux 9.3 Pro running on the KDE system (latest stable version). I have a touchpad mouse integrated at the bottom which works fine, but I also have Microsoft 3-button mouse for USB or with a hardware add-on compatible to PS/2... When I plug it in at start (or ever USB whilst running), YaST2 recognizes that there is new hardware but fails to use it... What should I do to let my mouse work on my laptop?

Thanks!

Brian1 10-09-2005 06:11 PM

Post your /etc/X11/xorg.conf.

Brian1

unihiekka 10-11-2005 07:29 AM

Code:

# /.../
# SaX generated X11 config file
# Created on: 2005-09-24T19:28:31+0200.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath    "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/local"
  FontPath    "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/URW"
  FontPath    "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath    "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath    "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath    "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/CID"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath    "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option      "AllowMouseOpenFail"
EndSection

Section "Module"
  Load        "freetype"
  Load        "type1"
  Load        "dbe"
  Load        "glx"
  Load        "extmod"
  Load        "v4l"
EndSection

Section "InputDevice"
  Driver      "kbd"
  Identifier  "Keyboard[0]"
  Option      "Protocol" "Standard"
  Option      "XkbLayout" "us"
  Option      "XkbModel" "pc104"
  Option      "XkbRules" "xfree86"
  Option      "XkbVariant" "basic"
EndSection

Section "InputDevice"
  Driver      "synaptics"
  Identifier  "Mouse[1]"
  Option      "AccelFactor" "0.04"
  Option      "BottomEdge" "650"
  Option      "ButtonNumber" "5"
  Option      "CircScrollDelta" "0.1"
  Option      "CircScrollTrigger" "2"
  Option      "CircularScrolling" "1"
  Option      "Device" "/dev/mouse"
  Option      "EdgeMotionMaxSpeed" "15"
  Option      "EdgeMotionMinSpeed" "15"
  Option      "Emulate3Buttons" "on"
  Option      "EmulateMidButtonTime" "75"
  Option      "FingerHigh" "15"
  Option      "FingerLow" "14"
  Option      "HorizScrollDelta" "20"
  Option      "InputFashion" "Mouse"
  Option      "LeftEdge" "120"
  Option      "MaxSpeed" "0.5"
  Option      "MaxTapMove" "110"
  Option      "MaxTapTime" "180"
  Option      "MinSpeed" "0.2"
  Option      "Name" "ALPS;Touchpad"
  Option      "Protocol" "ExplorerPS/2"
  Option      "RightEdge" "830"
  Option      "SHMConfig" "on"
  Option      "TopEdge" "120"
  Option      "UpDownScrolling" "1"
  Option      "Vendor" "Sysp"
  Option      "VertScrollDelta" "20"
  Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  Option      "CalcAlgorithm" "CheckDesktopGeometry"
  HorizSync    31-60
  Identifier  "Monitor[0]"
  ModelName    "1024X768@60HZ"
  Option      "DPMS"
  VendorName  "--> LCD"
  VertRefresh  40-60
  UseModes    "Modes[0]"
EndSection

Section "Modes"
  Identifier  "Modes[0]"
  Modeline        "800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline        "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline        "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "800x600"
  EndSubSection
  Device      "Device[0]"
  Identifier  "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "855 GM"
  BusID        "0:2:0"
  Driver      "i810"
  Identifier  "Device[0]"
  Option      "NoDDC"
  Screen      0
  VendorName  "Intel"
EndSection

Section "ServerLayout"
  Identifier  "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option      "Clone" "off"
  Option      "Xinerama" "off"
  Screen      "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode      0660
EndSection

Section "Extensions"
EndSection


Brian1 10-11-2005 06:35 PM

Edit your ServerLayout to look like this.
Code:

Section "ServerLayout"
  Identifier  "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice    "Mouse0" "CorePointer"
  InputDevice  "Mouse[1]" "AlwaysCore"
  Option      "Clone" "off"
  Option      "Xinerama" "off"
  Screen      "Screen[0]"
EndSection

Then add this into the config file
Code:

Section "InputDevice"
        Identifier  "Mouse[0]"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

This line ' Option "Device" "/dev/input/mice" ' may need to to changed to yoursecound mouse point. But this one should work.
Once changed you will need to restart X. NOTE: make a backup of your orginal file in case you make an editing mistake.
See how that works.
Brian1


All times are GMT -5. The time now is 08:10 AM.