LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Strange mouse issues (https://www.linuxquestions.org/questions/slackware-14/strange-mouse-issues-366971/)

killahsmurf 09-25-2005 04:01 PM

Strange mouse issues
 
hey guys, i have this really strange mouse recognition issue goin on with only one of my boxes.
i have a razer diamondback mouse that works marvelously on my main box, but when it comes to my other pc, (even with the same xorg.cong file) the mouse wont work in it..

however i did notice that if i set the mouse protocol from an imps/2 to a simple usb (via mouseconfig) the mouse works fine accept the button functions are all jumbled up. ie: left clicc is now right clicc, and vise versa.

when i looked at the output of the dmesg command, i can see that the pc definitely recognizes it. so im not to clear on exaclty whats happening here.

observe my corepointer section of the xorg.conf file:

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue

Option "Protocol" "imps/2"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


the only thing i can think of, is that it may not be in /dev/mouse, but if not there, then how do i find out where it is? dmesg says:

input0: Razer Razer Diamonback Optical Mouse on usb3:2.0
input0: Razer Razer Diamonback Optical Mouse on usb2:2.0


any information that aids me in gaining a better understanding would be appreciated, thanks

KMcD 09-26-2005 08:48 AM

on my usb mouse the device is
Code:

Option "Device"      "/dev/input/mice"

SlackerLX 09-26-2005 09:04 AM

On my Slack I configured it like so:
Code:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection


gbonvehi 09-26-2005 09:10 AM

Try stopping gpm and then runnning X: /etc/rc.d/rc.gpm stop

killahsmurf 09-26-2005 12:56 PM

ok heres a liddew something to add to the confusion:

before i turned my pc off (my main pc) i set my mouse to imps/2 via mouseconfig. when i turned it bacc on i noticed that my keyboard had absolutely no function once linux was all loaded up. after fiddling around for 5 mins, i noticed that when i unplugged my mouse (the same usb razer diamondback mouse), all the keys that i had pushed on my keyboard now popped up. now i know damn well this has never happend before to me. therefore leading me to believe that i have never set my mouse to imps/2 via mouseconfig.

however, the setting of imps/2 is still in my xorg.conf file.... how is it that i can have it set in the xorg, and not from mouseconfig.... whats the difference? i take it that the one from xorg is nothing more than a protocol, so that it uses the mouse like an microsoft intelligent mouse regardless if its usb or not... doing it from mouseconfig is telling linux that imps/2 is indeed ps2?? therefore when its not seeing a ps2 mouse, it sorta conflicts with the keyboard???

bah, anyway, im all normal again, if you have any other suggestions, im open to them all. thanks for your time guys :)


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