LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-22-2016, 02:05 PM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Rep: Reputation: 33
Udev rules problem with Dell's WMI hotkeys


Hi. I'm getting this error from journalctl

Quote:
Error calling EVIOCSKEYCODE on device node '/dev/input/event10' (scan code 0x150, key code 190):
Tried to figure out why this error is coming out but couldn't actually find a way to fix it.

Code:
sudo evtest /dev/input/event10
returns :

Quote:
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Dell WMI hotkeys"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 148 (KEY_PROG1)
Event code 149 (KEY_PROG2)
Event code 161 (KEY_EJECTCD)
Event code 202 (KEY_PROG3)
Event code 203 (KEY_PROG4)
Event code 224 (KEY_BRIGHTNESSDOWN)
Event code 225 (KEY_BRIGHTNESSUP)
Event code 227 (KEY_SWITCHVIDEOMODE)
Event code 236 (KEY_BATTERY)
Event code 240 (KEY_UNKNOWN)
Event code 248 (KEY_MICMUTE)
Event code 431 (KEY_DISPLAYTOGGLE)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
and

Code:
grep event10 /proc/bus/input/devices -A5 -B4
returns

Quote:
N: Name="Dell WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input12
U: Uniq=
H: Handlers=kbd event10
B: PROP=0
B: EV=13
B: KEY=8000 0 0 0 0 0 101100b c00 2 300000 e0000 0 0 0
B: MSC=10
Which exactly is the file where these keycodes are defined for udev rules ?

Does anyone has an idea on how to try fix it ?

Thanks
 
Old 12-24-2016, 01:25 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Perhaps this bug report is relevant to you

https://bugs.launchpad.net/ubuntu/+s...d/+bug/1597415

This thread too

https://ubuntuforums.org/showthread.php?t=2250210

Quote:
Which exactly is the file where these keycodes are defined for udev rules ?
Check /lib/udev/hwdb.d/60-keyboard.hwdb

In particular, this entry seems to be causing grief for some Dell owners...
Quote:
# Dell Latitude microphone mute
keyboard:nameell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*nLatitude*
KEYBOARD_KEY_150=f20 # Mic mute toggle, should be micmute
 
Old 12-25-2016, 08:47 AM   #3
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
I saw these Bugs but there is no any fixed referenced in these threads. I found also that issue https://bugs.launchpad.net/ubuntu/+s...d/+bug/1339998 where i tried what Hui Wang said at post #6 but without any luck. The error still exists.

I don't know if I have to just comment that specific line of the /lib/udev/hwdb.d/60-keyboard.hwdb as said at ubuntu board. I would like to find another more sophisticated fix.

Thanks anyway for your answer.
 
Old 12-25-2016, 01:45 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
I don't know if I have to just comment that specific line of the /lib/udev/hwdb.d/60-keyboard.hwdb as said at ubuntu board. I would like to find another more sophisticated fix.

Thanks anyway for your answer.
I can only suggest submitting a bug report.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RKHunter ASCII text in /dev/.udev/rules.d/root.rules metrx Linux - Security 2 03-07-2014 08:37 AM
Problem with udev rules on slack13 timetraveler Slackware 4 12-23-2010 05:45 AM
problem with UDEV rules ukrishnanps Red Hat 5 07-14-2008 03:09 AM
Problem in UDEV rules ukrishnanps Linux - Software 1 07-11-2008 12:01 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration