Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
so after quite a while of work to get x to start, it finally did, but now the mouse isn't working. i thought that it was because i had a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    7

    mouse not working?


    so after quite a while of work to get x to start, it finally did, but now the mouse isn't working. i thought that it was because i had a wireless mouse and it wasn't connecting with each other. but when i tried another usb mouse, it still didnt work. i've tried editing xorg.conf a few times, but no luck. does it matter usb / ps/2? i finally got x up and running and would like to use a mouse! please help! (by the way, i'm not the most savvy linux user, so please explain things thoroughly)

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Have you tried different devices? Most distro's use /dev/mouse but for example, Arch uses /dev/input/mice

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    7
    Quote Originally Posted by bryansmith
    Have you tried different devices? Most distro's use /dev/mouse but for example, Arch uses /dev/input/mice

    Bryan
    i originally tried a wireless usb mouse, then i plugged in a regular usb mouse, and no luck. here's the xorg.conf file:
    Code:
    # **********************************************************************
    # Files section.  This allows default font and rgb paths to be set
    # **********************************************************************
    
    Section "Files"
    
    # The location of the RGB database.  Note, this is the name of the
    # file minus the extension (like ".txt" or ".db").  There is normally
    # no need to change the default.
    
        RgbPath   "/usr/share/X11/rgb"
    
    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    
        FontPath   "/usr/share/fonts/local"
        FontPath   "/usr/share/fonts/misc"
        FontPath   "/usr/share/fonts/Type1"
        FontPath   "/usr/share/fonts/TTF"
        FontPath   "/usr/share/fonts/CID"
        FontPath   "/usr/share/fonts/75dpi"
        FontPath   "/usr/share/fonts/100dpi"
    
    # ModulePath can be used to set a search path for the X server modules.
    # The default path is shown here.
    
    #    ModulePath   "/usr/lib/xorg/modules"
    
    EndSection
    
    # **********************************************************************
    # Module section -- this is an optional section which is used to specify
    # which run-time loadable modules to load when the X server starts up.
    # **********************************************************************
    
    Section "Module"
    
    # This loads the DBE extension module.
    
        # Load   "drj"
       Load    "glx"
    
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    
        SubSection   "extmod"
       Option   "omit xfree86-dga"
        EndSubSection
    
    # This loads the Type1 and FreeType font modules
    
        Load   "type1"
        Load   "freetype"
    
    EndSection
    
    
    # **********************************************************************
    # Server flags section.  This contains various server-wide Options.
    # **********************************************************************
    
    Section "ServerFlags"
    
    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    
    #    Option   "NoTrapSignals"
    
    # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
    # (where n is 1 through 12).  This allows clients to receive these key
    # events.
    
    #    Option   "DontVTSwitch"
    
    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    
    #    Option   "DontZap"
    
    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    
    #    Option   "DontZoom"
    
    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.
    
    #    Option   "DisableVidModeExtension"
    
    # Uncomment this to enable the use of a non-local xvidtune client.
    
    #    Option   "AllowNonLocalXvidtune"
    
    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.
    
    #    Option   "DisableModInDev"
    
    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).
    
    #    Option   "AllowNonLocalModInDev"
    
    # Set the basic blanking screen saver timeout.
    
        Option   "blank time"   "10"   # 10 minutes
    
    # Set the DPMS timeouts.  These are set here because they are global
    # rather than screen-specific.  These settings alone don't enable DPMS.
    # It is enabled per-screen (or per-monitor), and even then only when
    # the driver supports it.
    
        Option   "standby time"   "20"
        Option   "suspend time"   "30"
        Option   "off time"   "60"
    
    # On some platform the server needs to estimate the sizes of PCI
    # memory and pio ranges. This is done by assuming that PCI ranges
    # don't overlap. Some broken BIOSes tend to set ranges of inactive
    # devices wrong. Here one can adjust how aggressive the assumptions
    # should be. Default is 0.
    
    # Option   "EstimateSizesAggresively" "0"
    
    EndSection
    
    
    # **********************************************************************
    # Input devices
    # **********************************************************************
    
    # **********************************************************************
    # Core keyboard's InputDevice section
    # **********************************************************************
    
    Section "InputDevice"
        Identifier   "Keyboard1"
        Driver   "keyboard"
    
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
    # out the above line, and uncomment the following line.
    
    #    Option   "Protocol"   "Xqueue"
    
    # Set the keyboard auto repeat parameters.  Not all platforms implement
    # this.
    
        Option   "AutoRepeat"   "500 5"
    
    # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
    
    #    Option   "Xleds"   "1 2 3"
    
    # These are the default XKB settings for xorg
    #
    #    Option   "XkbRules"   "xorg"
    #    Option   "XkbModel"   "pc101"
    #    Option   "XkbLayout"   "us"
    #    Option   "XkbVariant"   ""
    #    Option   "XkbOptions"   ""
    EndSection
    
    
    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************
    
    Section "InputDevice"
        Identifier   "Mouse1" #Mouse1
        Driver   "mouse"  #mouse
    
    # The mouse protocol and device.  The device is normally set to /dev/mouse,
    # which is usually a symbolic link to the real device.
    
        Option   "Protocol"   "ExplorerPS/2"
        Option   "Device"   "/dev/input/mouse0" #mouse0
    EndSection
    
    
    
    # **********************************************************************
    # Monitor section
    # **********************************************************************
    
    # Any number of monitor sections may be present
    
    Section "Monitor"
        Identifier   "Generic Monitor"
    
    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    
    #    HorizSync   31.5  # typical for a single frequency fixed-sync monitor
    #    HorizSync   30-64         # multisync
    #    HorizSync   31.5, 35.2    # multiple fixed sync frequencies
    #    HorizSync   15-25, 30-50  # multiple ranges of sync frequencies
    
    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    
    #    VertRefresh   60  # typical for a single frequency fixed-sync monitor
    
    #    VertRefresh   50-100        # multisync
    #    VertRefresh   60, 65        # multiple fixed sync frequencies
    #    VertRefresh   40-50, 80-100 # multiple ranges of sync frequencies
    
    # If a monitor has DPMS support, that can be indicated here.  This will
    # enable DPMS when the monitor is used with drivers that support it.
    
        Option   "dpms"
    EndSection
    
    # **********************************************************************
    # Graphics device section
    # **********************************************************************
    
    Section "Device"
        Identifier   "nVidia Inc. GeForce2"
        Driver   "nvidia"
        VideoRam   132872
    EndSection
    
    
    # **********************************************************************
    # Screen sections.
    # **********************************************************************
    
    # Any number of screen sections may be present.  Each describes
    # the configuration of a single screen.  A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    
    Section "Screen"
        Identifier   "Screen 1"
        Device   "nVidia Inc. GeForce2"
        Monitor   "Generic Monitor"
        DefaultDepth 24
    
        SubSection "Screen 1"
            Depth      24
            Modes      "1440x900"
            ViewPort   0 0
        EndSubsection
    EndSection
    
    
    # **********************************************************************
    # ServerLayout sections.
    # **********************************************************************
    
    # Any number of ServerLayout sections may be present.  Each describes
    # the way multiple screens are organised.  A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option.  In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.
    
    Section "ServerLayout"
        Identifier   "simple layout"
        Screen   "Screen 1"
        InputDevice   "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"
    EndSection

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Gentoo kernel uses /dev/input/mice , be sure to enable it in the kernel config
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  6. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    7
    Quote Originally Posted by Juan Pablo
    Gentoo kernel uses /dev/input/mice , be sure to enable it in the kernel config
    im pretty sure i did. to be sure, i would do 'cd /usr/src/linux' then 'make menuconfig' then which options do i make sure to enable?

  7. #6
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Go to

    Device Drivers -> Input Device Support -> Mouse


    Almost all 2.6 kernels use /dev/input/mice
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  8. #7
    Just Joined!
    Join Date
    Oct 2006
    Posts
    7
    Quote Originally Posted by Juan Pablo
    Go to

    Device Drivers -> Input Device Support -> Mouse


    Almost all 2.6 kernels use /dev/input/mice
    i have PS/2 included, should i include any others?

  9. #8
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    You said you had a USB mouse right? Make sure you have support for USB devices in your config (you probably have other USB devices anyway that need USB support).

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  10. #9
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    It should be OHCI, UHCI and EHCI to get USB working
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  11. #10
    Just Joined!
    Join Date
    Oct 2006
    Posts
    7
    Quote Originally Posted by Juan Pablo
    It should be OHCI, UHCI and EHCI to get USB working
    they're all checked. does my xorg.conf file need to be modified at all?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •