Bug 1379804

Summary: Pipe-key is not mapped
Product: [Fedora] Fedora Reporter: jain.miral
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: gansalmon, ichavero, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-01 15:39:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description jain.miral 2016-09-27 17:18:20 UTC
I hope it is ok if I open a bug for that and I don't get stoned if it isn't. On a HP spectre 13-v002ng Notebook i7-6500U S (1C24-5LQ) and Fedora 24 the key used for >, < and | (Pipe sign) is not mapped. So if I press it nothing happens. I tried all available keyboard layouts for my country, without success.

The key physically is located to the right of the "alt gr" key which itself is to the right of the space bar. I guess this is a driver problem and hence a bug.

# uname -a
Linux fedeng 4.7.4-200.fc24.x86_64 #1 SMP Thu Sep 15 18:42:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

How reproducible: Install Fedora and try all available keyboard layouts.

Comment 1 Jarod Wilson 2016-09-27 17:42:45 UTC
kernel-utils isn't a valid component, moving to kernel

Comment 2 jain.miral 2016-10-01 15:39:13 UTC
The issue can be remedied with the following script (named e.g. "mappingHpKeyboard") being placed e.g. in the folder /etc/rc5.d.

#!/bin/bash
#
# Map scancode to keycode for hp specific keyboard. It maps the right ctrl-scancode to the pipe-keycode
#
# chkconfig: 345 99 01
# description: Map scancode to keycode for hp specific keyboard

/usr/bin/setkeycodes e01d 86

The script can then be included with

$ chkconfig mappingHpKeyboard on

I anyway suggest the build in the kernel.