mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
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 "
This commit is contained in:
parent
f8717d2a72
commit
d8100dd17e
@ -711,6 +711,17 @@ evdev:input:b0003v6161p4D15*
|
||||
EVDEV_ABS_00=::152
|
||||
EVDEV_ABS_01=::244
|
||||
|
||||
#########################################
|
||||
# Packard Bell
|
||||
#########################################
|
||||
|
||||
# EASYNOTE_TS11HR-200GE
|
||||
evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnPackardBell:bvr*:br*:svnPackardBell:pnEasyNoteTS11HR:*
|
||||
EVDEV_ABS_00=0:2472:31
|
||||
EVDEV_ABS_01=-524:528:31
|
||||
EVDEV_ABS_35=0:2472:31
|
||||
EVDEV_ABS_36=-524:528:31
|
||||
|
||||
###########################################################
|
||||
# Pine64
|
||||
###########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user