systemd/hwdb.d
uerdogan d8100dd17e
Update 60-evdev.hwdb (#25704)
This solves Debian Bug report 1008760:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008760.

Solution was inspired by this kernel bug report message:
https://bugzilla.kernel.org/show_bug.cgi?id=204967#c15.

My measured pad dimensions with a ruler were 85x44mm.
But I decided to take the 2x size reported by the current kernel
when invoking the touchpad-edge-detector command from the
libdev-tools package. Because this comment claims that the old
vs new kernel reportings differ by factor 2:
https://bugzilla.kernel.org/show_bug.cgi?id=204967#c3 .

Therefore I have used this command to get the new entry to 60-evdev.hwdb:

"root@pb:~# touchpad-edge-detector 80x34 /dev/input/event2
Touchpad ETPS/2 Elantech Touchpad on /dev/input/event2

Move one finger around the touchpad to detect the actual edges
Kernel says:	x [0..1254], y [0..528]
Touchpad sends:	x [0..2472], y [-524..528] -^C

Touchpad size as listed by the kernel: 40x17mm
User-specified touchpad size: 80x34mm
Calculated ranges: 2472/1052

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnPackardBell:bvrV1.21:bd08/09/2012:br21.240:svnPackardBell:pnEasyNoteTS11HR:pvrV1.21:rvnPackardBell:rnSJV50_HR:rvrBaseBoardVersion:cvnPackardBell:ct10:cvrV1.21:*
 EVDEV_ABS_00=0:2472:31
 EVDEV_ABS_01=-524:528:31
 EVDEV_ABS_35=0:2472:31
 EVDEV_ABS_36=-524:528:31
"
2022-12-12 20:46:50 +00:00
..
.gitattributes Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
.gitignore Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-acpi-vendor.hwdb Update hwdb 2022-10-24 20:25:58 +01:00
20-acpi-vendor.hwdb.patch Update hwdb 2022-10-31 12:15:16 +00:00
20-bluetooth-vendor-product.hwdb hwdb: Update database of Bluetooth company identifiers 2020-04-05 10:01:14 +02:00
20-dmi-id.hwdb udev/rules,hwdb: filter out mostly meaningless default strings 2022-09-06 03:38:09 +09:00
20-net-ifname.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-OUI.hwdb Update hwdb 2022-10-31 12:15:16 +00:00
20-pci-classes.hwdb hwdb: update for v251 2022-03-29 18:15:06 +02:00
20-pci-vendor-model.hwdb Update hwdb 2022-10-31 12:15:16 +00:00
20-sdio-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-sdio-vendor-model.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-vendor-model.hwdb hwdb: update via ninja -C build update-hwdb 2022-05-21 12:44:36 +01:00
20-vmbus-class.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
60-autosuspend-fingerprint-reader.hwdb Update autosuspend hwdb 2022-10-24 20:26:22 +01:00
60-autosuspend.hwdb tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
60-evdev.hwdb Update 60-evdev.hwdb (#25704) 2022-12-12 20:46:50 +00:00
60-input-id.hwdb hwdb: drop boilerplate about match patterns being unstable 2022-04-06 23:16:39 +09:00
60-keyboard.hwdb hwdb: add Positivo-vaio Pro PW key toggle touchpad (#25669) 2022-12-09 04:51:09 +09:00
60-seat.hwdb login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag 2021-07-05 11:56:10 +02:00
60-sensor.hwdb Add mount matrix for VisionBook 12Wr Tab 2022-12-12 13:24:00 +09:00
70-analyzers.hwdb hwdb: Add Greaseweazle "drives" to the list of analyzers 2022-08-09 18:12:19 +02:00
70-av-production.hwdb hwdb: Add support for Elgato Stream Pedal (#25550) 2022-11-29 05:15:25 +09:00
70-cameras.hwdb hwdb: Tag IR cameras as such 2021-10-27 00:14:41 +02:00
70-joystick.hwdb Partially revert "hwdb: reindent commments and say that "*" should always be trailing" 2020-11-03 15:02:52 +01:00
70-mouse.hwdb hwdb: drop boilerplate about match patterns being unstable 2022-04-06 23:16:39 +09:00
70-pda.hwdb hwdb: add HP calculators 2022-02-04 11:01:20 +09:00
70-pointingstick.hwdb hwdb: drop boilerplate about match patterns being unstable 2022-04-06 23:16:39 +09:00
70-touchpad.hwdb Partially revert "hwdb: reindent commments and say that "*" should always be trailing" 2020-11-03 15:02:52 +01:00
80-ieee1394-unit-function.hwdb hwdb: ieee1394-unit-function: add comment about legacy AV/C devices 2022-10-31 12:48:31 +09:00
acpi-update.py licensing: add two missing spdx headers 2021-10-18 09:04:45 +02:00
acpi_id_registry.html Update hwdb 2022-10-24 20:25:58 +01:00
ids_parser.py hwdb: make sure "ninja update-hwdb" works on f35 2022-04-28 17:42:25 +02:00
ma-large.txt Update hwdb 2022-10-31 12:15:16 +00:00
ma-medium.txt Update hwdb 2022-10-31 12:15:16 +00:00
ma-small.txt Update hwdb 2022-10-31 12:15:16 +00:00
meson.build meson: Use meson test suite feature 2022-05-04 16:11:34 +02:00
parse_hwdb.py parse_hwdb: allow negative value for EVDEV_ABS_ properties 2022-11-01 13:10:20 +09:00
pci.ids Update hwdb 2022-10-31 12:15:16 +00:00
pnp_id_registry.html Update hwdb 2022-10-24 20:25:58 +01:00
README Add READMEs in all .d directories 2021-03-26 09:35:07 +01:00
sdio.ids Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
usb.ids hwdb: update via ninja -C build update-hwdb 2022-05-21 12:44:36 +01:00

Files in this directory specify a description of hardware devices, in the form
of mappings from modalias-like keys (which identify specific hardware devices)
to udev properties.

Files in this directory are not read by udev directly. Instead,
man:systemd-hwdb(8) compiles them into a binary database.

See man:hwdb(7) for an overview of the configuration file format, and
man:systemd-udevd.service(8) for a description of the udev daemon.

Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.