LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mouse goes vertical; not horizontal (slack) (https://www.linuxquestions.org/questions/linux-newbie-8/mouse-goes-vertical%3B-not-horizontal-slack-317920/)

nadroj 04-27-2005 10:40 PM

mx700 logitech mouse: not working properly
 
just put slack 10.1 on.. chose the same mouse as i did when i had (for the short time) slack 10, a usb mouse which worked.

i have a wireless usb logitech keyboard, and my mouse is a logitech mx700 wireless optical connected with the same usb port as the keyboard.

i tried running mouseconfig as root and when i choose usb mouse the mouse is recognized but only moves up and down, and acts weird, ie: right mouse jumps the cursor to far right of screen, the left side button of mouse (not 'left click') cliking will move the cursor to the far left of screen... the top mouse button (sorry, theres like 9 buttons on it) moves the cursor 1px to the left, etc etc.
i didnt find one that acted as a 'click' however.

how can i switch all the buttons around so that it moves properly X & Y? and get my left/right main buttons working appropriately?

i thought iv seen before that gpm was the mouse setup program for X (sorry i dont exactly know what im talking about :D) but i found out that it is just the program to allow for cut/paste in virtual consoles.

i havent ran xf86config, i believe its called.. would this be the appropriate thing to do, and is it pretty straight forward?

thanks


edit: bah! i cant wait... imma go try and break i mean fix it now

nadroj 04-27-2005 11:03 PM

ok, i couldnt even find the xf86config command.

any tips?

DeadPenguin 04-28-2005 12:32 AM

Here is the website that really helped me when i installed 10.0.Shilo is a Geek

Your are looking for the xf86config.

I think it is here: /etc/X11/XF86Config

if not use slocate or whereis to find it.

Read This

Good Luck.

For mouse Auto has always worked for me.

Good Luck. Slackware is a great distro. I learned a lot using it.

Regards.

nadroj 04-28-2005 01:03 AM

ya i was checking out the xorg.conf file and changed what it was to Auto and restarted computer but it didnt seem to do anything.. hopefully the first link will work for 10.*1* also.
thanks, ill check those things out now

nadroj 04-28-2005 01:12 AM

i couldnt find much about the mouse on the first site, that was very helpful that i didnt know..
but the 2nd site, the very last line on the page, i believe it is, says that slackware [10?] doesnt use xf86free anymore? it uses X.org? so i need to run xorgconfig not xf86config.
ill go try that one, although i had previously edited the file manually and it didnt help.. and i would think this program is just an easier way of manually editing the file, oh well ill give it a shot

DeadPenguin 04-28-2005 07:09 AM

I'm still on 10.0.
I thought 10.1 was still using xfree.

freakyg 04-28-2005 12:56 PM

Quote:

Originally posted by DeadPenguin
I'm still on 10.0.
I thought 10.1 was still using xfree.

xfree is included in the unsupported directory..........but
xorg is the default......

nadroj 04-28-2005 10:05 PM

ok, cant get my wireless USB Logitech mx700 to work properly. i have ran mouseconfig, xorgconfig, and manually edited the /etc/X11/xorg.conf file and set the mouse to Auto and usb, but its not working.

any help?

nadroj 04-28-2005 11:59 PM

ok heres my /etc/X11/xorg.conf input[mouse] section:

Section "InputDevice"
Option "CorePointer"
Option "Device" "/dev/mouse"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

and i have ran this command 'xmodmap -e ponter = 1 2 3 6 7 4 5' but get an error.. something like ' cannot open display for '' ' or something similar.. sorry i cant remmeber it right now, in M$.

i thought there was a .xmodmap file i was supposed to edit (iv been searching LQ for other threads regarding this problem) but couldnt find one.. maybe i was just mistaken and you dont edit that file, or create it.

the mouse is recognized.. but say, moving up mouse the curosr down, and vice versa... right clicking mouse cursor far left, etc etc... its all screwy.

anyone any suggestions?
thanks..

pokemaster 04-29-2005 09:45 PM

Change
Option "CorePointer"
to
Option "AlwaysCore"

also, you might want to change
Protocol "Explorer/PS2"
to
Protocol "imps/2"
I'm not sure that will help, but I've had better luck with imps/2 protocol than explorer mouse.

That said, I've had similar issues with my usb mouse in slack, and I got them fixed. (Unfortunately I can't remember how for the life of me).

You might want to try something like
ZAxisMapping "*insert two numbers here*"
and I think there's something similar in xorg for XAxis and YAxis. (X/Y are motion, Z is scrolling), and I'm sure there are options used to enable all your other copious buttons ;)

anyhow, good luck, hope something I said was at least a *little* help

nadroj 04-29-2005 11:33 PM

:D
indeed was, poke. thank you.

about the protocol.. ya iv been going through afew, iv just seen more who had this problem using ExplorerPS2 to solve it, oh well ill try your way too; cant hurt.

the alwaysCore option i never heard of, ill change that.

the x,y axismapping options you mention i also didnt see in my searches.. although makes logical sense!

thats my main problem.. my mouse IS recognized.. but only mouse up/down.. and its odd, as i said earlier.. my right click moves the cursor left, etc etc..
maybe i can add that xaxismapping and that might help for the X-coordinate problem.. still none of the clickys will work though :confused:

thanks though, ill try it.

ramke 05-05-2005 08:18 AM

I had that problem too
i have to type

modprobe -r usbmouse
modprobe hid

every time i reboot my system.


options


Section "InputDevice"
Option "CorePointer"
Option "Device" "/dev/mouse"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

just won't work for me,

pokemaster 05-05-2005 11:02 AM

Quick little question... is the mouse you're having trouble with the only mouse on your system?

i.e. I work on a laptop, when my mouse did those things it was my usb mouse goin screwy, but my touchpad still worked beautifully. Turned out all I had to do was to create a second mouse section in my xorg.conf file to accomodate the usb mouse. Here's my xorg.conf stuff, maybe it'll help:

Code:

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        ### here's the server declaration of my two mice,
        ### note that only one mouse can be "CorePointer",
        ### the rest must be "AlwaysCore"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath    "unix/:7100"
EndSection

Section "Module"
.
. unimportant...
.
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"        ### This is my touchpad, and has lots of touchpad-specific options (ones with ***)
        Identifier  "Mouse0"
        ***Driver      "synaptics"
        ***Option      "Protocol" "auto-dev"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        ***Option      "SHMConfig" "yes"
        ***Option      "MaxSpeed" "1"
        ***Option      "AccelFactor" "1"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Input Device"        ### This is my usb mouse section, note I don't have the "AlwaysCore" in here,
        Identifier  "Mouse1"  ### Because that's in the ServerLayout section.
        Driver      "mouse"
        Option      "Protocol" "imps/2"
        Option      "Device" "/dev/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
.
. unimportant....
.
EndSection

Section "Device"
.
. vid card....
.
EndSection

Section "Screen"
.
. also unimportant...
.
EndSection

Section "DRI"        ### lol, no idea what this is, but probably something for my vid display...
        Group        0
        Mode        0666
EndSection


As always, hope that helps...


[edit] something I noticed just after I posted... try changing /dev/mouse to /dev/mice, b/c /dev/mice seems to work better with usb mice for some reason...:Pengy: [/edit]

nadroj 05-05-2005 04:40 PM

alright.. thanks alot poke, appreciated.

what mouse do you have/how many buttons on it? (the usb one)

yes.. i only have one mouse (logitech mx700 optical wireless usb) on my desktop.
the reply before this one that i made, referring to your response, i did try and it didnt seem to solve it.

i tried the both (one or the other) corepointer/alwayscore options with no success it seems.

for the protocol, isnt there just one for 'usb' or something? i dont understand why i should set it to *ps/2.. oh well, it seems thats what everyone uses anyway.

also.. 2 nights ago i deleted the slack partition, cause i was gonna try gentoo.. and that is a nitemare! i didnt even get to install it cause i was lost after booting to the install cd! but i also downloaded and burned knoppix live cd... i checked the xorg.conf file there and under device it said '/dev/input/mice' i believe.. i can double check... but if this is the case, should editing the default line that it had for me in my slackware install's xorg.conf (id be happy to reinstall it if it might work) to the one that it shows for the knoppix system?

the mouse still works and is recognized with how it was layed out in the xorg file for my slack install, just not working properly... would changing that /dev/... line really matter?

thanks again.

and ya, is helpful.

pokemaster 05-05-2005 05:05 PM

Yea, the /dev line is gonna be different depending on the system. Often, /dev/mouse is a symlink for the psaux (ps2 mouse) and /dev/mice links to the usb. Try reinstalling slack, and put your knoppix xorg mouse options in the place of the slack ones -- it should fix your problems!

nadroj 05-05-2005 05:33 PM

im gonna assume /cev is a typo :p (i actually typed 'type' instead of 'typo' first.. how ironic)

ok ill try rebooting with the knoppix live cd, use fdisk make a small useless partition, and copy that xorg file so i can refer back to it and copy that part [mouse] into the one that will be the default from my new slack install..

should i just copy the exact file over and replace the slack one? everything else seemed to look ok in slack.. or should i just modify the mouse section?

if the later.. then all i change is the /dev/mouse device to either /dev/mice or /dev/input/mice (how it was in knoppix by default).. right?

thanks alot..

hey, also.. i initially installed slack 10.0 and my mouse was fine.. but had one major problem (here if you wouldnt mind to take a look and guess at that, or enlighten me :)) and couldnt get that solved so i deleted and started again with 10.1, but then i ran into these mouse problems.. so i havent even been able to see if ill have the same net/firefox problems with 10.1, cause my mouse hasnt worked.. oh well, well see.

pokemaster 05-05-2005 08:17 PM

lol, ur right, /cev was most def a typo... dunno that i have a /cev dir here anyway...:p


And uh, as for your other problem, that has me stumped. I'm leaning toward an NIC driver issue though, but to fix it *might* require a kernel rebuild (lotta work if you've never done it before... it takes some practice, I think my fourth time I finally started making stable builds without the assistance of a walk-through)


now, here's the issue with simply copying the xorg.conf from your knoppix.. you might have a different version of xorg, and also different drivers / files to load, especially for the display. You might get lucky and have your hardware be generic (or unique) enough for the files to be compatible, but there's no easy way of knowing. Feel free to give it a shot (most definitely back up the conf from your slack install before you overwrite... you want to be able to revert if it breaks xorg), and if it doesn't work, just make the mouse sections the same.

Makin the extra partition was def the way to go.. I have windows happily coexisting with fc3 (was suse until i broke it about a week ago), and they share a 2G ext2 part, (windows now has ext2fsd by some third party) so I can share files b/tw and stuff.

Also, if you're still running into those net problems, try a non-mozilla browser (like konqueror or nautilus), or even lynx if you're feeling ambitious (lynx may be text-based, but it's the most stable browser I think I've seen). If you have the same problem, then you know it's probably the NIC interface or driver.

Keep me posted on your progress!

nadroj 05-29-2005 12:00 AM

finally got it working. just replying in case someone has this problem/same mouse and this might help.

i have my xorg.conf mouse section posted earlier, i believe.. all i have edited is the device i set it to "/dev/input/mice" and protocol to "ExplorerPS2" (or IMPS2, lol, i forget now).

thanks guys for the help afew weeks ago, anyhow

crions 05-31-2005 05:30 PM

Hey Guys,

I know that our friend move to Knoppix but i had the same problem!
I wanted to post this to help future users.

Mouse: Microsoft Trackball Optical "Intellimouse" and
Logitec MarbleMan Wheel
BOTH USB

Xorg6.8 - SLACKWARE 10.1

I have 2 machines (one head) trought one KVM SWITCH
- Keyboard and mouse in one single USB (maybe here is the bug?)
On my second machine ( P4 at P4P800Asus ) the mouse just moved
in the vertical (WITH GPM - TERMINAL). I did what RAMKE did and it WORKED:

modprobe -r usbmouse
modprobe hid

But I still have no idea why this happens :-(
The easy way to check it is that the problem also occurs with gpm at simple terminal mode. You don't need X to check it!

64bit_lover 06-01-2005 12:13 AM

I have had the same problem with a few live distros right off the bat and thought it was compatibility problems with my usb microsoft wireless intellimouse explorer 2.0 (hey it was $20).
I just installed Mandriva (formerly Mandrake) Limited Edition 2005 X86_64 a few days ago and it was working better than and other with my system (I have tried about 15 distros!)
All my hardware was detected right down to the make and model number of my lcd monitor,wireless mouse, and ati radeon 9800pro (gasp!!), windows can't even do that.
Anyway everything worked for 2 days, then after rebooting to windows for a few thing I don't have setup on linux yet, boot back into linux and I got the vertical mouse problem.
I didn't make any changes, configs, compiles, or anything. The only thing I tried was remounting an ntfs partition user,rw. After several tries at mouse config tool and reboots it was back
to windows where I came across these forums. So I boot back to linux to try some of the suggestions found here, but my mouse was working when I logged in.:scratch: My xorg.conf
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Everything looks default (not that I would know:Pengy: ) So if I didn't change anything before or after this started and stopped why is it happening :scratch:
I am sure it will happen again and I have made note of the suggestions found here. If it works or I find the source of the problem before someone else I will post here with the results.:study:

nadroj 06-01-2005 01:00 AM

my problem with the mouse going all screwy was because of the gpm (general purpose mouse; allows for copy/paste in terminals) program.. dont know if this will also be the cause of your problem, or you might not even be running it! if you are, or dont know, check this anyway: look in your /etc/rc.d/rc.gpm file (if it exists). it should reference your mouse device afew times.. does it match the one in your xorg.conf mouse section?
if not, then edit so it does, (as root of course) and reboot the computer.
if no gpm, then try changing the devicefor your mouse.. try maybe /dev/mice or /dev/input/mice (editing xorg.conf as root,save,reboot) or change the protocol to IMPS2

jariq 06-04-2005 05:30 AM

explorer4 working
 
Finally after few hours spent with my slack 10.1 and ms intellimouse explorer4 I found solution..

USB mouse behave badly on slackware because system with hotplugging enabled loads modules into kernel in wrong order.. Manual editting of /etc/rc.d/rc.modules helped me.. I put the modules there in this order "hid","usbmouse","mousedev".. If "hid" module is loaded after "usbmouse" the mouse is not working correctly..
Hotplug is run after rc.modules so there is no need to disable it if you make changes in rc.modules..

Of course you have to confgure your xorg.conf correctly.. Here is one that worked for me:

Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection

gleenn 10-30-2006 02:09 AM

Quote:

Originally Posted by ramke
I had that problem too
i have to type

modprobe -r usbmouse
modprobe hid

every time i reboot my system.


options


Section "InputDevice"
Option "CorePointer"
Option "Device" "/dev/mouse"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

just won't work for me,

That worked! I just removed the usbmouse modules and modprobed the hid modules, and it works flawlessly!

-G


All times are GMT -5. The time now is 05:11 AM.