Logitech 3 button mouse.. WHERE'S THE ROLLER BALL GONE?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Logitech 3 button mouse.. WHERE'S THE ROLLER BALL GONE?
I just recently installed Linux on my computer, and am trying to get my mouse to function like the 3-button, roller mouse default I chose on install. I get that my Windows drivers aren't probably going to work and that I'll have to make do with a default driver, but the rollerballing feature doesn't even activate.. I even tried running my mouse's driver CD (which of course wasn't made for Linux), and it won't read.
How can I switch default mouse drivers in Linux?
In reality, this is a 7 button mouse (left, right, rollerball, page up, page down, and two thumb buttons).. is there any way at all to get any of these buttons back, but most specifically the rollerball?
I don't use mandrake but there is a mandrake control center and under hardware then your mouse see if you can set-up your mouse there,need to be root to change anything,also take a look at ect/X11/xf86config-4 dont change anything just post the mouse stuff and I'm sure someone can help you out.
in ur XF86Config-4 file, u want to add this to the section that says
Section "Input Device"
Identifier "Mouse1"
and u want to add the line right under it
Option "ZAxisMapping" "4 5"
It's still not scrolling vertically and I don't know how to control the operation of the other buttons (ie. one of my thumb buttons jumps the page down, while the buttons directly above and below the roller, which should be jumping the page, don't do anything). Am I missing something?
Click on the Application Button (the blue rectangle with yellow start).
Then select following from the fly-out menu:
System->Configuration->Configure your computer
Mandrake control Center will be started, Select there the "Hardware" Icon. In the Mandrake Hardware Control Center
select the Mouse you need. As I can see you have double "ZAxisMapping" entry in your XF86Config-4.
That's not a good idea.
I do not know if you have an USB or PS/2 mouse. The Mandrake configuration
utility will let you choose the bus. Select as first under the selected bus a standard 3-button mouse with wheel, and see if wheel is enabled.
Vlad, you're back! And just in time too.. 'X' isn't loading now when I run Linux. It throws an IO error, apparently because of the changes I made in my XF86Config-4.conf file. Here's what it's saying specifically:
Code:
Parse error on line 42 of section InputDevice in file /etc/X11/XF86Config-4
"Buttons" is not a valid keyword in this section
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
I think I know what's happening.. you pointed it out in your post above too - I included an extra line of code that shouldn't be in the Input Mouse section of the XF86Config-4 file. The problem is, I have no idea how to fix it now that X isn't loading. Can I rewrite the XF86 file from the linux text prompt (it looks like DOS when it runs now)? What do I do?
Thanks again!
PS. Is the "Buttons" "7" code I inserted in the XF86Config-4 file also causing problems? It mentioned that "Buttons" (in plural form) was not a valid keyword. Was the advice I got above to include that wrong, or did I just include it incorrectly? Thanks!
1) you have in your XF86Config-4
Option "Protocol" "IMPS/2" "Buttons" "7"
It should be:
Option "Protocol" "IMPS/2"
Option "Buttons" "7"
So you need a new line and Option in front of "Buttons"
2) Please delete the following entry from your XF86Config-4
Option "ZAxisMapping" "4 5"
3) GENERAL RECOMENDATION:
As you go more and more into Linux there will be some situations where
you need to change some configuration files.
PLEASE make a backup of the file prior changing it. If something goes
wrong, you have a very easy way to recover.
So
cp XF86Config-4 XF86Config-4.old
4) Yes you can edit files in the command prompt. This is happening with the vi editor
(my all time favorite editor, although some people would not agree with me that
this is the best editor ever written :-) Nevertheless vi is "the" UNIX editor and all
UNIX flavors have it.
Explainig vi would be a very long thing so I will give you here only the hints you need
to fix the XF86Config-4 file.
4-1) first change into etc/X11
cd /etc/X11
4-2) start vi
vi XF86Config-4
4-3) vi has two modes "edit" and "command". You change between those two modes with the [ESC] (Escape) Key.
Right after start you are in the "command" mode.
4-4) Navigate with the arrow keys to the line containing "ZAxisMapping" "4 5".
Place the cusrsor on the first charachter in the line and press twice "d". This will delete the line.
(dd "command" meand delete entire line).
4-5) Navigate with the cusrsor (arrow) keys to the line:
Option "Protocol" "IMPS/2" "Buttons" "7"
4-6) Place the cusrsor on the space between "IMPS/2" and "Buttons"
4-7) Hit the i key (i means insert) and hit the Enter Key. "Buttons" "7" shall be now in a new line.
4-8) Hit the [ESC] Key to go back into command modus.
4-9) Place the cusrsor on the opening quotemark of "Buttons"and hit the i key (as we know this means insert)
4-10) Press the Space key until the opening quotemark of "Buttons" is below the Options keyword
of the previous line (the line above).
4-11) Type now Option and leave one Space between Option and "Buttons"
4-12) Press [ESC] Key to go back to the command mode
4-13) Now hit : (you will be now at the commad line of vi. Usually this is the bottom line of the screen)
4-14) enter wq and hit the Enter key (wq means write and quit)
4-15) If you do not want to save the file then you shall enter at the commad line q! and press Enter
4-6) Reboot your computer.
(e.g by entering: init 6 and hitting the Enter Key)
5) Try to change the mouse settings like I described in my previous posting.
EXCELLENT! I reconfigured my XF86Config-4 file and 'X' is once again booting up!
My mouse, however, is still scrolling horizontally... Just to be sure, I did reconfigure my mouse under a number of different driver options, and found that only the PS/2 mouse options seemed to respond. I noticed two things during my mouse driver experiment:
My roller, irregardless of direction (up or down) showed only a "down arrow" while rolling - I think this means it's recording a horizontal scroll
Everytime I selected a new driver, upon reentering the Mandrake Control Center my mouse driver was always reset to Universal Any PS/2 & USB mice - Is this normal?
Here's how my mouse section in the XF86Config-4 file is reading now:
it's normal that your selection is always reset to "Universal Any PS/2 & USB mice".
This is a universal driver for a wide range of mices and maybe your mouse was not recognized
for the option you have selected.
Now let us try following:
1) Log-In into KDE as root
2) Make a backup of your /etc/X11/XF86Config-4
cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.orig
Now we have a copy of the XF86Config-4 file called XF86Config-4.orig
3) open your /etc/X11/XF86Config-4
kwrite /etc/X11/XF86Config-4
4) We will edit following line:
Option "Protocol" "IMPS/2"
in the section: Section "InputDevice"
5) Replace in this line "IMPS/2" with "ExplorerPS/2"
Now your Option for the Mouse Protocol should look like
Option "Protocol" "ExplorerPS/2"
6) Save the changed /etc/X11/XF86Config-4 file
7) Reboot or restart X Server by pressing [CTRL]+[ALT]+[BACKSPACE]
8) See if now the mouse wheel works
9) If the wheel does not work as desired
then change follwing line in XF86Config-4
from
Option "ZAxisMapping" "6 7"
to
Option "ZAxisMapping" "8 9"
This time do not copy XF86Config-4 to XF86Config-4.orig
since you have already done this. If you cp this time
you would overwrite the origanl file with a changed.
10) Save the XF86Config-4 file
11) reboot or restart X Server by pressing [CTRL]+[ALT]+[BACKSPACE]
12) See if now the mouse wheel works
13) If not change back protocol from "ExplorerPS/2" to
"IMPS/2". Do *not* change "ZAxisMapping" "8 9"
back to "ZAxisMapping" "6 7".
Again: do not copy XF86Config-4 to XF86Config-4.orig
since you have already done it. If you cp this time
you would overwrite the origanl file with a changed
14) reboot or restart X Server by pressing [CTRL]+[ALT]+[BACKSPACE]
15) See if wheel works
IMPORTANT: FALLBACK (if something goes wrong)
What to do if something goes wrong: e.g. Mouse does not react at all after changing the XF86Config-4 File and rebooting
2-1) If you notice that your mouse does not react after reboot press following keys at the same time
[CTRL] + [ALT] + [F1]
So you need to press the Control, the ALT and the F1 Key.
This will kill kdm.
2-2) The text screen will be displayed. You may be asked to log in. Log in as root.
2-3) If you see a line like "Starting dm:" or "ALSA driver is already running" and not an input prompt,
just hit the [ENTER] Key.
2-4) At the input prompt, enter
init 3
and hit [ENTER]
System will then enter init level 3.
2-5) Again if the system "hangs" at a line (e.g: ALSA driver is already running, or else)
hit the [ENTER] Key to get a command prompt.
2-6) Change into /etc/X11
cd /etc/X11
2-7) Recover the original XF86Config-4
cp /etc/X11/XF86Config-4.orig /etc/X11/XF86Config-4
You may be asked if you want to overwrite /etc/X11/XF86Config-4
Answer with yes (so press y and then hit the [ENTER] Key)
2-8) Reboot by entering
init 6
and hitting the [ENTER] Key
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.