Reading through some documentation I've composed the following rules:
```
evdev:input:b0001v0001p0001eab83-customkeyboardnobrand
KEYBOARD_KEY_f5=f21
```

This is based on the following information:
```
ls -la /dev/input/by-path 
total 0
drwxr-xr-x 2 root root 120 mrt  7 10:10 .
drwxr-xr-x 4 root root 440 mrt  7 10:10 ..
lrwxrwxrwx 1 root root   9 mrt  7 10:10 
pci-0000:00:14.0-usb-0:12:1.0-event-mouse -> ../event7
lrwxrwxrwx 1 root root   9 mrt  7 10:10 pci-0000:00:14.0-usb-0:12:1.0-mouse -> 
../mouse0
lrwxrwxrwx 1 root root  10 mrt  7 10:10 pci-0000:00:14.0-usb-0:13:1.0-event -> 
../event15
lrwxrwxrwx 1 root root   9 mrt  7 10:10 platform-i8042-serio-0-event-kbd -> 
../event4
```

```
sudo udevadm info /dev/input/event4                                 
P: /devices/platform/i8042/serio0/input/input4/event4
N: input/event4
S: input/by-path/platform-i8042-serio-0-event-kbd
E: BACKSPACE=guess
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-0-event-kbd
E: DEVNAME=/dev/input/event4
E: DEVPATH=/devices/platform/i8042/serio0/input/input4/event4
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_PATH=platform-i8042-serio-0
E: ID_PATH_TAG=platform-i8042-serio-0
E: ID_SERIAL=noserial
E: LIBINPUT_ATTR_KEYBOARD_INTEGRATION=internal
E: LIBINPUT_DEVICE_GROUP=11/1/1:isa0060/serio0
E: MAJOR=13
E: MINOR=68
E: SUBSYSTEM=input
E: TAGS=:power-switch:
E: USEC_INITIALIZED=7237825
E: XKBLAYOUT=us
E: XKBMODEL=pc105
```

```
cat /sys/class/input/event4/device/id/bustype 
/sys/class/input/event4/device/id/product 
/sys/class/input/event4/device/id/vendor 
/sys/class/input/event4/device/id/version
0011
0001
0001
ab83
```

I don't know if this is correct, but we will see soon enough. 
Please correct me if my approach is wrong.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1813783

Title:
  Unable to toggle Touchpad by keyboard shortcut

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813783/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to