最近买了新的笔记本,安装了arch,但是有时候触摸板会失效,大概3次开机会失效两次,不知道是硬件问题还是驱动问题
下面是xinput list-props对能用触摸板时候的输出:
1 Device 'MSFT0004:00 06CB:CD98 Touchpad':
2 Device Enabled (147): 1
3 Coordinate Transformation Matrix (149): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
4 libinput Tapping Enabled (300): 0
5 libinput Tapping Enabled Default (301): 0
6 libinput Tapping Drag Enabled (302): 1
7 libinput Tapping Drag Enabled Default (303): 1
8 libinput Tapping Drag Lock Enabled (304): 0
9 libinput Tapping Drag Lock Enabled Default (305): 0
10 libinput Tapping Button Mapping Enabled (306): 1, 0
11 libinput Tapping Button Mapping Default (307): 1, 0
12 libinput Natural Scrolling Enabled (282): 0
13 libinput Natural Scrolling Enabled Default (283): 0
14 libinput Disable While Typing Enabled (308): 1
15 libinput Disable While Typing Enabled Default (309): 1
16 libinput Scroll Methods Available (284): 1, 1, 0
17 libinput Scroll Method Enabled (285): 1, 0, 0
18 libinput Scroll Method Enabled Default (286): 1, 0, 0
19 libinput Click Methods Available (310): 1, 1
20 libinput Click Method Enabled (311): 1, 0
21 libinput Click Method Enabled Default (312): 1, 0
22 libinput Middle Emulation Enabled (313): 0
23 libinput Middle Emulation Enabled Default (314): 0
24 libinput Accel Speed (291): 0.000000
25 libinput Accel Speed Default (292): 0.000000
26 libinput Left Handed Enabled (296): 0
27 libinput Left Handed Enabled Default (297): 0
28 libinput Send Events Modes Available (267): 1, 1
29 libinput Send Events Mode Enabled (268): 0, 0
30 libinput Send Events Mode Enabled Default (269): 0, 0
31 Device Node (270): "/dev/input/event6"
32 Device Product ID (271): 1739, 52632
33 libinput Drag Lock Buttons (298):
34 libinput Horizontal Scroll Enabled (299): 1
不能用的时候是这样:
1 Device 'MSFT0004:00 06CB:CD98 Touchpad':
2 Device Enabled (147): 1
3 Coordinate Transformation Matrix (149): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
4 libinput Tapping Enabled (300): 0
5 libinput Tapping Enabled Default (301): 0
6 libinput Tapping Drag Enabled (302): 1
7 libinput Tapping Drag Enabled Default (303): 1
8 libinput Tapping Drag Lock Enabled (304): 0
9 libinput Tapping Drag Lock Enabled Default (305): 0
10 libinput Tapping Button Mapping Enabled (306): 1, 0
11 libinput Tapping Button Mapping Default (307): 1, 0
12 libinput Natural Scrolling Enabled (282): 0
13 libinput Natural Scrolling Enabled Default (283): 0
14 libinput Disable While Typing Enabled (308): 1
15 libinput Disable While Typing Enabled Default (309): 1
16 libinput Scroll Methods Available (284): 1, 1, 0
17 libinput Scroll Method Enabled (285): 1, 0, 0
18 libinput Scroll Method Enabled Default (286): 1, 0, 0
19 libinput Click Methods Available (310): 1, 1
20 libinput Click Method Enabled (311): 1, 0
21 libinput Click Method Enabled Default (312): 1, 0
22 libinput Middle Emulation Enabled (313): 0
23 libinput Middle Emulation Enabled Default (314): 0
24 libinput Accel Speed (291): 0.000000
25 libinput Accel Speed Default (292): 0.000000
26 libinput Left Handed Enabled (296): 0
27 libinput Left Handed Enabled Default (297): 0
28 libinput Send Events Modes Available (267): 1, 1
29 libinput Send Events Mode Enabled (268): 0, 0
30 libinput Send Events Mode Enabled Default (269): 0, 0
31 Device Node (270): "/dev/input/event12"
32 Device Product ID (271): 1739, 52632
33 libinput Drag Lock Buttons (298):
34 libinput Horizontal Scroll Enabled (299): 1
我也用evtest测试过,能用触摸板的时候动触摸板有大量输出,不能用的时候只有初始的一点输出
而且有时候不能用触摸板的时候xinput连触摸板都找不到:
1 ⎡ Virtual core pointer id=2 [master pointer (3)]
2 ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
3 ⎣ Virtual core keyboard id=3 [master keyboard (2)]
4 ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
5 ↳ Video Bus id=6 [slave keyboard (3)]
6 ↳ Power Button id=7 [slave keyboard (3)]
7 ↳ Integrated Camera: Integrated C id=8 [slave keyboard (3)]
8 ↳ Ideapad extra buttons id=9 [slave keyboard (3)]
9 ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
请问这是硬件问题还是libinput的问题,还是我的配置有问题?