Bug 64187

Summary: [PATCH] [udev] keymap: Add support for Eject button on MSI GE60/GE70
Product: systemd Reporter: johan.heikkila
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: 95-keymap.rules fix for eject button on MSI GE60/70

Description johan.heikkila 2013-05-03 14:41:29 UTC
Created attachment 78811 [details]
95-keymap.rules fix for eject button on MSI GE60/70

The Eject button doesn't work on the MSI GE60 laptop. Some info:

# cat /sys/class/dmi/id/sys_vendor
Micro-Star International Co., Ltd.

# cat /sys/class/dmi/id/product_name
GE60 0NC\0ND

# cat /sys/class/dmi/id/product_version
REV:1.0

# /usr/lib/udev/findkeyboards
AT keyboard: input/event3

#dmesg
atkbd serio0: Unknown key released (translated set 2, code 0xc2 on isa0060/serio0).
atkbd serio0: Use 'setkeycodes e042 <keycode>' to make it known.

The attached patch make it work.

The patch is not tested on the GE70, but as the hardware is almost identical (different screen size), I am positive it will work.
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-05-15 01:52:46 UTC
Applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=5378905. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.