Bug 18773 - udev hwdb is broken after booting new kernel
Summary: udev hwdb is broken after booting new kernel
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-23 13:00 CEST by Tamás Hajdu
Modified: 2016-08-07 14:05 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-desktop-latest-4.4.13-1.mga5
CVE:
Status comment:


Attachments

Description Tamás Hajdu 2016-06-23 13:00:59 CEST
Description of problem:
I have a logitech m560 mouse, which needs to have udev hwdb rule to get special keys working properly. 
Here is the hwdb rule for this mouse:

# Logitech M-560
keyboard:usb:v046DpC52B*
 KEYBOARD_KEY_70007=back                # Back button sends second keycode. 700E3 is the first and already mapped.
 KEYBOARD_KEY_700E7=274                 # Forward as middle
 KEYBOARD_KEY_7002B=prog1               # Will Send tab when move right with middle button click
 KEYBOARD_KEY_70072=prog1               # Will send f23 when move left with middle button click
 KEYBOARD_KEY_700E2=reserved            # Will Send leftalt when move left with middle button click
 KEYBOARD_KEY_700E3=reserved            # Will Send leftmeta when move right with middle button click. Also is sent when use Back button.
 KEYBOARD_KEY_90004=left                # Left Scroll Click map to Left
 KEYBOARD_KEY_90005=right               # Right Scroll Click map to Right 

After installing and booting up kernel 4.4.13, this rule stops working.

Version-Release number of selected component (if applicable):
4.4.13

How reproducible:
Always

Steps to Reproduce:
1. Add the rule
2. Reboot to 4.4.13 kernel
3. Mouse rules does not work any more
Marja Van Waes 2016-06-23 17:20:29 CEST

CC: (none) => marja11
Assignee: bugsquad => tmb

Comment 1 Tamás Hajdu 2016-08-01 02:03:09 CEST
Still applies to kernel 4.4.16-desktop-1.mga5
Comment 2 Tamás Hajdu 2016-08-07 14:05:37 CEST
Hello,

It turns out that this mouse got a driver from kernel 4.2. https://github.com/CzBiX/logitech-m560

Unfortunately this does not enable the plus buttons by default, but at least the strange double codes sent by the middle button are now handled normally.

I suggest as a default to add these buttons to xbindkeysrc the following:
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
b:11
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
b:10

This assigns forward and backward to those buttons on the side.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.