I do observe the exactly same on a HP elitebook 840 G6 with the phone
pickup and hangup keys and other HP fancy keys i usually do not need.
They either mapp to left_ctrl left_meta or left_ctrl elft_alt.

Event: time 1594376396.025858, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d
Event: time 1594376396.025858, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1594376396.025858, -------------- SYN_REPORT ------------
Event: time 1594376396.026015, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1594376396.026015, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1594376396.026015, -------------- SYN_REPORT ------------
Event: time 1594376396.026120, type 4 (EV_MSC), code 4 (MSC_SCAN), value 65
Event: time 1594376396.026120, -------------- SYN_REPORT ------------

Event: time 1594376622.906330, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1594376622.906330, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1594376622.906330, -------------- SYN_REPORT ------------
Event: time 1594376622.906498, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66
Event: time 1594376622.906498, -------------- SYN_REPORT ------------
Event: time 1594376622.906682, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1594376622.906682, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1594376622.906682, -------------- SYN_REPORT ------------


Checking the scanvalue it turns out that pressing left_alt and left_ctrl 
produce the same individual key codes as returned for one key press of the 
special HP keys. 

 
Event: time 1594376291.093583, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1594376291.093583, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1594376291.093583, -------------- SYN_REPORT ------------
Event: time 1594376291.240595, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1594376291.240595, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1594376291.240595, -------------- SYN_REPORT ------------
Event: time 1594376295.981981, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d
Event: time 1594376295.981981, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1594376295.981981, -------------- SYN_REPORT ------------
Event: time 1594376296.095764, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d
Event: time 1594376296.095764, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0
Event: time 1594376296.095764, -------------- SYN_REPORT ------------


Looking at the scans it seems as if these special keys would produce three 
keystrokes at the same time  

code 0x1d, 0x38, 0x65
code 0x38, 0x66, 0xdb

The codes 0x65 and 0x66 seem to be ignored by the kernel or udev and
thus the keypress is seems to be shortened to

code 0x1d, 0x38 -> which maps to <ctrl><alt> and this is fatal in my
case cause directly underneath the phone hangup button with too little
space in between is the backspace button located. Yes!!! whenever i hit
inbetween the two keys the X-Server thinks I requested him to zap.

Looking at the event code table printed by evtest it seems as if the
code 101 = 0x65 is not used or mapped.

I tried to make an appropriate udev rule to map 0x65 and 0x66 to some
key but this is not applied thus i still stuck with having to too close
keys acting as ctrl alt bksp which is the good old Xorg zap combination
which i do not want to disable.

But whatever i try exempt reboot yet to map missing codes to keys does
not work. neither udev method nor setkeycodes in xorg works. nor reboot.

It is a bit unluckily annoying the situation, at least i know to
watchout when hitting backspace key not to accidentially also hit phone
hangup key.

I'm using kernel 5.3.0-40-lowlatency which is currently the latest
packaged by ubuntu hwe

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1852071

Title:
  [HP ZBook Studio G5, Ubuntu 18.04.3 LTS] Brightness function keys
  works as microphone mute function keys

Status in linux package in Ubuntu:
  Triaged

Bug description:
  1. Press fn+F3.
  Ubuntu shows "Internal microphone" turned off OSD pop-up.
  Should turn the brightness down.
  2. Press fn+F3 again.
  Ubuntu shows "Internal microphone" turned on OSD pop-up.
  Should turn the brightness down.

  1. Press fn+F4.
  Ubuntu shows "Internal microphone" turned off OSD pop-up.
  Should turn the brightness up.
  2. Press fn+F4 again.
  Ubuntu shows "Internal microphone" turned on OSD pop-up.
  Should turn the brightness up.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xorg 1:7.7+19ubuntu7.1
  ProcVersionSignature: Ubuntu 5.0.0-32.34~18.04.2-generic 5.0.21
  Uname: Linux 5.0.0-32-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.9
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Nov 11 13:23:56 2019
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation Device [8086:3e9b] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:8428]
  InstallationDate: Installed on 2019-04-02 (223 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 138a:00ab Validity Sensors, Inc.
   Bus 001 Device 002: ID 05c8:0808 Cheng Uei Precision Industry Co., Ltd 
(Foxlink)
   Bus 001 Device 004: ID 8087:0aaa Intel Corp.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: HP HP ZBook Studio G5
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.0.0-32-generic 
root=UUID=d12790df-696c-4d0c-aefa-b0e53712e2ce ro quiet splash vt.handoff=1
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2019
  dmi.bios.vendor: HP
  dmi.bios.version: Q71 Ver. 01.08.00
  dmi.board.name: 8427
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 16.3A.00
  dmi.chassis.asset.tag: 5CD91018X5
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.modalias: 
dmi:bvnHP:bvrQ71Ver.01.08.00:bd07/15/2019:svnHP:pnHPZBookStudioG5:pvr:rvnHP:rn8427:rvrKBCVersion16.3A.00:cvnHP:ct10:cvr:
  dmi.product.family: 103C_5336AN HP ZBook Studio
  dmi.product.name: HP ZBook Studio G5
  dmi.product.sku: 2YN61AV
  dmi.sys.vendor: HP
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.97-1ubuntu1~18.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 19.0.8-0ubuntu0~18.04.3
  version.libgl1-mesa-glx: libgl1-mesa-glx 19.0.8-0ubuntu0~18.04.3
  version.xserver-xorg-core: xserver-xorg-core N/A
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
  version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to