https://bugs.freedesktop.org/show_bug.cgi?id=106799

--- Comment #1 from Sergey Koziakov <dya.eshsh...@gmail.com> ---
Hello! Thank you very much. I am not sure if I'm doing everything correctly, so
here is what I am doing:

1. I have applied patch (with 'patch < patchname.patch`) to the source code
(patch was in  repository root, but said it can't find a file, so I provided it
a path to the file) and built and installed libinput according to official
build instructions. I realize now that it's silly, but at first I couldn't
found libinput's hwdb file.

2. I updated hwdb file on-disk and ran 'udevadm trigger' for event devices 4
and 5 (keyboard and additional buttons which include tablet switch event).

3. I then ran 'udevadm test' for those devices. There are few lines that
bothered me in the output, here are they:


PROGRAM 'libinput-device-group
/sys/devices/platform/i8042/serio0/input/input10/event4'
/usr/lib/udev/rules.d/80-libinput-device-groups.rules:7
starting 'libinput-device-group
/sys/devices/platform/i8042/serio0/input/input10/event4'
'libinput-device-group
/sys/devices/platform/i8042/serio0/input/input10/event4'(out)
'11/1/1:isa0060/serio0'
Process 'libinput-device-group
/sys/devices/platform/i8042/serio0/input/input10/event4' succeeded.
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:32
2 character(s) replaced
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:36
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:40
IMPORT builtin 'hwdb' returned non-zero

and 


PROGRAM 'libinput-device-group
/sys/devices/platform/thinkpad_acpi/input/input6/event5'
/usr/lib/udev/rules.d/80-libinput-device-groups.rules:7
starting 'libinput-device-group
/sys/devices/platform/thinkpad_acpi/input/input6/event5'
'libinput-device-group
/sys/devices/platform/thinkpad_acpi/input/input6/event5'(out)
'19/1014/5054:thinkpad_acpi'
Process 'libinput-device-group
/sys/devices/platform/thinkpad_acpi/input/input6/event5' succeeded.
2 character(s) replaced
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:36
IMPORT builtin 'hwdb' returned non-zero
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:40
IMPORT builtin 'hwdb' returned non-zero

I'm not sure if it is ok, so I decided I should attach this.

4. Those lid buttons don't have keycodes at first, so I used 'setkeycodes' to
give them keycodes. I tried using udev/hwdb rule in past, but it didn't work at
all.


Am I doing something wrong? Did I forgot some step or something? Thanks again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to