Mouse wheel button no longer works to paste selected text

I have lost the ability to paste selected text with the mouse wheel button. It has worked before without problem, but one day it just stopped working. I cannot find anything in the System Settings to enable it.

I have a Fujitsu Celsius H730 laptop. The middle button on the trackpad does work to paste selected text. However my attached mouse does not. It is a Logitech M310 which uses the same USB stick as the keyboard Logitech K520.

I have tried plugging with the device USB stick in both the docking station and directly into the laptop.


djviking@machine:/etc/X11/xorg.conf.d> ls -1
00-keyboard.conf
00-keyboard.conf.backup
10-evdev.conf
10-libvnc.conf
11-evdev.conf
50-device.conf
50-monitor.conf
50-screen.conf
50-synaptics.conf
50-vmmouse.conf
50-wacom.conf


djviking@machine:/etc/X11/xorg.conf.d> cat 11-evdev.conf 
Section "InputClass"
        # Novell Bugs #597214, #780626, #843333, #861813
        Identifier      "Trackpoint Wheel Emulation"
        MatchProduct    "TPPS/2 IBM TrackPoint|ThinkPad USB Keyboard with TrackPoint"
        MatchIsPointer  "on"
        Driver  "evdev"
        Option  "EmulateWheel"  "on"
        Option  "EmulateWheelButton"    "2"
        # Since middle button is in use now these button events need to be emulated (bnc#869097)
        Option  "Emulate3Buttons" "on"
EndSection


djviking@machine:/etc/X11/xorg.conf.d> cat 50-synaptics.conf 
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"
        Option  "HorizEdgeScroll" "off"
# enable tap-to-click as default (bnc#722457)
        Option "TapButton1" "1"
        Option "TapButton3" "2"
        Option "TapButton2" "3"
EndSection


Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection


# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection


# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection


djviking@machine:/etc/X11/xorg.conf.d> cat 50-vmmouse.conf 
Section "InputClass"
        Identifier      "vmmouse"
        MatchIsPointer  "on"
        MatchTag        "vmmouse"
        Driver          "vmmouse"
EndSection


djviking@machine:~> grep -i mouse /var/log/Xorg.0.log
    20.505] (==) intel(0): Silken mouse enabled
    20.633] (--) evdev: Logitech M310: Found 20 mouse buttons
    20.633] (II) evdev: Logitech M310: Configuring as mouse
    20.634] (II) XINPUT: Adding extended input device "Logitech M310" (type: MOUSE, id 12)
    20.634] (II) config/udev: Adding input device Logitech M310 (/dev/input/mouse1)
    20.635] (--) evdev: Logitech K520: Found 1 mouse buttons
    20.635] (II) evdev: Logitech K520: Configuring as mouse
    20.800] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[262173.744] (II) config/udev: Adding input device Logitech M310 (/dev/input/mouse1)
[262173.745] (--) evdev: Logitech M310: Found 20 mouse buttons
[262173.745] (II) evdev: Logitech M310: Configuring as mouse
[262173.745] (II) XINPUT: Adding extended input device "Logitech M310" (type: MOUSE, id 12)
[262173.777] (--) evdev: Logitech K520: Found 1 mouse buttons
[262173.777] (II) evdev: Logitech K520: Configuring as mouse
[262288.096] (II) config/udev: Adding input device Logitech M310 (/dev/input/mouse1)
[262288.097] (--) evdev: Logitech M310: Found 20 mouse buttons
[262288.097] (II) evdev: Logitech M310: Configuring as mouse
[262288.097] (II) XINPUT: Adding extended input device "Logitech M310" (type: MOUSE, id 12)
[262288.164] (--) evdev: Logitech K520: Found 1 mouse buttons
[262288.164] (II) evdev: Logitech K520: Configuring as mouse

I am using OpenSUSE 13.2, but have installed the latest Linux kernel 4.7.5 from repository.
http://download.opensuse.org/repositories/Kernel:/stable/standard/

Edit: I should have posted this under the Hardware section. Perhaps a moderator could move it there.

I’ll move it to the Hardware forum for you.

Did you ever have a customised Xorg configuration file present for this Logitech device?

I’m wondering if a simple configuration file like the following might help here?

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "Emulate3Buttons" "true"
EndSection

Save the following to /etc/X11/xorg.conf.d/logitech.conf, then restart the X-server with CTRL+Alt+Backspace (twice). Is the Logitech middle button operating as expected now?

BTW, are you able to verify that the middle mouse button is working via another machine/OS?

Shouldn’t it have
MatchDevicePath “/dev/input/mouse1”
The logitech mouse is device1, while the touchpad is mouse0.

I don’t know what I had previous for Xorg configuration.

I don’t have another machine to try. However I can try a different attached mouse.

That doesn’t eliminate the mouse having a faulty switch unfortunately. In any case, give the configuration file a go.

Test it with xev , move pointer into the window and click mouse button to see if system can detect it. (noname mouse wheel/middle button example)

>xev
Button**Press** event, serial 40, synthetic NO, window 0x6000001,
    root 0xd3, subw 0x0, time 11754775, (90,102), root:(90,465),
    state 0x0, **button 2**, same_screen YES

Button**Release** event, serial 40, synthetic NO, window 0x6000001,
    root 0xd3, subw 0x0, time 11755025, (90,102), root:(90,465),
    state 0x200, **button 2**, same_screen YES

The scroll wheel is working, but pressing it down does not work. No output in xev when pressing down the scroll wheel button.

Left mouse button


ButtonPress event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713371373, (141,156), root:(2570,223),
    state 0x10, button 1, same_screen YES


ButtonRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713371579, (141,156), root:(2570,223),
    state 0x110, button 1, same_screen YES

Right mouse button


ButtonPress event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713372591, (141,156), root:(2570,223),
    state 0x10, button 3, same_screen YES


ButtonRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713372767, (141,156), root:(2570,223),
    state 0x410, button 3, same_screen YES


Nothing on button 2

Scrolling


ButtonPress event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x5200002, time 713450871, (38,54), root:(2467,121),
    state 0x10, button 4, same_screen YES


EnterNotify event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713450700, (38,54), root:(2467,121),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 2064


KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  4294967203 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   


ButtonRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x5200002, time 713450871, (38,54), root:(2467,121),
    state 0x810, button 4, same_screen YES


LeaveNotify event, serial 40, synthetic NO, window 0x5200001,
    root 0xa3, subw 0x0, time 713450700, (38,54), root:(2467,121),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

Will try deano_ferrari suggestion next time I perform a restart.

You might also consider taking the Logitech device to another computer to test eg friend, shop, work…