LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-13-2014, 06:27 PM   #1
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
mouse wheel not working


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
 
Old 09-13-2014, 08:49 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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.

Last edited by frankbell; 09-13-2014 at 08:50 PM.
 
Old 09-14-2014, 03:29 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
If you do create an xorg.conf, you should end up with this in the mouse section:
Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
That's from mine. Wheel's working OK, plus middle-button click.
 
Old 09-14-2014, 12:52 PM   #4
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
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 :

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

However nothing seems to have changed. I did see a ref in the docs to /usr/share/X11/xorg.conf. Any comments on that?
 
Old 09-14-2014, 08:37 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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.

http://linuxreviews.org/howtos/xfree/mouse/
 
Old 09-17-2014, 05:54 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by rdx View Post
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
 
1 members found this post helpful.
Old 09-25-2014, 05:06 PM   #7
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
Xorg.0.log piped through grep Mouse yields the following:

[953332.177] (**) |-->Input Device "Mouse0"
[953332.177] (WW) Disabling Mouse0
[953332.467] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event12)
[953332.467] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[953332.467] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[953332.467] (**) USB Optical Mouse: always reports core events
[953332.467] (**) evdev: USB Optical Mouse: Device: "/dev/input/event12"
[953332.467] (--) evdev: USB Optical Mouse: Vendor 0x192f Product 0x916
[953332.467] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[953332.467] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[953332.467] (--) evdev: USB Optical Mouse: Found relative axes
[953332.467] (--) evdev: USB Optical Mouse: Found x and y relative axes
[953332.467] (II) evdev: USB Optical Mouse: Configuring as mouse
[953332.467] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[953332.467] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[953332.467] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[953332.467] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 9)
[953332.467] (II) evdev: USB Optical Mouse: initialized for relative axes.
[953332.468] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[953332.468] (**) USB Optical Mouse: (accel) acceleration profile 0
[953332.468] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[953332.468] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[953332.468] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)

From what I see, it detects the mouse, the wheel and all. 'lsusb' shows nothing that contains either cli or VT.
 
Old 09-26-2014, 08:31 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by rdx View Post
<snip>

From what I see, it detects the mouse, the wheel and all. 'lsusb' shows nothing that contains either cli or VT.
I was asking for the output for the command 'lsusb' from the command line(cli) or virtual terminal(VT) using cli.
 
Old 09-26-2014, 01:22 PM   #9
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
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.
 
  


Reply



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
mouse wheel not working biplabbijay Linux - Distributions 16 09-02-2010 12:15 AM
PS2 wheel mouse/wheel not working jayhel Linux - Hardware 2 06-18-2006 06:54 PM
mouse wheel not working kmichal2 Mandriva 2 11-29-2004 07:29 AM
mouse wheel not working? Oh Cisco Debian 8 07-30-2004 03:21 AM
Mouse wheel not working DaDdY SnEb Linux - General 8 11-10-2002 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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
Open Source Consulting | Domain Registration