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. :rolleyes:
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? Thanks! |
What dist. are you using?
|
Mandrakelinux 10.0
|
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.
|
I posted this in the Linux Hardware forum, including the info you mentioned to post up.
Thanks! |
You should have just stayed here,they get mad if you jump around and double post!
|
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" |
Ok.. I adjusted my mouse configuration to look like this:
Code:
Section "InputDevice" |
have u restarted x?
|
I've restarted my computer a number of times.. doesn't that restart 'X'?
|
Hello theAntic.
log in into KDE. 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 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! |
Hello theAntic,
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. 6) Do you have an USB or PS2 Mouse ? 7) Good Luck!!! |
EXCELLENT! I reconfigured my XF86Config-4 file and 'X' is once again booting up! :D
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:
Code:
Section "InputDevice" THANKS! |
Hello theAntic,
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 |
All times are GMT -5. The time now is 12:54 AM. |