Public bug reported:

I'm using Ubuntu 16.04, (stock install 16.04.3, not HWE LTS) with a newly 
bought mouse, Logitech M705 (which are using Logitech Unifying Receiver). When 
I connected the mouse everything was working as expected, except that the 
middle clicking wasn't working. The  mouse has the following map:
 1      Left 
 2      Middle (push roller down)
 3      Right 
 4      Roller Forward 
 5      Roller Back 
 6      Roller tilt left 
 7      Roller tilt right
 8      Side button, forward
 9      Side Button, rearward
10      Extra button  (app switching)

When I tried the mouse with 'xev | grep button', the button Left was nr
1, Right nr 3, Roller Forward nr 4, Roller Back nr 5, Roller tilt left
nr 6, Roller tilt right nr 7, Side button, forward nr 8, Side Button,
rearward nr 9 and Extra button was nr 10. But Middle button was the same
as Roller tilt left namely nr 6. It should have been number 2 not 6.
Thus the middle click button wasn't properly detected and not working as
expected. I can remap the mouse button nr 6 to nr 2 with xinput and get
middle clicking but then the left tilt functionality disappear, this
button (nr 6) also become a middle click button, nr 2. What is it that
makes that two different buttons get the same number?

xinput list shows:

xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech M705                             id=8    [slave  pointer  (2)]
⎜   ↳ Logitech K520                             id=9    [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)]
    ↳ Eee PC WMI hotkeys                        id=10   [slave  keyboard (3)]

And 
xinput list 8
Logitech M705                                   id=8    [slave  pointer  (2)]
        Reporting 7 classes:
                Class originated from: 8. Type: XIButtonClass
                Buttons supported: 24
                Button labels: "Button Left" "Button Middle" "Button Right" 
"Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz 
Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" 
"Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button 
Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" 
"Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
                Button state:
                Class originated from: 8. Type: XIValuatorClass
                Detail for Valuator 0:
                  Label: Rel X
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 8. Type: XIValuatorClass
                Detail for Valuator 1:
                  Label: Rel Y
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 8. Type: XIValuatorClass
                Detail for Valuator 2:
                  Label: Rel Horiz Wheel
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 8. Type: XIValuatorClass
                Detail for Valuator 3:
                  Label: Rel Vert Wheel
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 8. Type: XIScrollClass
                Scroll info for Valuator 2
                  type: 2 (horizontal)
                  increment: 1.000000
                  flags: 0x0
                Class originated from: 8. Type: XIScrollClass
                Scroll info for Valuator 3
                  type: 1 (vertical)
                  increment: -1.000000
                  flags: 0x2 ( preferred )

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728446

Title:
  Middle clicking isn't working properly Logitech M705

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728446/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to