<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - IBM x41 tablet must not disable the keyboard in tablet mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106799#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - IBM x41 tablet must not disable the keyboard in tablet mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106799">bug 106799</a>
              from <span class="vcard"><a class="email" href="mailto:dya.eshshmai@gmail.com" title="Sergey Koziakov <dya.eshshmai@gmail.com>"> <span class="fn">Sergey Koziakov</span></a>
</span></b>
        <pre>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.</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>