<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unwanted brightness events from ACPI video device on Dell Vostro 1520"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106057">106057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unwanted brightness events from ACPI video device on Dell Vostro 1520
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sam@robots.org.uk
</td>
</tr></table>
<p>
<div>
<pre>On the Dell Vostro 1520, each event from the brightness up/down keys triggers
an event from two different keyboards:
# libinput-debug-events
WARNING: This compatibility wrapper will be removed in the future. Please run
'libinput debug-events' instead
-event4 DEVICE_ADDED Power Button seat0 default
group1 cap:k
-event5 DEVICE_ADDED Video Bus seat0 default
group2 cap:k
-event2 DEVICE_ADDED Power Button seat0 default
group3 cap:k
-event1 DEVICE_ADDED Lid Switch seat0 default
group4 cap:S
-event3 DEVICE_ADDED Sleep Button seat0 default
group5 cap:k
-event9 DEVICE_ADDED HDA Intel Mic seat0 default
group6 cap:
-event10 DEVICE_ADDED HDA Intel Front Headphone seat0 default
group6 cap:
-event0 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default
group7 cap:k
-event6 DEVICE_ADDED AlpsPS/2 ALPS GlidePoint seat0 default
group8 cap:p size 73x51mm tap(dl off) left scroll-nat scroll-edge dwt-on
-event0 KEYBOARD_KEY +5.62s KEY_BRIGHTNESSDOWN (224) pressed
event0 KEYBOARD_KEY +5.62s KEY_BRIGHTNESSDOWN (224) released
-event5 KEYBOARD_KEY +5.63s KEY_BRIGHTNESSDOWN (224) pressed
event5 KEYBOARD_KEY +5.63s KEY_BRIGHTNESSDOWN (224) released
event5 KEYBOARD_KEY +6.43s KEY_BRIGHTNESSDOWN (224) pressed
event5 KEYBOARD_KEY +6.43s KEY_BRIGHTNESSDOWN (224) released
-event0 KEYBOARD_KEY +6.43s KEY_BRIGHTNESSDOWN (224) pressed
event0 KEYBOARD_KEY +6.43s KEY_BRIGHTNESSDOWN (224) released
-event5 KEYBOARD_KEY +7.11s KEY_BRIGHTNESSDOWN (224) pressed
event5 KEYBOARD_KEY +7.11s KEY_BRIGHTNESSDOWN (224) released
-event0 KEYBOARD_KEY +7.11s KEY_BRIGHTNESSDOWN (224) pressed
event0 KEYBOARD_KEY +7.11s KEY_BRIGHTNESSDOWN (224) released
event0 KEYBOARD_KEY +8.38s KEY_BRIGHTNESSUP (225) pressed
event0 KEYBOARD_KEY +8.38s KEY_BRIGHTNESSUP (225) released
-event5 KEYBOARD_KEY +8.38s KEY_BRIGHTNESSUP (225) pressed
event5 KEYBOARD_KEY +8.38s KEY_BRIGHTNESSUP (225) released
-event0 KEYBOARD_KEY +9.01s KEY_BRIGHTNESSUP (225) pressed
event0 KEYBOARD_KEY +9.01s KEY_BRIGHTNESSUP (225) released
-event5 KEYBOARD_KEY +9.01s KEY_BRIGHTNESSUP (225) pressed
event5 KEYBOARD_KEY +9.01s KEY_BRIGHTNESSUP (225) released
-event0 KEYBOARD_KEY +9.61s KEY_BRIGHTNESSUP (225) pressed
event0 KEYBOARD_KEY +9.61s KEY_BRIGHTNESSUP (225) released
-event5 KEYBOARD_KEY +9.61s KEY_BRIGHTNESSUP (225) pressed
event5 KEYBOARD_KEY +9.61s KEY_BRIGHTNESSUP (225) released
The following hwdb entry tells libinput to ignore events from the unwanted
device:
libinput:name:Video Bus:dmi:*svnDellInc.:pnVostro1520:*
LIBINPUT_IGNORE_DEVICE=1
According to evtest, this device is capable of generating some other events:
# evtest /dev/input/event5
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x6 version 0x0
Input device name: "Video Bus"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 224 (KEY_BRIGHTNESSDOWN)
Event code 225 (KEY_BRIGHTNESSUP)
Event code 227 (KEY_SWITCHVIDEOMODE)
Event code 241 (KEY_VIDEO_NEXT)
Event code 242 (KEY_VIDEO_PREV)
Event code 243 (KEY_BRIGHTNESS_CYCLE)
Event code 244 (KEY_BRIGHTNESS_ZERO)
Event code 245 (KEY_DISPLAY_OFF)
Fn+F8 generates KEY_SWITCHVIDEOMODE on the normal keyboard device, so this too
is redundant. The other events do not correspond to any key combination that I
know of, so it's probably safe to ignore this device entirely.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>