LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ZAxisMapping does not work in slackware 10 (https://www.linuxquestions.org/questions/slackware-14/zaxismapping-does-not-work-in-slackware-10-a-219482/)

Timeturtle 08-18-2004 08:46 PM

ZAxisMapping does not work in slackware 10
 
I just got a new computer and installed slackware 10 on it. I had slackware 10 installed on my old computer with no problem. I get everything up and running and I add the option "ZAxisMapping" "4 5" to my xorg.conf and expect it to make my scroll mouse work fine, but for the first time ever, ZAxisMapping does nothing. I am extremely confused as to why this is not working. Any info on how to get my scroll wheel working would be greatly appreciated. It is a logitech wheel mouse if that helps anyone.

Thanks.

Zcat 08-18-2004 08:54 PM

Did you change your proto to "IMPS2" because Slack will set it to "PS2! :cool:

See this == /http://img.photobucket.com/albums/v336/nixfreek/snapshot1.png

Mephisto 08-18-2004 10:41 PM

Quote:

Originally posted by Zcat
Did you change your proto to "IMPS2" because Slack will set it to "PS2! :cool:

See this == /http://img.photobucket.com/albums/v336/nixfreek/snapshot1.png

That should read IMPS/2 I believe (missing the slash)

Cheers

EDIT: Picture is right though.

Nikon01 08-19-2004 09:21 AM

Also you may need to addthe line:

Option "Buttons" "5"

I know I had to. If that doesn't make it work I have no clue as to what will....

reddazz 08-19-2004 09:27 AM

If IMPS/2 doesn't work, you may have to try auto. I've noticd that on some distros I have to choose "Auto" as the protocol and on others "IMPS/2" to make the same mouse work.

Timeturtle 08-19-2004 07:46 PM

After it didnt work, I checked and changed the protocol to IMPS/2, and that still did nothing. I added the Buttons "5" and that also did nothing. I havent tried auto, and I will do that next. I have used Slackware dozens of times, and this is the first time it hasnt worked. Btw, I am using xorg.conf instead of xfree86. Maybe x.org has some different means of getting it to work, i dont know. It shouldnt, because zaxismapping has worked for me on xorg before.

Thanks for all the fast replies.

Mephisto 08-19-2004 07:56 PM

Can you post your mouse InputDevice section from xorg.conf?

Shade 08-19-2004 09:05 PM

I had this issue with a fresh install on my laptop. It's not a logitech mouse, but built-in track-button (eraser style) with a couple of buttons for the up and down, versus a wheel.

It worked great in slack 9.0, 9.1, but when I got 10 on there, the same settings I'd always used didn't take for some reason.

So I dug up an old backup copy of an XF86Config-4 file that I had on this laptop before, renamed it to xorg.conf, and the wheel started working again. I took a close look, and besides some commented out sections -- the two input device sections for the mouse were identical! I couldn't explain it. Here's my working section, though.

Code:

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping" "4 5"

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

EndSection

And this is the one that works for my desktop, with a logitech USB wheel mouse. I never encountered the problem on that machine.

Code:

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"  "ImPS/2"
    Option "ZAxisMapping"  "4 5"
    Option "Device"    "/dev/mouse"
EndSection

And yes, ImPS/2 does have a lowercase m there, instead of the uppercase M everyone seems to think is important.

Maybe these will help you.

--Shade

edit to add:
I just remembered a weird incident I had two years ago when first trying to set up X on a new machine... For some reason, the configfile had "ghost returns" or lots of extra space at the end of some lines, which for some reason, through a bug I guess, caused the lines to be ignored. On a reallll long shot, check to make sure the line ends right at the last character and there's no empty space at the end. I think I introduced that problem because of crossing file types -- I had downloaded the config file onto a windows machine, put it onto a floppy, and transferred it to my linux box. I think windows uses different control characters by default which might have done it.


Timeturtle 08-20-2004 09:56 PM

I have reformatted and reinstalled slackware, and this problem still exists. I have tried every type of protocol available and made very sure that my xorg.conf is correct.
Code:

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

    Option "ZAxisMapping" "4 5"

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

    Option    "Protocol"      "IMPS/2"
    Option "Device"      "/dev/mouse"

EndSection

I have used this configuration hundreds of times, but it will just not work on this computer.

mago 08-20-2004 11:31 PM

I'm running Slack 10, fresh install, this is what I added to the xorg.conf to get the wheel going....

will read like this:
Code:

Option "Protocol"    "IMPS/2"
    Option "ZaxisMapping" "4 5"
    Option "Buttons"  "3"


endfx 08-21-2004 01:00 AM

The only thing I can suggest is to change the order of you options, for instance put the protocal before the ZAxisMapping:

Code:

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse" 
    Option    "Protocol"      "IMPS/2"
    Option "Device"      "/dev/mouse"

    Option "ZAxisMapping" "4 5"

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

EndSection

Another thing you might wanna check out is the Emulate3Buttons option. It should be commented out:

Code:

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

At least it is on mine, and it seems to be working.

major.tom 08-21-2004 03:38 AM

Here's a silly question, but what does `ls -l /dev/mouse` give you?

Garry

AxeZ 08-21-2004 06:33 AM

Quote:

Originally posted by major.tom
Here's a silly question, but what does `ls -l /dev/mouse` give you?

Garry


Exactly I was going to ask that.
if it's USB rat it should point to /dev/input/mice
if PS/2 , should point to /dev/psaux


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