LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Mouse stops responding after some period of inactivity (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-stops-responding-after-some-period-of-inactivity-390001/)

dmartins 12-06-2005 08:33 PM

USB Mouse stops responding after some period of inactivity
 
Hi all, i'll explain the symptoms first, followed by some hardware specs. Thanks ahead of time to those of you who take the time to read this :)

My usb mouse, which is just a regular old logitech optical wheel mouse, just quits responding after a seemingly random period of time, if it's not being moved. Once this freeze occurs i can either switch to a console and back to X to fix the problem, or restart X.

Now, if i switch to a console and type
Code:

cat /dev/input/mouse0
moving the mouse produces the regular "&534@%#41@#$!$"

When i switch back the X, the mouse starts moving the cursor again, right where it left off. Of course, this leads me to believe that the problem is with X, and not the kernel/drivers.

The following lines appears in my Xorg.0.log:
Code:

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Mouse0: ps2EnableDataReporting: succeeded

I can't be completely sure that the line regarding APM has anything to do with the problem, but it does seem like it since it almost always appears just before the second 2 lines.

The mouse will quite often stop responding before my screensaver comes on, which is 5 minutes, and well before my monitor turns off after 20 minutes.

Edit: The mouse is the only thing plugged in to usb when this happens, and i don't have gpm started

Now for the configs/specs

I'm running gentoo 2005.1 with and my kernel is 2.6.14-gentoo-r2

usb, uhci, and hid support are compiled into the kernel

apm support isn't compiled, and acpi support is.

My xorg.conf:
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        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  "record"
        Load  "xtrap"
        Load  "dbe"
        # Load  "dri"
        Load  "glx"
        Load  "extmod"
        Load  "freetype"
        Load  "type1"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "ExplorerPS/2"
        Option            "Device" "/dev/input/mouse0"
        Option                "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "KDS"
        ModelName    "ions VS-7i"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option            "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        #BoardName  "NV15 [GeForce2 GTS/Pro]"
        VideoRam 65536
        #BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth    16
                Modes "1280x1024 1280x768 1024x768"       
        EndSubSection
        SubSection "Display"
                Depth    24
                Modes "1280x1024 1280x768 1024x768"
        EndSubSection
EndSection

Thanks again!:cool:

--Dan


All times are GMT -5. The time now is 05:07 PM.