Calculate Forum

Touchpad elatech

MATE.
Проблема с размером зоны курсора и зоны прокрутки. Слишком мала первая и больше половины физического размера вторая.

# xinput 
⎡ Virtual core pointer                      	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                	id=13	[slave  pointer  (2)]
⎜   ↳  USB OPTICAL MOUSE                      	id=14	[slave  pointer  (2)]
⎣ Virtual core keyboard                     	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ ASUS USB2.0 WebCam: ASUS USB2.0         	id=10	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]

# xinput list --long 13
ETPS/2 Elantech Touchpad                	id=13	[slave  pointer  (2)]
	Reporting 7 classes:
		Class originated from: 13. Type: XIButtonClass
		Buttons supported: 12
		Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" None None None None None
		Button state:
		Class originated from: 13. Type: XIValuatorClass
		Detail for Valuator 0:
		  Label: Rel X
		  Range: 0.000000 - 1254.000000
		  Resolution: 31000 units/m
		  Mode: relative
		Class originated from: 13. Type: XIValuatorClass
		Detail for Valuator 1:
		  Label: Rel Y
		  Range: 0.000000 - 660.000000
		  Resolution: 31000 units/m
		  Mode: relative
		Class originated from: 13. Type: XIValuatorClass
		Detail for Valuator 2:
		  Label: Rel Horiz Scroll
		  Range: 0.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 13. Type: XIValuatorClass
		Detail for Valuator 3:
		  Label: Rel Vert Scroll
		  Range: 0.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 13. Type: XIScrollClass
		Scroll info for Valuator 2
		  type: 2 (horizontal)
		  increment: 28.000000
		  flags: 0x0
		Class originated from: 13. Type: XIScrollClass
		Scroll info for Valuator 3
		  type: 1 (vertical)
		  increment: 28.000000
		  flags: 0x0

# libinput list-devices
....

....


Device:           ETPS/2 Elantech Touchpad
Kernel:           /dev/input/event1
Group:            8
Seat:             seat0, default
    Size:             40x21mm
    Capabilities:     pointer 
    Tap-to-click:     disabled
    Tap-and-drag:     enabled
    Tap drag lock:    disabled
    Left-handed:      disabled
    Nat.scrolling:    disabled
    Middle emulation: n/a
    Calibration:      n/a
    Scroll methods:   *two-finger edge 
    Click methods:    none
    Disable-w-typing: enabled
    Accel profiles:   flat *adaptive
    Rotation:         n/a

# touchpad-edge-detector 90x50 /dev/input/event1
Touchpad ETPS/2 Elantech Touchpad on /dev/input/event1
Move one finger around the touchpad to detect the actual edges
Kernel says:	x [0..1254], y [0..660]
Touchpad sends:	x [0..2477], y [-652..660] \|/\
^C

Touchpad size as listed by the kernel: 40x21mm
User-specified touchpad size: 90x50mm
Calculated ranges: 2477/1312

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnAmericanMegatrendsInc.:bvrK53SD.202:bd11/02/2011:svnASUSTeKComputerInc.:pnK53SD:pvr1.0:rvnASUSTeKComputerInc.:rnK53SD:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:*
 EVDEV_ABS_00=0:2477:28
 EVDEV_ABS_01=-652:660:26
 EVDEV_ABS_35=0:2477:28
 EVDEV_ABS_36=-652:660:26

Как исправить пока не разобрался.

© 2007-2020 Calculate Ltd.
Mastodon Mastodon