我正在尝试在新安装的发行版上使用外部 Microsoft 一体式键盘。键盘本身开箱即用,甚至键盘快捷键也是如此。不幸的是,集成触摸板似乎被检测到,但根本无法使用。
一般信息:
OS: Kubuntu 20.10 x86_64
Kernel: 5.8.0-50-generic
我已经安装了所有必要的软件包,例如xserver-xorg-input-synaptics
输入:
xinput --list
> ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜
>↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜
>↳ MSI MSI Clutch GM40 GAMING Mouse id=21 [slave pointer (2)] ⎜
>↳ MSI MSI Clutch GM40 GAMING Mouse Consumer Control id=23 [slave pointer (2)] ⎜
>↳ Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control id=13 [slave pointer (2)]
>↳ Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control id=15 [slave pointer (2)]
>↳ Microsoft Microsoft® Nano Transceiver v2.0 Mouse id=20 [slave pointer (2)]
>↳ SynPS/2 Synaptics TouchPad id=17 [slave pointer (2)]
我想我感兴趣的是id = 20
xinput list-props 20
Device 'Microsoft Microsoft® Nano Transceiver v2.0 Mouse':
Device Enabled (174): 1
Coordinate Transformation Matrix (176): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (312): 0
libinput Natural Scrolling Enabled Default (313): 0
libinput Scroll Methods Available (314): 0, 0, 1
libinput Scroll Method Enabled (315): 0, 0, 0
libinput Scroll Method Enabled Default (316): 0, 0, 0
libinput Button Scrolling Button (317): 2
libinput Button Scrolling Button Default (318): 2
libinput Button Scrolling Button Lock Enabled (319): 0
libinput Button Scrolling Button Lock Enabled Default (320): 0
libinput Middle Emulation Enabled (321): 0
libinput Middle Emulation Enabled Default (322): 0
libinput Accel Speed (323): 0.000000
libinput Accel Speed Default (324): 0.000000
libinput Accel Profiles Available (325): 1, 1
libinput Accel Profile Enabled (326): 1, 0
libinput Accel Profile Enabled Default (327): 1, 0
libinput Left Handed Enabled (328): 0
libinput Left Handed Enabled Default (329): 0
libinput Send Events Modes Available (297): 1, 0
libinput Send Events Mode Enabled (298): 0, 0
libinput Send Events Mode Enabled Default (299): 0, 0
Device Node (300): "/dev/input/event9"
Device Product ID (301): 1118, 2048
libinput Drag Lock Buttons (330): <no items>
libinput Horizontal Scroll Enabled (331): 1
该设备似乎已启用。我尝试禁用并重新启用它,但没有变化。
消息:
插入和拔出时 dmesg 的有趣部分
[ 1252.043755] usb 1-4: USB disconnect, device number 8
[ 1261.085542] usb 1-4: new full-speed USB device number 9 using xhci_hcd
[ 1261.239498] usb 1-4: New USB device found, idVendor=045e, idProduct=0800, bcdDevice= 9.34
[ 1261.239503] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1261.239506] usb 1-4: Product: Microsoft® Nano Transceiver v2.0
[ 1261.239509] usb 1-4: Manufacturer: Microsoft
[ 1261.243434] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:045E:0800.000A/input/input33
[ 1261.301883] hid-generic 0003:045E:0800.000A: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:14.0-4/input0
[ 1261.308273] input: Microsoft Microsoft® Nano Transceiver v2.0 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:045E:0800.000B/input/input34
[ 1261.308518] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:045E:0800.000B/input/input35
[ 1261.308631] hid-generic 0003:045E:0800.000B: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:14.0-4/input1
[ 1261.315364] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:045E:0800.000C/input/input36
[ 1261.373750] input: Microsoft Microsoft® Nano Transceiver v2.0 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:045E:0800.000C/input/input38
[ 1261.373925] hid-generic 0003:045E:0800.000C: input,hiddev0,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:14.0-4/input2
设备:
cat /proc/bus/input/devices
I: Bus=0003 Vendor=045e Product=0800 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0"
P: Phys=usb-0000:00:14.0-4/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:045E:0800.000A/input/input33
U: Uniq=
H: Handlers=sysrq kbd event8 leds
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=045e Product=0800 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0 Mouse"
P: Phys=usb-0000:00:14.0-4/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:045E:0800.000B/input/input34
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0
B: REL=1943
B: MSC=10
I: Bus=0003 Vendor=045e Product=0800 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control"
P: Phys=usb-0000:00:14.0-4/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:045E:0800.000B/input/input35
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=5
B: REL=1040
I: Bus=0003 Vendor=045e Product=0800 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control"
P: Phys=usb-0000:00:14.0-4/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:045E:0800.000C/input/input36
U: Uniq=
H: Handlers=sysrq kbd event11
B: PROP=0
B: EV=10001f
B: KEY=3f000301ff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17c007 ffff7bfad9415fff ffbeffdfffefffff fffffffffffffffe
B: REL=1040
B: ABS=100000000
B: MSC=10
I: Bus=0003 Vendor=045e Product=0800 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0 System Control"
P: Phys=usb-0000:00:14.0-4/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:045E:0800.000C/input/input38
U: Uniq=
H: Handlers=kbd event12
B: PROP=0
B: EV=1b
B: KEY=40000001000000 1200000000 0 800000000 40000010cc00 10168000000000 0
B: ABS=10000000000
B: MSC=10
Xorg:
最后,Xorg.log 可在以下位置获得:https://pastebin.com/9mDxN0cn(我认为最后的部分很有趣)
2573.773] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 2574.144] (II) libinput: Microsoft Microsoft® Nano Transceiver v2.0 Mouse: SetProperty on 328 called but device is disabled.
This driver cannot change properties on a disabled device
我也尝试运行 evtest,但日志文件中没有写入任何内容。
我在 launchpad 上看到过一些关于此问题(或类似问题)的帖子和错误报告,但给出的解决方案对我都不起作用。触摸板甚至出现在触摸板设置的 Kubuntu GUI 中(作为 Microsoft Microsoft® Nano Transceiver v2.0 Mouse)。外接鼠标和集成笔记本电脑的触摸板工作正常。
我找不到键盘的确切型号,但它看起来像是N9Z-00001键盘。
那么为什么外置触摸板(鼠标)似乎被检测到但却不起作用?如果需要,我将提供更多信息,谢谢!
答案1
我有同样的设备,当我安装 Kubuntu 20.04(内核 5.1.1.0-27 通用)时,触摸板立即开始工作。