LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-08-2004, 11:19 PM   #1
nullz0r
LQ Newbie
 
Registered: Mar 2004
Location: Milwaukee
Distribution: slackware 9.1
Posts: 9

Rep: Reputation: 0
HOWTO: getting your optical wireless intellimouse explorer to work in Slack


Many people, including me were having trouble getting their optical wireless intellimouse explorer working in Slackware. I browsed these forums and in a few hours i had my mouse working. What I've done here is put all the information I found in these forums in one thread, to save time, and make it easier for frustrated newbies. (like myself)

Info below origanly found in a post by: skog
-----------------
In your Xwindows config file, (located at /etc/X11/XF86Config) make sure the section called "InputDevice" that deals with your mouse looks like this:
~
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
~
The "Protocal" that this mouse must use is the"IMPS/2" protocal
The "Buttons" line describes how many buttons your mouse has. (Make all those buttons useful!)
The "ZAxisMapping" line i BELIEVE sets up the scroll wheel, although I'm not positive. Without this line however the scroll wheel did not work.

The "Device" describes where your mouse is located, this typicaly can cause problems.
A common problem area is not having the right path for the line:

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

"What you need to do is cat the mouse devices in your /dev directory"
After entering one of the commands below, move your mouse, it should creat random characters over the screen. If this happens, thats the directory you should change the path under Option "Device" "path here." If you enter one of the commands below and it responds with no such device, then try a differant one, as that is not where you mouse is located.

cat /dev/mouse
cat /dev/input/mice
cat /dev/input/mouse0
cat /dev/usb/mice
cat /dev/usb/mouse0
-------------------------
After making sure i had my XF86Config file set up properly, the mouse would not move on a vertical axis, only horizontal. Below, is how I fixed this:

Info below origanly found in a post by mr_nohj
------------
To permanantly fix this problem, we need to change the file that dictates what modules are loaded at boot. This file is located at /etc/rc.d/rc.modules. In this file, two lines must be uncommented to load the proper modules during boot. Uncomment the follwing lines by removing the # character

#/sbin/modprobe hid
#/sbin/modprobe usbmouse
------------

Thats how I managed to get my mouse up and running. If you have questions chances are I WILL NOT be able to answer them, as this thread simply compiles what I've found into one thread.

I hope this helps to answer some questions, and as always im sure most of us greatly appreciate the help granted, and given to us by those experts. Thanks guys
 
Old 07-09-2004, 01:08 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Welcome to LQ nullz0r - nice first post, and I'm glad you got everything to work in your rig. As for the ZAxisMapping, yes, that is associated with the scroll wheel -- J.W.
 
Old 07-09-2004, 02:18 AM   #3
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Ditto, great post mate :).

For those of you with a 5 button mouse and a scroll wheel - this is a 7 button mouse (5 buttons + Wheel Up + Wheel Down = 7). Here is the relevant section from my xorg.conf

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "6 7"

(I didn't put ' Option "Buttons" "7" ' - seems it is not required in this case)

I also run

xmodmap -e "pointer = 1 2 3 6 7 4 5"

To switch the buttons round the right way.

Try running "xev" in a terminal to check all your buttons are being detected first!

Again, great first post, hope it helps others!

Steve
 
Old 07-09-2004, 03:51 AM   #4
jml75
Member
 
Registered: Jun 2004
Distribution: Ubuntu 7.10, Debian 4.0
Posts: 49

Rep: Reputation: 15
In ZAxisMapping, what does 4 5 means exactly?
 
Old 07-22-2004, 05:01 AM   #5
bitspike
LQ Newbie
 
Registered: Jul 2004
Location: canberra, australia
Distribution: slackware 10
Posts: 7

Rep: Reputation: 0
if, like me, you have a three button mouse (left, right, and scroll click) with a scroll (up and down), your mouse has five different 'click' events associated with it. if you scroll up it is interpreted as a click on a different button, and the same goes for scrolling down.

as far as the .conf file is concerned, these buttons are buttons 4 and 5.

so, if you say
Option "Buttons" "5"
you are letting it know there are the two extra scroll 'buttons' being used, making a total of five for your mouse

and then
Option "ZAxisMapping" "4 5"
is defining which buttons are controlling the scroll, in this case 4 and 5.

my problem is that i have a microsoft mouse with a horizontal scroll, aswell as the standard vertical scroll, but this is not recognised in the same way.

theoretically i could put
Option "Buttons" "7"
Option "ZAxisMapping" "4 5 6 7"
but this doesn't work.

it does work with some mice aparantly, looking at this information i got from somewhere:

Option "ZAxisMapping" "X"
Option "ZAxisMapping" "Y"
Option "ZAxisMapping" "N1 N2"
Option "ZAxisMapping" "N1 N2 N3 N4"
Set the mapping for the Z axis (wheel) motion to buttons or another axis
(X or Y). Button number N1 is mapped to the negative Z axis motion and
button number N2 is mapped to the positive Z axis motion. For mice with two
wheels, four button numbers can be specified, with the negative and positive
motion of the second wheel mapped respectively to buttons number N3 and N4.
Default: no mapping.

but i have read about a few problems with the microsoft scroll in linux, not yet working easily/at all.

i'm still looking into it myself, but if anyone else has a suggestion, or link, i'd be grateful.

hope this helps..... though you may have already found information on this question.

- andrew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intellimouse Explorer on slack 9.1 pintonunes Linux - Hardware 8 02-22-2004 10:09 AM
MS intellimouse explorer USB wireless Wont work Mandrake 9.1 mattv2kx Linux - Hardware 6 11-04-2003 12:53 PM
microsoft intellimouse explorer in slack 9.0 zomart Slackware 13 05-29-2003 03:10 PM
Microsoft Wireless Intellimouse Explorer Doesn't Work in Redhat 8.0 mobius8 Linux - Hardware 1 12-05-2002 06:52 AM
MS Wireless Intellimouse Explorer will not work with Mandrake 8.2 PSB Linux - Newbie 2 10-20-2002 11:32 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration