Find the answer to your Linux question:
Results 1 to 8 of 8
I'm finally up and running in Linux Mandrake 10.1, but I haven't had a chance to mess with it much yet because when I boot into the OS, my mouse ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    11

    USB Mouse problem


    I'm finally up and running in Linux Mandrake 10.1, but I haven't had a chance to mess with it much yet because when I boot into the OS, my mouse stops working after a minute or two. The odd thing is it works fine, and then just quits. It's a HP USB mouse... I'm very new to linux (just installed it this morning for the first time) so any help would be awesome. Thanks.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Can you post the contents of /etc/X11/xorg.conf?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Posts
    11
    Why sure. Here it is...

    Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
    EndSection

    Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    EndSection

    Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    EndSection

    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
    EndSection

    Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
    EndSection

    Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "Optiquest Q71-5"
    HorizSync 30-70
    VertRefresh 50-120

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

    # Dell D800 and few Inspiron (16/10) 1280x800
    ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

    # Dell D800 and few Inspiron (16/10) 1680x1050
    ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

    # Dell D800 and few Inspiron (16/10) 1920x1200
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
    EndSection

    Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nv"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
    Depth 8
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 15
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 16
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 24
    Virtual 1024 768
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    EndSection

  4. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    How many buttons does your mouse have? Remember - when counting them, the scroll buttons is 'worth' 3 buttons (scroll up, scroll down, and click).
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  5. #5
    Just Joined!
    Join Date
    Oct 2005
    Posts
    11
    Then it would have five buttons total.

    I switched to another mouse: a PS/2 with a roller ball, and it works fine. I guess if worse comes to worse I can just keep using this one, but I like my other one more.

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    I suggest you grab your default 5-button mouse, and use this setup:

    Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
    EndSection
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  7. #7
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    not all distros use /dev/input/mice though...
    Operating System: GNU Emacs

  8. #8
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Ok, then maybe he should keep /dev/mouse.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

Posting Permissions

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