LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mouse problems....NOT SCROLL ISSUES (https://www.linuxquestions.org/questions/slackware-14/mouse-problems-not-scroll-issues-285545/)

O4_SRT 02-02-2005 07:30 PM

mouse problems....NOT SCROLL ISSUES
 
my ps/2 / USB intellimouse, or any mouse for that matter, wont work.

ive tried setting it up in xorgconfig, added the ZAxis option, made sure it said IMPS/2, tried it on auto as well, but still nothing.

I have it plugged into the ps/2 port using the adapter that came with it. Works fine with windows.

need a little help here, trying to get this setup tonight so i can finish a project thats due tomorrow, without going in to the computer lab at school.

mjrich 02-02-2005 07:36 PM

If you're not even getting a response, then either you have the wrong protocol or the wrong device listed. Perhaps post some more details about the mouse want to use, along with your xorg.conf - or a link to it.

Also: which kernel (and did you compile it, or was it the stock Slack one ).

Cheers,

mj

O4_SRT 02-02-2005 07:48 PM

the mouse is an older 4 button w/scroll wheel MS intellimouse, probably a good 4-5 years old. Its USB and PS/2 compatible.

i compiled with either bare.i or the stock slack kernel....are they the same?

mjrich 02-02-2005 07:53 PM

Quote:

i compiled with either bare.i or the stock slack kernel....are they the same?
No idea - but you'll probably need to have HID and usb mouse support compiled in, if you want to plug it into a usb port.

What have you got as your mouse entry in your xorg.conf ?

Cheers,

mj

O4_SRT 02-02-2005 07:56 PM

the mouse is plugged into the ps/2 port, and i forgot to mention its optical, if that matters.


my xorgconfig looks like this:


identifier "mouse1"
driver "mouse"
option "protocol" "IMPS/2"
option "device" "/dev/mouse"

mjrich 02-02-2005 08:18 PM

You probably will need something like:
Code:

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"            "/dev/input/mice"
        Option          "Protocol"          "IMPS/2"
        Option          "ZAxisMapping"      "5 6"
        Option          "Buttons"          "6"
EndSection

- for a four button plus scrollwheel usb mouse. Though you'll almost certainly need HID support in your kernel to use /dev/input/mice, and the Identifier will have to match that in the ServerLayout section.

Cheers,

mj

mjrich 02-02-2005 08:19 PM

Just saw your edited post.

You'll need to use mouse1 in place of USB Mouse.

Cheers,

mj

O4_SRT 02-02-2005 08:24 PM

so how do i know if i have HID support in my kernel, and how do i match that in the serverlayout section?

mjrich 02-02-2005 08:27 PM

Look for the stanza in your xorg.conf that begins with "ServerLayout" :)

If in doubt, post your whole xorg.conf.

mj

O4_SRT 02-02-2005 08:31 PM

and about the HID support?

mjrich 02-02-2005 08:38 PM

No usb human interface devices (HID's) will work if it isn't enabled - other than that, I don't know. If you're using a usb keyboard, then you're obviously ok. Easiest way is just to plug it in, edit your xorg.conf as above (changing USB Mouse to mouse1 - and check that the mouse that's mentioned in your ServerLayout is also mouse1) and restart X.

Cheers,

mj

O4_SRT 02-02-2005 08:52 PM

wireless usb keyboard works fine....so its something that is affecting the mouse excusively.


wheres a flow chart when ya need one?

O4_SRT 02-02-2005 09:10 PM

changed xorg.conf to:


Identifier "Mouse1"
Driver "mouse"
Option "device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "5 6"
Option "Buttons" "6"


and now X wont even start....its saying no pointer found


how do i go about posting a copy of my xorg.conf on here?

mjrich 02-02-2005 10:55 PM

Quote:

how do i go about posting a copy of my xorg.conf on here?
Presumably you're using a different computer/system while you sort this out, so I'd simply copy it to a floppy (in a console:
Code:

less /etc/fstab
mount /floppy                    (or wherever floppy is mounted, according to fstab)
cp /etc/X11/xorg.conf /floppy
umount -l /floppy

- then copy and paste the contents onto your entry here. Incidentally, what is the response when you type into a shell (as root)
Code:

cat /dev/input/mice
- and then move the mouse around ?

Cheers,

mj

O4_SRT 02-03-2005 01:35 PM

actually its the same computer, its kinda a PITA switching back and forth, but when this computer is down, so is our other one, as it gets its internet connection through this one.


All times are GMT -5. The time now is 06:41 PM.