No mouse wheel on new install

Hello all,

Just installed openSUSE 13.2 (my first time using SUSE) and I am unable to use the mousewheel.
Please understand I just ended a 4-5 year hiatus from Linux (and desktop environments in general), so I’ve been MIA for all the Linux changes and trends over the last several years. (I used to be good at this stuff, but please don’t assume I know what i’m doing.)

Details:

  • this is a fresh install and openSUSE 13.2 is the only OS on the hard drive.
  • install went fine
  • after install, updated everything using zypper
  • installed proprietary nvidia drivers
  • my computer technically has two mice - the first is my old Logitech Trackman Wheel (the one i want to use) and the second is a wireless keyboard/mouse combo. I don’t use the wireless mouse and don’t even know where it is - I won the keyboard/mouse combo and just liked the keyboard. Both connect as usb.
  • comupter seems to recognise both devices
  • Logitech mouse has technically five buttons - #1 left, #2 middle (wheel depressed), #3 right, #4 & #5 are wheel scroll up & down
  • I’ve put hours into trying to get the scroll wheel to work - my testing shows that the computer reads buttons 1, 2, & 3 and recognizes the mouse in hardware.
  • editing /etc/X11/xorg.conf doesn’t seem to work or change my circumstances - even after rebooting.
  • In YaST, there is no mouse option under hardware - some websites suggested a “mouse model” component, but there is none to be seen.
  • In Settings, the only mouse options are cursor speed and double click (I think - I’m at work so i cant see it that panel right now, but there is only the two slide bars for mouse options.)
  • In case you’re about to ask: yes the mouse did work as desired and designed before I nuked the preivous Windows install. Despite it’s age it serves me well.
  • Mouse wheel also did not work immediately after install, so it’s not like an update broke something.

So far I’ve enjoyed using OPENSUSE, and I look forward to getting this last little thing resolved. I’ve been through a lot trying to get this to work and I don’t beleive I should be having this much trouble over a mouse wheel - so i must be missing something. Please let me know what you think and what additional information I can post to help you help me. Thank you very much in advance.

More info might help others assist here:
With the mouse plugged in

lsusb
/usr/sbin/hwinfo --mouse
xinput list

From the last command, you can obtain the device ID and use to get more info about that device

xinput list-props <device_id>

Thanks for the response. Code below with bolding added for what appears to be relevant.

infonick@linux-wbmf:~> lsusb
Bus 001 Device 006: ID 0781:5530 SanDisk Corp. Cruzer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
**Bus 002 Device 004: ID 046d:c404 Logitech, Inc. TrackMan Wheel**
Bus 002 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 002 Device 002: ID 047f:c001 Plantronics, Inc. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

infonick@linux-wbmf:~> /usr/sbin/hwinfo --mouse
40: USB 00.1: 10503 USB Mouse                                   
  [Created at usb.122]
  Unique ID: amme.dmSdt1q9PR7
  Parent ID: pBe4.kllrQr_lFX9
  SysFS ID: /devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.1
  SysFS BusID: 2-3:1.1
  Hardware Class: mouse
  Model: "Logitech USB Receiver"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0xc517 "USB Receiver"
  Revision: "38.10"
  Compatible to: int 0x0200 0x0001 "Generic USB Mouse"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 1.5 Mbps
  Module Alias: "usb:v046DpC517d3810dc00dsc00dp00ic03isc01ip02in01"
  Driver Info #0:
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #34 (Hub)

**41: USB 00.0: 10503 USB Mouse
  [Created at usb.122]
  Unique ID: Zj8l.BW_7N0C1i2B
  Parent ID: pBe4.kllrQr_lFX9
  SysFS ID: /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0
  SysFS BusID: 2-4:1.0
  Hardware Class: mouse
  Model: "Logitech TrackMan Wheel"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0xc404 "TrackMan Wheel"
  Revision: "2.20"
  Compatible to: int 0x0200 0x0001 "Generic USB Mouse"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 1.5 Mbps
  Module Alias: "usb:v046DpC404d0220dc00dsc00dp00ic03isc01ip02in00"
  Driver Info #0:
    Buttons: 3
    Wheels: 1
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown**
**  Attached to: #34 (Hub)**
infonick@linux-wbmf:~> xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=10    [slave  pointer  (2)]
⎜   **↳ Logitech Trackball                          id=11    [slave  pointer  (2)]**
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Plantronics Plantronics .Audio 646 DSP      id=8    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                       id=9    [slave  keyboard (3)]

infonick@linux-wbmf:~> xinput list-props 11
Device 'Logitech Trackball':
    Device Enabled (143):    1
    Coordinate Transformation Matrix (145):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (288):    0
    Device Accel Constant Deceleration (289):    1.000000
    Device Accel Adaptive Deceleration (290):    1.000000
    Device Accel Velocity Scaling (291):    10.000000
    Device Product ID (261):    1133, 50180
    Device Node (262):    "/dev/input/event5"
    Evdev Axis Inversion (292):    0, 0
    Evdev Axes Swap (294):    0
    Axis Labels (295):    "Rel X" (153), "Rel Y" (154), "Rel Vert Wheel" (287)
    Button Labels (296):    "Button Left" (146), "Button Middle" (147), "Button Right" (148), "Button Wheel Up" (149), "Button Wheel Down" (150), "Button Horiz Wheel Left" (151), "Button Horiz Wheel Right" (152)
    Evdev Scrolling Distance (297):    1, 1, 1
    Evdev Middle Button Emulation (268):    0
    Evdev Middle Button Timeout (269):    50
    Evdev Third Button Emulation (270):    0
    Evdev Third Button Emulation Timeout (271):    1000
    Evdev Third Button Emulation Button (272):    3
    Evdev Third Button Emulation Threshold (273):    20
    Evdev Wheel Emulation (274):    0
    Evdev Wheel Emulation Axes (275):    0, 0, 4, 5
    Evdev Wheel Emulation Inertia (276):    10
    Evdev Wheel Emulation Timeout (277):    200
    Evdev Wheel Emulation Button (278):    4
    Evdev Drag Lock Buttons (279):    0

And as a bonus, I figure i might as well add in the top sections of my /etc/X11/xorg.conf file. This is as it stands now after i messed around with it. (To get the new xorg.conf to take effect, all I should have to do is restart X right?)


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
**    InputDevice    "Mouse1" "CorePointer"
**EndSectionSection "Files"
EndSection**

Section "InputDevice"
    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse1"
    Driver         "evdev"
    Option         "Name"  "Logitech Trackball"
    Option         "Protocol" "usb"
    Option         "Device" "/dev/input/mouse1"
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"
    Option         "Buttons" "5"
EndSection**

Thanks again for the response - any assistance & tips are greatly appreciated.

The best way to configure the Logitech device will be via a custom .conf file in the /etc/X11/xorg.conf.d/ directory (eg 20-logitech.conf)

Some good general advice here

https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse

The configuration might look something like this (but will obviously be dependent upon the actual hardware)


Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech Trackball"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "8"
        Option "XAxisMapping" "6 7"
        Option "Emulate3Buttons" "true"
EndSection

Hints:
1.Use the ‘xinput --list-props’ for configurable parameters. It is also possible to use xinput to set various properties for testing purposes if necessary. (Refer to the xinput man page for that.)
2. Refer to the evdev man page for parameter settings.
3. The ‘xev’ command can be used to help identify buttons if required.

Hi deano_ferrari,

Thanks to you, I’ve got this one figured out now. Best part is, I can share the solution with the world. The worst part is, it was too easy and I should have guessed it from day one. I’ll just apologise to you now for wasting your time - hopefully you laugh.

I was following the link you gave me and Googling for additional information to supplement what I was reading. I arrived at an Ubuntu website detailing someone that had the same problem with the same mouse. The end solution: I had to clean the scroll wheel! A little bit of dust got in there and that was the end of it. It’s just an incredible coincidence that it stopped working when I switched to openSUSE.

Thanks again for your help - I greatly appreciate your expertise and only hope I didn’t eat up too much of your time.

No worries :slight_smile:

I was following the link you gave me and Googling for additional information to supplement what I was reading. I arrived at an Ubuntu website detailing someone that had the same problem with the same mouse. The end solution: I had to clean the scroll wheel! A little bit of dust got in there and that was the end of it. It’s just an incredible coincidence that it stopped working when I switched to openSUSE.

Thanks again for your help - I greatly appreciate your expertise and only hope I didn’t eat up too much of your time.

I’m just glad it was something simple. So, no additional configuration needed. This may help others who come searching.