What does this mean: Error calling EVIOCSKEYCODE: Invalid argument ??

Asked by Michael Heuberger

When running `dmesg` I often see lines like these:

[ 11.232584] systemd-udevd[490]: Error calling EVIOCSKEYCODE: Invalid argument
[ 11.232646] systemd-udevd[490]: Error calling EVIOCSKEYCODE: Invalid argument

What do they mean and how can we fix this?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Heuberger (michael.heuberger) said :
#1

Using Ubuntu 14.04 here.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

https://duckduckgo.com/?q=+Error+calling+EVIOCSKEYCODE%3A+Invalid+argument

Have you done this sort of thing? Lots of pages serm to have it on..

Revision history for this message
Michael Heuberger (michael.heuberger) said :
#3

Yes and sorry, your search term isn't correct. Should be:
https://duckduckgo.com/?q=%22Error+calling+EVIOCSKEYCODE%3A+Invalid+argument%22

And you'll see only 5 results and none helped ...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

What is the output of:

cat /etc/issue; lsb_release -a

Thanks

Revision history for this message
Michael Heuberger (michael.heuberger) said :
#5

# michael.heuberger at M1 in ~ [13:05:05]
$ cat /etc/issue; lsb_release -a
Ubuntu 14.04 LTS \n \l

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

Revision history for this message
Toyota4Runner (curiousgeorge77) said :
#6

I too am seeing this message when I run dmesg.

Output of cat /etc/issue; lsb_release -a

Ubuntu 14.04 LTS \n \l

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:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
My name (plmalternate) said :
#8

I see this when I boot 14.04 :
systemd-udevd[355]: Error calling EVIOCSKEYCODE: Invalid argument
It probably slows booting a bit but if it has other consequences they aren't obvious to me. I have no idea what it means.

Revision history for this message
pbhj (pbhj) said :
#9

Me too:

$ cat /etc/issue; lsb_release -a; uname -a
Ubuntu 14.04.1 LTS \n \l

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:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux bridgeflap-k1210 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Example from recent boot:

$ dmesg | grep -i eviocs
[ 18.736270] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.736343] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.736401] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.736459] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.736517] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.742886] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.750157] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.754503] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.756268] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.757913] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.783788] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.786015] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument
[ 18.790685] systemd-udevd[361]: Error calling EVIOCSKEYCODE: Invalid argument

Revision history for this message
Enrique Argones (enrique-argones) said :
#10

I get the same report at boot:

$ dmesg | grep -i eviocs
[ 49.194448] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194481] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194494] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194507] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194520] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194533] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194545] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194558] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194571] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194584] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194597] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194618] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument
[ 49.194640] systemd-udevd[520]: Error calling EVIOCSKEYCODE: Invalid argument

$ cat /etc/issue; lsb_release -a; uname -a
Ubuntu 14.04.1 LTS \n \l

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux Salon 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I found some information in other web, it seems to be related to a macro for key codes in udev source code, but I am not familair with this. For more information, https://<email address hidden>/msg19342.html . I hope it helps and this is not noise.

Revision history for this message
Michael Heuberger (michael.heuberger) said :
#11

Just upgraded to Ubuntu 14.10 and the bug is still here :(

Revision history for this message
Launchpad Janitor (janitor) said :
#12

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Nicky De Maeyer (nicky-demaeyer) said :
#13

I'm also having this issue:

Ubuntu 14.04.1 LTS \n \l

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux ndm-laptop 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
David Vigil (dgvigil) said :
#14

I'm getting a similar error message as well, during boot.

Ubuntu 14.04.1 LTS \n \l

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Linux jedi01 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

# grep -i EVIOCSKEYCODE /var/log/dmesg
[ 13.862277] systemd-udevd[566]: Error calling EVIOCSKEYCODE: Invalid argument
[ 13.862388] systemd-udevd[566]: Error calling EVIOCSKEYCODE: Invalid argument

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

Why have you put systemd on the PC anyway?