You are not logged in.

#1 2015-03-23 16:10:51

dave.computer
Member
Registered: 2012-10-23
Posts: 15

Mouse button mappings lost after upgrade.

Hello,

After my upgrade on 2015-03-21, I lost the custom button mappings for my Logitech Performance MX mouse.  The mouse still works, including the left and right buttons, and the scroll wheel.  All of the additional buttons are not functioning.

I checked that the mouse still has the same name and usb ID:

dave@Erin ~ $ egrep "Name|Handlers" /proc/bus/input/devices
N: Name="Logitech Performance MX"
H: Handlers=event5 mouse0
dave@Erin ~ $ lsusb
Bus 006 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver

Here is the configuration file I created originally, following the Arch Wiki page All Mouse Buttons Working.

dave@Erin ~ $ cat /etc/X11/xorg.conf.d/90-mouse.conf 
Section "InputClass"
Identifier "Logitech Performance Mouse MX"
MatchUSBID "046d:c52b"
Option "ButtonMapping" "1 2 2 4 5 6 7 8 9 10 11 12 3"
EndSection

Finally, here are the details of the update:

dave@Erin ~ $cat /var/log/pacman.log
[2015-03-21 09:04] [PACMAN] Running 'pacman -Syu'
[2015-03-21 09:04] [PACMAN] synchronizing package lists
[2015-03-21 09:04] [PACMAN] starting full system upgrade
[2015-03-21 09:06] [ALPM] transaction started
[2015-03-21 09:06] [ALPM] upgraded openssl (1.0.2-1 -> 1.0.2.a-1)
[2015-03-21 09:06] [ALPM] upgraded firefox (36.0.1-1 -> 36.0.3-1)
[2015-03-21 09:06] [ALPM] upgraded lib32-openssl (1.0.2-1 -> 1.0.2.a-1)
[2015-03-21 09:06] [ALPM] upgraded lib32-curl (7.40.0-1 -> 7.41.0-1)
[2015-03-21 09:06] [ALPM] upgraded lib32-libtasn1 (4.2-1 -> 4.3-1)
[2015-03-21 09:06] [ALPM] upgraded linux (3.18.6-1 -> 3.19.2-1)
[2015-03-21 09:06] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2015-03-21 09:06] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Starting build: 3.19.2-1-ARCH
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [mdadm_udev]
[2015-03-21 09:06] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Starting build: 3.19.2-1-ARCH
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [mdadm_udev]
[2015-03-21 09:06] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2015-03-21 09:06] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2015-03-21 09:06] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-03-21 09:06] [ALPM] upgraded linux-headers (3.18.6-1 -> 3.19.2-1)
[2015-03-21 09:06] [ALPM] upgraded openssh (6.7p1-1 -> 6.8p1-2)
[2015-03-21 09:06] [ALPM] upgraded python-setuptools (1:14.3-1 -> 1:14.3.1-1)
[2015-03-21 09:06] [ALPM] upgraded vhba-module (20140928-5 -> 20140928-9)
[2015-03-21 09:06] [ALPM-SCRIPTLET]   > Updating module dependencies...
[2015-03-21 09:06] [ALPM] upgraded wine (1.7.38-1 -> 1.7.39-1)
[2015-03-21 09:06] [ALPM] upgraded xdg-utils (1.1.0.git20141009-1 -> 1.1.0.git20150302-1)
[2015-03-21 09:06] [ALPM] upgraded xorg-fonts-misc (1.0.3-2 -> 1.0.3-3)
[2015-03-21 09:06] [ALPM-SCRIPTLET] Updating font cache... done.
[2015-03-21 09:06] [ALPM] upgraded xorg-xinit (1.3.4-1 -> 1.3.4-2)
[2015-03-21 09:06] [ALPM] upgraded youtube-dl (2015.03.09-1 -> 2015.03.18-1)
[2015-03-21 09:06] [ALPM] transaction completed

I'm thinking that the upgrade of xorg-init is a clue? I also noticed that Solaar, which I use for the Logitech wireless receiver, hasn't been updated in a while.  Apparently it has been broken for a while, though I haven't tried to change any settings in a long time.

Any help would be appreciated.

Offline

#2 2015-03-23 16:16:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Mouse button mappings lost after upgrade.

Does downgrading xorg-xinit restore the behaviour? If yes, how do you start X?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-03-23 20:27:49

dave.computer
Member
Registered: 2012-10-23
Posts: 15

Re: Mouse button mappings lost after upgrade.

Downgrading xorg-xinit from  1.3.4-2 back to 1.3.4-1 does not retore the mouse buttons.

I start X upon loging in.  Following the Arch Wiki at Start X at login, I added

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx

to ~/.bash_profile

Thanks for your reply.

Offline

#4 2015-03-24 20:21:01

dave.computer
Member
Registered: 2012-10-23
Posts: 15

Re: Mouse button mappings lost after upgrade.

I worked around my problem by adding

xmodmap -e "pointer = 1 0 2 4 5 6 7 8 9 10 11 12 3 0 0 0 0 0 0 0 0 0 0 0"

to ~/.xinitrc. The file now looks like

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
xmodmap -e "pointer = 1 0 2 4 5 6 7 8 9 10 11 12 3 0 0 0 0 0 0 0 0 0 0 0"
exec startxfce4
# ...or the Window Manager of your choice
#exec openbox-session

As far as I can tell, /etc/X11/xorg.conf.d/90-mouse.conf no longer has any effect. I deleted it and noticed no difference. Though my mouse buttons are back to the way I like them, I'm still curious as to how they got broken in the first place.  If anyone could educate me, I'd appreciate it.

Offline

Board footer

Powered by FluxBB