
저는 Thinkpad를 사용하고 있으며 트랙포인트가 있는 외부 키보드를 사용하는 습관을 들이려고 노력하고 있습니다.
내부 키보드를 사용하면 마우스 가운데 버튼을 사용하여 클릭할 수 있지만(예: 붙여넣기 또는 새 탭에서 링크 열기) 가운데 버튼을 누른 채 트랙포잉을 움직이면 스크롤됩니다.
외부 키보드의 경우 스크롤이 작동하는 것을 관찰했지만 (항상 그런 것은 아님) 클릭 이벤트가 발생하고 갑자기 편집기에 붙여넣은 내용이 가득 찼습니다.
속성 xinput
이 동일하게 설정된 것 같습니다.
내부:
~ $ xinput list-props 16
Device 'TPPS/2 Elan TrackPoint':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Scroll Methods Available (327): 0, 0, 1
libinput Scroll Method Enabled (328): 0, 0, 1
libinput Scroll Method Enabled Default (329): 0, 0, 1
libinput Button Scrolling Button (330): 2
libinput Button Scrolling Button Default (331): 2
libinput Button Scrolling Button Lock Enabled (332): 0
libinput Button Scrolling Button Lock Enabled Default (333): 0
libinput Middle Emulation Enabled (358): 1
libinput Middle Emulation Enabled Default (359): 0
libinput Accel Speed (334): -0.500000
libinput Accel Speed Default (335): 0.000000
libinput Accel Profiles Available (336): 1, 1
libinput Accel Profile Enabled (337): 1, 0
libinput Accel Profile Enabled Default (338): 1, 0
libinput Left Handed Enabled (339): 0
libinput Left Handed Enabled Default (340): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event9"
Device Product ID (314): 2, 10
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
libinput Scrolling Pixel Distance (343): 15
libinput Scrolling Pixel Distance Default (344): 15
외부
~ $ xinput list-props 18
Device 'Lenovo TrackPoint Keyboard II Mouse':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Scroll Methods Available (327): 0, 0, 1
libinput Scroll Method Enabled (328): 0, 0, 1
libinput Scroll Method Enabled Default (329): 0, 0, 0
libinput Button Scrolling Button (330): 2
libinput Button Scrolling Button Default (331): 2
libinput Button Scrolling Button Lock Enabled (332): 0
libinput Button Scrolling Button Lock Enabled Default (333): 0
libinput Middle Emulation Enabled (358): 1
libinput Middle Emulation Enabled Default (359): 0
libinput Accel Speed (334): -0.500000
libinput Accel Speed Default (335): 0.000000
libinput Accel Profiles Available (336): 1, 1
libinput Accel Profile Enabled (337): 1, 0
libinput Accel Profile Enabled Default (338): 1, 0
libinput Left Handed Enabled (339): 0
libinput Left Handed Enabled Default (340): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event19"
Device Product ID (314): 6127, 24814
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
libinput Scrolling Pixel Distance (343): 15
libinput Scrolling Pixel Distance Default (344): 15
또 어디를 봐야 합니까? 이 "고객 제어" 장치가 관련이 있습니까?
~ $ xinput list-props 20
Device 'Lenovo TrackPoint Keyboard II Consumer Control':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event21"
Device Product ID (314): 6127, 24814
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
답변1
이것은 Linux 커널의 버그로 밝혀졌습니다.José Expósito의 패치입니다.이는 Linux 5.19 릴리스의 일부입니다.