[Bug 1890186] Re: Failed to call EVIOCSKEYCODE with scan code 0xc022d, and key code 103: Invalid argument

Md Ayquassar 1890186 at bugs.launchpad.net
Mon Aug 3 22:23:53 UTC 2020


@ddstreet : Will do.  Before commenting out

# Microsoft Natural Ergonomic Keyboard 4000
evdev:input:b0003v045Ep00DB*
 KEYBOARD_KEY_c022d=up                                  # zoomin
 KEYBOARD_KEY_c022e=down 

from /lib/udev/hwdb.d/60-keyboard.hwdb , the output of `sudo evtest` is
this:

No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Power Button
/dev/input/event2:      Sleep Button
/dev/input/event3:      Power Button
/dev/input/event4:      AT Translated Set 2 keyboard
/dev/input/event5:      USB Optical Mouse
/dev/input/event6:      AlpsPS/2 ALPS DualPoint Stick
/dev/input/event7:      AlpsPS/2 ALPS DualPoint TouchPad
/dev/input/event8:      Microsoft NaturalĀ® Ergonomic Keyboard 4000
/dev/input/event9:      Microsoft NaturalĀ® Ergonomic Keyboard 4000
/dev/input/event10:     ST LIS3LV02DL Accelerometer
/dev/input/event11:     HDA Intel PCH Dock Mic
/dev/input/event12:     HDA Intel PCH Dock Line Out
/dev/input/event13:     HDA Intel PCH Front Headphone
/dev/input/event14:     Laptop_Integrated_Webcam_HD: In
/dev/input/event15:     Dell WMI hotkeys
/dev/input/event16:     Video Bus
/dev/input/event17:     Video Bus
/dev/input/event18:     HDA Intel HDMI HDMI/DP,pcm=3
/dev/input/event19:     HDA Intel HDMI HDMI/DP,pcm=7
/dev/input/event20:     HDA Intel HDMI HDMI/DP,pcm=8
/dev/input/event21:     HDA Intel HDMI HDMI/DP,pcm=9
/dev/input/event22:     HDA Intel HDMI HDMI/DP,pcm=10
Select the device event number [0-22]:

1) What would I choose after editing the file and rebooting? 8 or 9 or
something else?

2) How are they Zoom keys supposed to work under Linux?  The up/down
slider scrolls for me so far. Does a combination of modifier keys (Alt,
Shift,  Ctrl, AltGr) have to be pressed?  Should the Fn key light be on
or off?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1890186

Title:
  Failed to call EVIOCSKEYCODE with scan code 0xc022d, and key code 103:
  Invalid argument

Status in systemd package in Ubuntu:
  New

Bug description:
  I run an up-to-date Ubuntu 20.04.1 LTS "focal" with kernel
  5.4.0-42-generic on Dell Latitude E6440.  Upon examining the output of
  journalctl -b, I see this:

  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
  Aug 03 19:22:15 pseudonymizedHostname systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
  Aug 03 19:22:15 pseudonymizedHostname kernel: [drm] radeon: dpm initialized
  Aug 03 19:22:15 pseudonymizedHostname kernel: [drm] GART: num cpu pages 524288, num gpu pages 524288
  Aug 03 19:22:15 pseudonymizedHostname kernel: dell_laptop: Using dell-rbtn acpi driver for receiving events
  Aug 03 19:22:15 pseudonymizedHostname systemd-udevd[385]: event8: Failed to call EVIOCSKEYCODE with scan code 0xc022d, and key code 103: Invalid argument
  Aug 03 19:22:15 pseudonymizedHostname systemd-udevd[385]: event8: Failed to call EVIOCSKEYCODE with scan code 0xc022e, and key code 108: Invalid argument

  "Invalid argument" means that something goes wrong there, and I don't know what it is.
  On my laptop, event8 seems to be keyboard-related:

  $ sudo cat /proc/bus/input/devices | grep -C 5 event8
  I: Bus=0003 Vendor=045e Product=00db Version=0111
  N: Name="Microsoft NaturalĀ® Ergonomic Keyboard 4000"
  P: Phys=usb-0000:00:14.0-13.1/input0
  S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13.1/3-13.1:1.0/0003:045E:00DB.0002/input/input9
  U: Uniq=
  H: Handlers=sysrq kbd event8 leds 
  B: PROP=0
  B: EV=120013
  B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
  B: MSC=10
  B: LED=107

  The issue report
  https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1754921 is
  probably related but marked as a duplicate of a no longer existing
  issue report (#1750855).

  The report
  https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1597415
  describes a similar issue for older kernels; the differences pertain
  to error message, error code, input..., and, opposed to #19 there, I
  have no Windows partitions (except /boot/efi vfat) in /etc/fstab; mine
  is not a dual-boot machine.

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



More information about the foundations-bugs mailing list