LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB mouse is on, but not working.... (https://www.linuxquestions.org/questions/slackware-14/usb-mouse-is-on-but-not-working-142997/)

whitefox 02-06-2004 11:19 AM

USB mouse is on, but not working....
 
I just installed slackware 9.1. I have a USB optical mouse. Its light is on, but the cursor is not reacting when the mouse moves.

I have a USB keyboard, which is working well.

Could anyone tell me how to solve this problem ?

thanks.

Misel 02-06-2004 12:46 PM

you have to add it in your /etc/XF86Config

It should look like this:

Code:

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

and in the Serverlayout section add
Code:

InputDevice    "Mouse1" "AlwaysCore"
This lets you plug in other USB-mice as well.

whitefox 02-08-2004 09:48 AM

Hey, man, I still haven't got the mouse running.

here is my XF86Config code:

Code:

   
    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/mouse"

and for the ServerLayout section, I have :
Code:


    InputDevice "Mouse1" "CorePointer"

any idea?

Misel 02-08-2004 10:21 AM

Erm,.... check what I wrote and what you wrote! Note the difference?

A USB mouse uses another inputsystem that create device files in /dev/input. There should be several /dev/input/mouseX and one /dev/input/mice and a couple others. "mice" stands for all mouseX together.

To check whether it's there or not, do a `cat /dev/input/mice` and move your mouse. You should see gibberish. Those are signals from your mouse and they mean that the device is working.

Then you have to change "/dev/mouse" to "/dev/input/mice".

If not then do an `lsmod` and post it here.

whitefox 02-09-2004 10:45 AM

yes, you are right, using cat /dev/input/mice, the mouse was generating something on the screen. However, after modified the XF86Config as you told, startx cannot work. so I turned it back to the old setting( the one showed in old post), and

this is the result of lsmod:
Code:

Module                  Size  Used by    Not tainted
snd-pcm-oss            37252  0
snd-mixer-oss          11992  0  [snd-pcm-oss]
usbkbd                  3416  0  (unused)
keybdev                1952  0  (unused)
mousedev                4244  0
hid                    21156  0  (unused)
usbmouse                2008  0  (unused)
input                  3200  0  [usbkbd keybdev mousedev hid usbmouse]
snd-intel8x0          17156  0
snd-pcm                55904  0  [snd-pcm-oss snd-intel8x0]
snd-timer              13252  0  [snd-pcm]
snd-ac97-codec        37240  0  [snd-intel8x0]
snd-page-alloc          6004  0  [snd-intel8x0 snd-pcm]
snd-mpu401-uart        3136  0  [snd-intel8x0]
snd-rawmidi            12512  0  [snd-mpu401-uart]
snd-seq-device          3920  0  [snd-rawmidi]
snd                    27460  0  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore              3332  3  [snd]
eepro100              19380  1
mii                    2304  0  [eepro100]
usb-ohci              18888  0  (unused)
ehci-hcd              16872  0  (unused)
usbcore                58400  1  [usbkbd hid usbmouse usb-ohci ehci-hcd]
ds                      6568  2
yenta_socket          10368  1
pcmcia_core            40032  0  [ds yenta_socket]
ide-scsi                9424  0
agpgart                39576  0  (unused)

I appreciate your help. thanks.

KMcD 02-18-2004 10:30 AM

I have the exact same problem, when I tried the modifications to the XF86Config file startx just wouldn't work so I had to revert to the original.

Any advice on this would be appreciated.

KMcD 02-18-2004 10:38 AM

Ignore my question, did some more digging and found the solution. For anyone else that is stuck, here where I found it:

http://www.linuxquestions.org/questi...ight=usb+mouse


All times are GMT -5. The time now is 04:36 AM.