[HP ProBook 445 G1] Microphone mute key does not work

Bug #1334968 reported by Po-Hsu Lin
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Medium
Hui Wang
systemd (Ubuntu)
Fix Released
Medium
Hui Wang

Bug Description

CID: 201307-13919 HP ProBook 445 G1

The microphone mute key does not work on this system
Keystroke cannot be detected by xev, but it shows:
keycode 465 press
keycode 465 release
from "sudo showkey -k"

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-30-generic 3.13.0-30.54
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1508 F.... pulseaudio
 /dev/snd/pcmC1D0c: ubuntu 1508 F...m pulseaudio
 /dev/snd/controlC0: ubuntu 1508 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
CurrentDesktop: Unity
Date: Fri Jun 27 01:10:10 2014
HibernationDevice: RESUME=UUID=be96939f-ffde-4407-a99e-17beebf60ad5
InstallationDate: Installed on 2014-06-27 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Hewlett-Packard HP ProBook 445 G1 Notebook PC
ProcFB:
 0 radeondrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=fd8269ec-b9ab-4f08-8eaf-6c3bfa26a4e1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-30-generic N/A
 linux-backports-modules-3.13.0-30-generic N/A
 linux-firmware 1.127.4
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/05/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68CPE Ver. F.21
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1950
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 91.0B
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68CPEVer.F.21:bd09/05/2013:svnHewlett-Packard:pnHPProBook445G1NotebookPC:pvrA201BC1203:rvnHewlett-Packard:rn1950:rvrKBCVersion91.0B:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 445 G1 Notebook PC
dmi.product.version: A201BC1203
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still not working with the latest mainline kernel 3.16.0-031600rc2-generic

Daniel Manrique (roadmr)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → David Henningsson (diwic)
Revision history for this message
David Henningsson (diwic) wrote :

Hi a16g, please reassing to hotkey expert. Thanks!

Changed in linux (Ubuntu):
assignee: David Henningsson (diwic) → Anthony Wong (anthonywong)
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Hui Wang (hui.wang)
Revision history for this message
Hui Wang (hui.wang) wrote :

what is the microphone mute key on this machine? Fn+F8 or something elese?

And please use sudo showkey -s to catch the scancode of this key.

Thanks.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Keystroke cannot be detected by xev, but it shows:
keycode 465 press
keycode 465 release
from "sudo showkey -k"

This system has been recalled by OEM at 10 July 2014
I heard that it will be back, but not sure when.

Therefore I can't tell what's the combination, but according to those pictures I found on the Internet, I think it's Fn+F8

Revision history for this message
Hui Wang (hui.wang) wrote :

@cypressyew,

Could you please use sudo showkey -s instead of showkey -k to catch the scancode? scancode is more important to solve this problem.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Oh, for -s, sorry I didn't catch that

Will do this after it get back to us.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paolo Montrasio (paolo-paolomontrasio) wrote :

This happens also on a ZBook 15.

This is what showkeys outputs when I press F8, Fn-F8, Ctrl-C

$ sudo showkey -s
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
0x9c
^[[19~0x42
0xc2
 0x39 0xb9
0x1d
^Ccaught signal 2, cleaning up...

 $ sudo showkey -k
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode 28 release
^[[19~keycode 66 press
keycode 66 release
keycode 465 press
keycode 465 release
keycode 29 press
^Ccaught signal 2, cleaning up...

Fn-F8 doesn't do anything in showkey -s, it displays the 465 events in showkey -k

I'm on 12.04 LTS with the latest HWE kernel (almost, I should reboot to start using the 3.13.0-32.57~precise1 that came with the updates days ago).

$ uname -a
Linux ****** 3.13.0-30-generic #55~precise1-Ubuntu SMP Fri Jul 4 21:52:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

Revision history for this message
Hui Wang (hui.wang) wrote :

Please follow below steps and redo the test under ubuntu 14.04:

generate a file named 60-hp-mic-mute-hotkey.hwdb and place the file at /etc/udev/hwdb.d/

echo the content below into the 60-hp-mic-mute-hotkey.hwdb:
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr*
 KEYBOARD_KEY_81=f20

Then run the command below to update the udev database:
sudo udevadm hwdb -u

then re-test mic mute function on this machine or use showkey -k to test

Revision history for this message
Hui Wang (hui.wang) wrote :

If it is ubuntu 12.04.4:

a simple way to test is edit /lib/udev/keymaps/hewlett-packard, change the line:
0x81 fn_esc
to
0x81 f20

Revision history for this message
Hui Wang (hui.wang) wrote :

Follow the comment #11, after modification, don't forget to reboot.

Changed in hwe-next:
assignee: nobody → Hui Wang (hui.wang)
importance: Undecided → Medium
status: New → Triaged
Changed in hwe-next:
status: Triaged → Incomplete
Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

Also have this issue with an HP zBook 15 G2

Performed the steps in #11

Alas, no effect

sudo showkey -k # continues to show keycode 465 pressed and released

The key has an embedded indicator light which does not change state.

I note that KEYBOARD_KEY_81 already has a rule defined in the Hewlett Packard section of /lib/udev/hwdb.d/60-keyboard.hwdb which specifies it to be fn_esc. It also expresses the opinion that fn+f8 is the "battery" key

keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr*
 KEYBOARD_KEY_81=fn_esc
 KEYBOARD_KEY_89=battery # Fn+F8

One thing I don't understand is the relationship between keycode and KEYBOARD_KEY ; how does 465 relate to which KEYBOARD_KEY you use?

Revision history for this message
Hui Wang (hui.wang) wrote :

@Adrian,

If it has /lib/udev/hwdb.d/60-keyboard.hwdb on your machine, it seems the ubuntu version on your machine is at least 14.04, so please follow the steps in the comment #10 instead of #11.

Revision history for this message
Martin Pitt (pitti) wrote :
affects: linux (Ubuntu) → systemd (Ubuntu)
Changed in systemd (Ubuntu):
status: Incomplete → Fix Committed
Hui Wang (hui.wang)
Changed in hwe-next:
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.6 KiB)

This bug was fixed in the package systemd - 218-10ubuntu1

---------------
systemd (218-10ubuntu1) vivid; urgency=medium

  [ Martin Pitt ]
  * Merge with Debian unstable. Remaining Ubuntu changes:
    - Hack to support system-image read-only /etc, and modify files in
      /etc/writable/ instead.
    - Keep our much simpler udev maintainer scripts (all platforms must
      support udev, no debconf).
    - initramfs init-top: Drop $ROOTDELAY, we do that in a more sensible way
      with wait-for-root. Will get applicable to Debian once Debian gets
      wait-for-root in initramfs-tools.
    - initramfs init-bottom: If LVM is installed, settle udev,
      otherwise we get missing LV symlinks. Workaround for LP #1185394.
    - Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv
      dependencies to "lvm2" which is handled with udev rules in Ubuntu.
    - Provide shutdown fallback for upstart. (LP: #1370329)
    - debian/extra/ifup@.service: Additionally run for "auto" class. We don't
      really support "allow-hotplug" in Ubuntu at the moment, so we need to
      deal with "auto" devices appearing after "/etc/init.d/networking start"
      already ran. (LP: #1374521) Also, check if devices are actually defined
      in /etc/network/interfaces as we don't use Debian's net.agent.
    - ifup@.service: Drop dependency on networking.service (i. e.
      /etc/init.d/networking), and merely ensure that /run/network exists.
      This avoids unnecessary dependencies/waiting during boot and dependency
      cycles if hooks wait for other interfaces to come up (like ifenslave
      with bonding interfaces). (LP: #1414544)
    - Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In
      Ubuntu we currently keep the setting whether the RTC is in local or UTC
      time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime.
      (LP: #1377258)
    - Put session scopes into all cgroup controllers. This makes unprivileged
      user LXC containers work under systemd. (LP: #1346734)
    - Lower Breaks: to plymouth version which has the udev inotify fix in
      Ubuntu.
    - Lower libappamor1 dep to the Ubuntu version where it moved to /lib.
    - Make failure of boot-and-services NSpawn.test_boot non-fatal for now.
      This currently fails when being triggered by Jenkins, but is totally
      unreproducible when running this manually on the exact same machine.

    Upgrade fixes, keep until 16.04 LTS release:
    - systemd Conflicts/Replaces/Provides systemd-services.
    - Remove obsolete systemd-logind upstart job.
    - Clean up obsolete /etc/udev/rules.d/README.

  * ifup@.service: Fix syntax error. (LP: #1421556, #1420601)

  [ Didier Roche ]
  * Add systemd-fsckd multiplexer and feed its output to plymouth. This
    provides an aggregate progress report of running file system checks and
    also allows cancelling them with ^C.
    (LP: #1316796; Closes: #775093, #758902)

systemd (218-10) experimental; urgency=medium

  * Pull latest keymaps from upstream git. (LP: #1334968, #1409721)
  * rules: Fix by-path of mmc RPMB partitions and don't blkid them. Avoids
    kernel buffer I/O errors and timeouts. (LP: #1333140...

Read more...

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Hui Wang (hui.wang)
Changed in hwe-next:
status: Fix Committed → Fix Released
Revision history for this message
Joe Hurr (joehurr) wrote :

I have an HP EliteBook 820 G2 with the same mic mute key & indicator on Fn+F8.

showkey -s does nothing
showkey -k gives me:
keycode 465 press
 keycode 465 release

Revision history for this message
Joe Hurr (joehurr) wrote :

I've got an HP EliteBook 820 G2 with the same Fn+F8 key and indicator for mic mute. I get the same results as the OP with showkey -k and -s.

Is there something I need to do to apply the fix for this? I'm afraid I'm not quite sure how to do the steps in #10.

Is there anything else I can do to help with this bug?

Hui Wang (hui.wang)
Changed in systemd (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Joe, please don't hijack bugs like this. You have a different laptop model, please file a new bug with "ubuntu-bug udev". Thanks!

Changed in systemd (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.