我有一台支持 Wacom 的平板电脑(Yoga Book C930),几个月来一直运行良好。几周前,它变得异常缓慢,并且窗口管理器经常重新启动或桌面管理器完全重新启动。(Windows 也已安装,没有问题。)
似乎dmesg
USB HID 设备不断被注销和重新注册。问题是没有原因取消注册后,这种情况不会按可预测的时间间隔发生。偶尔一分钟内没问题,但之后每隔几秒钟就会发生这种情况。
不幸的是,我不确定更新后它是否坏了。但是我确信过去当我使用内核 4.15.0-51 和几个较新的版本时,一切都正常。现在我回去尝试了那个内核(4.15.0-51)和几个较新的内核,直到 4.15.0-70,但都没有成功。
我也刚刚从 18.04 升级到 20.04(内核 5.3.0),但仍然没有任何反应。
我在 dmesg 中遇到这种循环:
[ 173.554396] usbcore: deregistering interface driver usbhid
[ 173.917015] hid-generic 0003:048D:8951.008D: hiddev0,hidraw0: USB HID v1.11 Device [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input1
[ 173.929225] input: ITE Tech. Inc. ITE T-CON Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.008E/input/input795
[ 173.991177] input: ITE Tech. Inc. ITE T-CON Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.008E/input/input796
[ 173.991259] input: ITE Tech. Inc. ITE T-CON Wireless Radio Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.008E/input/input797
[ 173.991372] input: ITE Tech. Inc. ITE T-CON Touchpad as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.008E/input/input799
[ 173.991503] hid-multitouch 0003:048D:8951.008E: input,hiddev1,hidraw1: USB HID v1.11 Keyboard [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input2
[ 174.019922] input: ITE Tech. Inc. ITE T-CON as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.008F/input/input800
[ 174.020151] input: ITE Tech. Inc. ITE T-CON Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.008F/input/input803
[ 174.021248] hid-multitouch 0003:048D:8951.008F: input,hiddev2,hidraw2: USB HID v1.11 Mouse [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input3
[ 174.022442] usbcore: registered new interface driver usbhid
[ 174.022443] usbhid: USB HID core driver
[ 174.044101] input: Wacom HID 5182 Pen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input809
[ 174.044977] input: Wacom HID 5182 Finger as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input810
[ 174.045326] wacom 0018:056A:5182.0002: hidraw3: I2C HID v1.00 Mouse [WCOM5182:00 056A:5182] on i2c-WCOM5182:00
[ 174.900663] usbcore: deregistering interface driver usbhid
[ 175.315543] hid-generic 0003:048D:8951.0090: hiddev0,hidraw0: USB HID v1.11 Device [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input1
[ 175.330506] input: ITE Tech. Inc. ITE T-CON Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0091/input/input812
[ 175.391153] input: ITE Tech. Inc. ITE T-CON Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0091/input/input813
[ 175.391338] input: ITE Tech. Inc. ITE T-CON Wireless Radio Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0091/input/input814
[ 175.391482] input: ITE Tech. Inc. ITE T-CON Touchpad as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0091/input/input816
[ 175.391604] hid-multitouch 0003:048D:8951.0091: input,hiddev1,hidraw1: USB HID v1.11 Keyboard [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input2
[ 175.421713] input: ITE Tech. Inc. ITE T-CON as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.0092/input/input817
[ 175.421999] input: ITE Tech. Inc. ITE T-CON Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.0092/input/input820
[ 175.423156] hid-multitouch 0003:048D:8951.0092: input,hiddev2,hidraw2: USB HID v1.11 Mouse [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input3
[ 175.423290] usbcore: registered new interface driver usbhid
[ 175.423291] usbhid: USB HID core driver
[ 175.451410] input: Wacom HID 5182 Pen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input826
[ 175.451770] input: Wacom HID 5182 Finger as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input827
[ 175.452257] wacom 0018:056A:5182.0002: hidraw3: I2C HID v1.00 Mouse [WCOM5182:00 056A:5182] on i2c-WCOM5182:00
[ 178.469147] usbcore: deregistering interface driver usbhid
[ 178.870459] hid-generic 0003:048D:8951.0093: hiddev0,hidraw0: USB HID v1.11 Device [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input1
[ 178.885441] input: ITE Tech. Inc. ITE T-CON Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0094/input/input829
[ 178.943631] input: ITE Tech. Inc. ITE T-CON Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0094/input/input830
[ 178.943746] input: ITE Tech. Inc. ITE T-CON Wireless Radio Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0094/input/input831
[ 178.943857] input: ITE Tech. Inc. ITE T-CON Touchpad as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:048D:8951.0094/input/input833
[ 178.944073] hid-multitouch 0003:048D:8951.0094: input,hiddev1,hidraw1: USB HID v1.11 Keyboard [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input2
[ 178.971708] input: ITE Tech. Inc. ITE T-CON as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.0095/input/input834
[ 178.971921] input: ITE Tech. Inc. ITE T-CON Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:048D:8951.0095/input/input837
[ 178.974611] hid-multitouch 0003:048D:8951.0095: input,hiddev2,hidraw2: USB HID v1.11 Mouse [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input3
[ 178.975352] usbcore: registered new interface driver usbhid
[ 178.975354] usbhid: USB HID core driver
[ 178.999887] input: Wacom HID 5182 Pen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input843
[ 179.000273] input: Wacom HID 5182 Finger as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-WCOM5182:00/0018:056A:5182.0002/input/input844
[ 179.000633] wacom 0018:056A:5182.0002: hidraw3: I2C HID v1.00 Mouse [WCOM5182:00 056A:5182] on i2c-WCOM5182:00
[ 184.761394] usbcore: deregistering interface driver usbhid
[ 185.165085] hid-generic 0003:048D:8951.0096: hiddev0,hidraw0: USB HID v1.11 Device [ITE Tech. Inc. ITE T-CON] on usb-0000:00:14.0-7/input1
ETC。
我想强调以下几行:
[ 173.554396] usbcore: deregistering interface driver usbhid
[ 174.022442] usbcore: registered new interface driver usbhid
[ 174.022443] usbhid: USB HID core driver
[ 174.900663] usbcore: deregistering interface driver usbhid
[ 175.423290] usbcore: registered new interface driver usbhid
[ 175.423291] usbhid: USB HID core driver
[ 178.469147] usbcore: deregistering interface driver usbhid
[ 178.975352] usbcore: registered new interface driver usbhid
[ 178.975354] usbhid: USB HID core driver
[ 184.761394] usbcore: deregistering interface driver usbhid
请注意,“取消注册”条目在上一个日志条目出现后几秒突然出现。没有任何错误或任何其他信息。
如果我将其列入黑名单usbhid
(系统运行时),问题就消失,而当我将其取消列入黑名单(系统运行时),问题又会出现。
还有其他事件日志或其他东西我可以检查吗?