Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
My mouse wheel doesn't work, although the other buttons do. I have read other posts on this problem and I have tried some of the recommended things but I don't think they're applicable. For example, I looked for a config file in /etc/X11 but there doesn't seem to be one. I wonder if it's been moved. I find a file called xorg.conf-vesa and an empty dir called xorg.conf.d but that's all. I did try adding "Option "ZAxisMapping" to the xorg.conf-vesa file and I changed the option from PS/2 to "Auto" but I see no changes. Naturally I restarted X11 between tries. Anyway, if someone has had this experience and know how to fix it, please reply. I'm using a USB mouse and the distro is Slackware64 14.1
The first thing to do, if you haven't already done so, is to test the mouse in another computer to make sure the mouse is not defective.
What distro/version are you using?
I'm using Slackware --Current on two machines with two different brands of USB mouse (though, for all I know, they may have been made in the same factory somewhere), and the mouse wheel was detected unfailingly in both. Indeed, none of the distros I've used in the past five or six years has failed to detect the mouse wheel. (I did have to modify xorg.conf on Slackware 10.x, but that was a long time ago.)
In contemporary versions of X, there is no xorg.conf by default, because X has become quite good at detecting hardware. You can, however, create one if you need to.
First, yes the mouse wheel works if I boot under Windows 8. Otherwise I as still having no luck. I ran X -configure and it created a new xorg.conf and the mouse section looks like :
Back when I had to enable a wheel mouse in Slackware 10.x, I followed instructions similar to these. Note that the article is so old that it refers to XFree86, but it might be worth a shot.
My mouse wheel doesn't work, although the other buttons do. I have read other posts on this problem and I have tried some of the recommended things but I don't think they're applicable. For example, I looked for a config file in /etc/X11 but there doesn't seem to be one. I wonder if it's been moved. I find a file called xorg.conf-vesa and an empty dir called xorg.conf.d but that's all. I did try adding "Option "ZAxisMapping" to the xorg.conf-vesa file and I changed the option from PS/2 to "Auto" but I see no changes. Naturally I restarted X11 between tries. Anyway, if someone has had this experience and know how to fix it, please reply. I'm using a USB mouse and the distro is Slackware64 14.1
First, xorg.conf-vesa is a sample file and if you wish to use it then you would copy the file to xorg.conf or 'mv xorg.conf-vesa xorg.conf'. Slackware64 14.1 should support your mouse without a xorg.conf. Look at '/var/log/Xorg.0.log' to see what's going on to help diagnose your issue(s).
EDIT: You make sure the mouse is visible or detected. What does 'lsusb' show from 'cli' or VT?
Hope this helps.
Last edited by onebuck; 09-17-2014 at 05:56 PM.
Reason: add note
Something different. I am able to use the scroll wheel sometimes, ie in some places. I must conclude that the mouse and driver are working and the fault lies elsewhere. Thank you for your suggestions, they help me learn more about the Slackware software. I will call this thread resolved and I'll see you in another thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.