我使用 Ubuntu 18.04 很长时间了,从来没有遇到过死机问题,直到上个月才遇到这个问题。但在指责 Ubuntu 之前,我想确定哪个才是真正的问题。
这些是我迄今为止尝试过的方法。1. 我在一篇文章中看到,鼠标和/或键盘冻结的原因可能是 USB 端口中有很多灰尘。所以我清理了 CPU 两次。第一次确实有灰尘颗粒,可能会形成厚厚的卷状物。第二次我使用真空吸尘器排气装置清除 SMPS 和处理器任何角落的所有灰尘颗粒。我还用高压空气清洁了 USB 端口。
- 我移除了鼠标和键盘并尝试重新连接,但仍然无法被检测到。
在观察过程中,我发现,当我点击 stack overflow 的一个链接时,我的鼠标和键盘都冻结了,但网站在大约 5 秒后仍能加载而不会冻结。因此,这可以得出结论,问题不在于整个操作系统,而在于 USB 设备。
我仍然认为这可能是 Ubuntu 的问题,因为鼠标和键盘不可能同时出现问题。在硬重置系统后,两者都可以正常工作一段时间。所以我查看了系统日志。以下是消息,我不明白出了什么问题。
Apr 5 21:48:46 padmahasa-desktop kernel: [42747.580618] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C05A.0009/input/input13
Apr 5 21:48:46 padmahasa-desktop kernel: [42747.580916] hid-generic 0003:046D:C05A.0009: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1a.0-1.4/input0
Apr 5 21:48:46 padmahasa-desktop mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
Apr 5 21:48:46 padmahasa-desktop mtp-probe: bus: 1, device: 10 was not an MTP device
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) No input driver specified, ignoring this device.
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) This device may have been added with another device file.
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event4)
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 69 paused 0
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Logitech USB Optical Mouse: always reports core events
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Option "Device" "/dev/input/event4"
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Option "_source" "server/udev"
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: is tagged by udev as: Mouse
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: device set to 1000 DPI
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: device is a pointer
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: device removed
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C05A.0009/input/input13/event4"
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 10)
Apr 5 21:48:46 padmahasa-desktop upowerd[1354]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C05A.0009
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Option "AccelerationScheme" "none"
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Logitech USB Optical Mouse: (accel) selected scheme none/0
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: is tagged by udev as: Mouse
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: device set to 1000 DPI
Apr 5 21:48:46 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[1809]: (II) event4 - Logitech USB Optical Mouse: device is a pointer
Apr 5 21:48:46 padmahasa-desktop upowerd[1354]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0
Apr 5 21:48:46 padmahasa-desktop upowerd[1354]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4
Apr 5 21:48:51 padmahasa-desktop colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Apr 5 21:49:20 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.21' (uid=1000 pid=1944 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 5 21:49:20 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Activating service name='org.gnome.Calendar' requested by ':1.21' (uid=1000 pid=1944 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 5 21:49:20 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Activating service name='org.gnome.seahorse.Application' requested by ':1.21' (uid=1000 pid=1944 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 5 21:49:20 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
Apr 5 21:49:20 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Successfully activated service 'org.gnome.Calendar'
Apr 5 21:49:21 padmahasa-desktop dbus-daemon[1817]: [session uid=1000 pid=1817] Successfully activated service 'org.gnome.seahorse.Application'
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: g_key_file_load_from_file: assertion 'file != NULL' failed
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: Could not establish a connection to Tracker: Failed to load SPARQL backend: Key file does not have group “DomainOntology”
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: g_queue_pop_head: assertion 'queue != NULL' failed
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: g_queue_foreach: assertion 'queue != NULL' failed
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: g_queue_free: assertion 'queue != NULL' failed
Apr 5 21:49:21 padmahasa-desktop nautilus[4828]: g_queue_pop_head: assertion 'queue != NULL' failed
Apr 5 21:49:23 padmahasa-desktop nautilus[4828]: g_queue_foreach: assertion 'queue != NULL' failed
Apr 5 21:49:23 padmahasa-desktop nautilus[4828]: g_queue_free: assertion 'queue != NULL' failed
如果您需要任何其他信息,请告诉我。
更新 1:
$ sudo lshw -C display
[sudo] password for padmahasa:
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:28 memory:fe000000-fe3fffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
2.第二条命令的输出:apt 策略 xserver-xorg-input-*
$
xserver-xorg-input-all:
Installed: 1:7.7+19ubuntu7.1
Candidate: 1:7.7+19ubuntu7.1
Version table:
*** 1:7.7+19ubuntu7.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:7.7+19ubuntu7 500
500 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
xserver-xorg-input-synaptics:
Installed: (none)
Candidate: 1.9.0-1ubuntu1
Version table:
1.9.0-1ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-libinput-hwe-18.04:
Installed: (none)
Candidate: 0.28.1-1~18.04.1
Version table:
0.28.1-1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
xserver-xorg-input-joystick-hwe-18.04:
Installed: (none)
Candidate: 1:1.6.3-1build1~18.04.1
Version table:
1:1.6.3-1build1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
xserver-xorg-input-libinput-dev-hwe-18.04:
Installed: (none)
Candidate: 0.28.1-1~18.04.1
Version table:
0.28.1-1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
xserver-xorg-input-joystick-dev-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-elographics:
Installed: (none)
Candidate: 1:1.4.1-1build6
Version table:
1:1.4.1-1build6 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-hwe-16.04-dbg:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-dev-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-aiptek:
Installed: (none)
Candidate: 1:1.4.1-2build1
Version table:
1:1.4.1-2build1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-wacom-hwe-18.04:
Installed: (none)
Candidate: 1:0.36.1-0ubuntu1~18.04.1
Version table:
1:0.36.1-0ubuntu1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
xserver-xorg-input-synaptics-dev-hwe-18.04:
Installed: (none)
Candidate: 1.9.1-1ubuntu1~18.04.1
Version table:
1.9.1-1ubuntu1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
xserver-xorg-input-multitouch:
Installed: (none)
Candidate: 1.0~rc3-1
Version table:
1.0~rc3-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-void:
Installed: (none)
Candidate: 1:1.4.1-1build3
Version table:
1:1.4.1-1build3 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-kbd:
Installed: (none)
Candidate: 1:1.9.0-1
Version table:
1:1.9.0-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-hwe-18.04:
Installed: (none)
Candidate: 1:2.10.6-1~18.04.1
Version table:
1:2.10.6-1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
xserver-xorg-input-evtouch:
Installed: (none)
Candidate: (none)
Version table:
xserver-xorg-input-all-hwe-18.04:
Installed: (none)
Candidate: 1:7.7+19ubuntu8~18.04.3
Version table:
1:7.7+19ubuntu8~18.04.3 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
xserver-xorg-input-libinput:
Installed: 0.27.1-1
Candidate: 0.27.1-1
Version table:
*** 0.27.1-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
xserver-xorg-input-synaptics-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-libinput-dev:
Installed: (none)
Candidate: 0.27.1-1
Version table:
0.27.1-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic/main i386 Packages
xserver-xorg-input-wacom:
Installed: 1:0.36.1-0ubuntu1
Candidate: 1:0.36.1-0ubuntu1
Version table:
*** 1:0.36.1-0ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
xserver-xorg-input-void-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-mtrack:
Installed: (none)
Candidate: 0.3.1-1build2
Version table:
0.3.1-1build2 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-vmmouse:
Installed: (none)
Candidate: (none)
Version table:
xserver-xorg-input-joystick:
Installed: (none)
Candidate: 1:1.6.3-1build1
Version table:
1:1.6.3-1build1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-joystick-dev-hwe-18.04:
Installed: (none)
Candidate: 1:1.6.3-1build1~18.04.1
Version table:
1:1.6.3-1build1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
xserver-xorg-input-xwiimote:
Installed: (none)
Candidate: 0.5-1build3
Version table:
0.5-1build3 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-dev-hwe-18.04:
Installed: (none)
Candidate: 1:2.10.6-1~18.04.1
Version table:
1:2.10.6-1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
xserver-xorg-input-evdev-dbg:
Installed: (none)
Candidate: 1:2.10.5-1ubuntu1
Version table:
1:2.10.5-1ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-dev:
Installed: (none)
Candidate: 1:2.10.5-1ubuntu1
Version table:
1:2.10.5-1ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
xserver-xorg-input-libinput-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-joystick-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-libinput-dev-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev:
Installed: (none)
Candidate: 1:2.10.5-1ubuntu1
Version table:
1:2.10.5-1ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-mtrack-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-synaptics-hwe-18.04:
Installed: (none)
Candidate: 1.9.1-1ubuntu1~18.04.1
Version table:
1.9.1-1ubuntu1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
xserver-xorg-input-wacom-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-synaptics-dev:
Installed: (none)
Candidate: 1.9.0-1ubuntu1
Version table:
1.9.0-1ubuntu1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
xserver-xorg-input-synaptics-dev-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-mutouch:
Installed: (none)
Candidate: 1:1.3.0-1build9
Version table:
1:1.3.0-1build9 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-all-hwe-16.04:
Installed: (none)
Candidate: 3:14.1
Version table:
3:14.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-evdev-hwe-18.04-dbg:
Installed: (none)
Candidate: 1:2.10.6-1~18.04.1
Version table:
1:2.10.6-1~18.04.1 500
500 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
xserver-xorg-input-mouse:
Installed: (none)
Candidate: 1:1.9.2-1
Version table:
1:1.9.2-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
xserver-xorg-input-joystick-dev:
Installed: (none)
Candidate: 1:1.6.3-1build1
Version table:
1:1.6.3-1build1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
3.第三条命令的输出:$ tail -n 999 /var/log/dpkg.log | grep “状态已安装”
2020-04-01 06:17:14 status installed bluez:amd64 5.48-0ubuntu3.4
2020-04-01 06:17:14 status installed systemd:amd64 237-3ubuntu10.39
2020-04-01 06:17:16 status installed man-db:amd64 2.8.3-2ubuntu0.1
2020-04-01 06:17:16 status installed dbus:amd64 1.12.2-1ubuntu1.1
2020-04-01 06:17:16 status installed ureadahead:amd64 0.100.0-21
2020-04-01 06:17:22 status installed bluez-cups:amd64 5.48-0ubuntu3.4
2020-04-01 06:17:27 status installed bluez-obexd:amd64 5.48-0ubuntu3.4
2020-04-01 06:17:32 status installed libbluetooth3:amd64 5.48-0ubuntu3.4
2020-04-01 06:17:33 status installed libc-bin:amd64 2.27-3ubuntu1
2020-04-01 06:17:41 status installed libjavascriptcoregtk-4.0-18:amd64 2.28.0-0ubuntu0.18.04.3
2020-04-01 06:17:41 status installed libwebkit2gtk-4.0-37:amd64 2.28.0-0ubuntu0.18.04.3
2020-04-01 06:17:41 status installed libc-bin:amd64 2.27-3ubuntu1
2020-04-01 06:17:54 status installed chromium-codecs-ffmpeg-extra:amd64 80.0.3987.149-0ubuntu0.18.04.1
2020-04-01 06:17:55 status installed chromium-browser:amd64 80.0.3987.149-0ubuntu0.18.04.1
2020-04-01 06:17:55 status installed chromium-browser-l10n:all 80.0.3987.149-0ubuntu0.18.04.1
2020-04-01 06:17:55 status installed gnome-menus:amd64 3.13.3-11ubuntu1.1
2020-04-01 06:17:55 status installed hicolor-icon-theme:all 0.17-2
2020-04-01 06:17:56 status installed mime-support:all 3.60ubuntu1
2020-04-01 06:17:56 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.2
2020-04-01 06:17:57 status installed man-db:amd64 2.8.3-2ubuntu0.1
2020-04-01 06:18:03 status installed gir1.2-javascriptcoregtk-4.0:amd64 2.28.0-0ubuntu0.18.04.3
2020-04-01 06:18:03 status installed gir1.2-webkit2-4.0:amd64 2.28.0-0ubuntu0.18.04.3
2020-04-01 06:18:13 status installed gcc-8-base:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:13 status installed gcc-8-base:i386 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:13 status installed libgcc1:amd64 1:8.4.0-1ubuntu1~18.04
2020-04-01 06:18:13 status installed libgcc1:i386 1:8.4.0-1ubuntu1~18.04
2020-04-01 06:18:21 status installed libquadmath0:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:21 status installed libgomp1:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:21 status installed libatomic1:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed libatomic1:i386 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed libtsan0:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed liblsan0:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed libmpx2:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed libstdc++6:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:22 status installed libstdc++6:i386 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:23 status installed libitm1:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:23 status installed libcc1-0:amd64 8.4.0-1ubuntu1~18.04
2020-04-01 06:18:23 status installed libc-bin:amd64 2.27-3ubuntu1
2020-04-01 08:28:56 status installed libuuid1:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:28:56 status installed libuuid1:i386 2.31.1-0.4ubuntu3.6
2020-04-01 08:28:58 status installed libblkid1:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:28:58 status installed libblkid1:i386 2.31.1-0.4ubuntu3.6
2020-04-01 08:28:59 status installed libfdisk1:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:01 status installed libsmartcols1:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:03 status installed libmount1:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:03 status installed libmount1:i386 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:03 status installed fdisk:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:07 status installed util-linux:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:30 status installed libasound2-data:all 1.1.3-5ubuntu0.4
2020-04-01 08:29:31 status installed mount:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:31 status installed libasound2:amd64 1.1.3-5ubuntu0.4
2020-04-01 08:29:31 status installed libasound2:i386 1.1.3-5ubuntu0.4
2020-04-01 08:29:32 status installed uuid-runtime:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:32 status installed python3-problem-report:all 2.20.9-0ubuntu7.13
2020-04-01 08:29:33 status installed code:amd64 1.43.2-1585036376
2020-04-01 08:29:33 status installed rfkill:amd64 2.31.1-0.4ubuntu3.6
2020-04-01 08:29:33 status installed obs-studio:amd64 25.0.3-0obsproject0~bionic
2020-04-01 08:29:33 status installed python3-apport:all 2.20.9-0ubuntu7.13
2020-04-01 08:29:36 status installed apport:all 2.20.9-0ubuntu7.13
2020-04-01 08:29:36 status installed apport-gtk:all 2.20.9-0ubuntu7.13
2020-04-01 08:29:36 status installed systemd:amd64 237-3ubuntu10.39
2020-04-01 08:29:39 status installed man-db:amd64 2.8.3-2ubuntu0.1
2020-04-01 08:29:39 status installed gnome-menus:amd64 3.13.3-11ubuntu1.1
2020-04-01 08:29:39 status installed hicolor-icon-theme:all 0.17-2
2020-04-01 08:29:39 status installed mime-support:all 3.60ubuntu1
2020-04-01 08:29:39 status installed ureadahead:amd64 0.100.0-21
2020-04-01 08:29:39 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.2
2020-04-01 08:29:39 status installed libc-bin:amd64 2.27-3ubuntu1
2020-04-03 08:33:11 status installed python3-apport:all 2.20.9-0ubuntu7.14
2020-04-03 08:33:18 status installed python3-problem-report:all 2.20.9-0ubuntu7.14
2020-04-03 08:33:29 status installed apport:all 2.20.9-0ubuntu7.14
2020-04-03 08:33:29 status installed hicolor-icon-theme:all 0.17-2
2020-04-03 08:33:29 status installed ureadahead:amd64 0.100.0-21
2020-04-03 08:33:29 status installed systemd:amd64 237-3ubuntu10.39
2020-04-03 08:33:31 status installed man-db:amd64 2.8.3-2ubuntu0.1
2020-04-03 08:33:36 status installed apport-gtk:all 2.20.9-0ubuntu7.14
2020-04-03 08:33:36 status installed mime-support:all 3.60ubuntu1
2020-04-03 08:33:37 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.2
2020-04-03 08:33:37 status installed gnome-menus:amd64 3.13.3-11ubuntu1.1
2020-04-05 00:22:56 status installed atom:amd64 1.45.0
2020-04-05 00:22:56 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.2
2020-04-05 00:22:57 status installed gnome-menus:amd64 3.13.3-11ubuntu1.1
2020-04-05 00:22:58 status installed mime-support:all 3.60ubuntu1
2020-04-05 08:33:47 status installed libgd3:amd64 2.2.5-4ubuntu0.4
2020-04-05 08:33:47 status installed libgd3:i386 2.2.5-4ubuntu0.4
2020-04-05 08:33:48 status installed libc-bin:amd64 2.27-3ubuntu1
2020-04-06 08:12:14 status installed firefox:amd64 74.0.1+build1-0ubuntu0.18.04.1
2020-04-06 08:12:14 status installed gnome-menus:amd64 3.13.3-11ubuntu1.1
2020-04-06 08:12:15 status installed hicolor-icon-theme:all 0.17-2
2020-04-06 08:12:15 status installed mime-support:all 3.60ubuntu1
2020-04-06 08:12:15 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.2
2020-04-06 08:12:17 status installed man-db:amd64 2.8.3-2ubuntu0.1
2020-04-06 08:12:22 status installed firefox-locale-en:amd64 74.0.1+build1-0ubuntu0.18.04.1
2020-04-07 08:48:33 status installed linux-libc-dev:amd64 4.15.0-96.97
2020-04-07 08:48:56 status installed linux-modules-4.15.0-96-generic:amd64 4.15.0-96.97
2020-04-07 08:48:56 status installed linux-headers-4.15.0-96:all 4.15.0-96.97
2020-04-07 08:48:57 status installed linux-image-4.15.0-96-generic:amd64 4.15.0-96.97
2020-04-07 08:48:58 status installed linux-modules-extra-4.15.0-96-generic:amd64 4.15.0-96.97
2020-04-07 08:49:05 status installed linux-headers-4.15.0-96-generic:amd64 4.15.0-96.97
2020-04-07 08:49:05 status installed linux-image-generic:amd64 4.15.0.96.87
2020-04-07 08:49:05 status installed linux-headers-generic:amd64 4.15.0.96.87
2020-04-07 08:49:05 status installed linux-generic:amd64 4.15.0.96.87
2020-04-07 08:49:28 status installed linux-image-4.15.0-96-generic:amd64 4.15.0-96.97
4. 我还收到了“低速 USB 设备”消息。
$
Apr 7 20:01:03 padmahasa-desktop anacron[13027]: Normal exit (0 jobs run)
Apr 7 20:08:05 padmahasa-desktop kernel: [37450.521244] usb 1-1.4: reset low-speed USB device number 31 using ehci-pci
Apr 7 20:08:07 padmahasa-desktop kernel: [37452.337312] usb 1-1.4: reset low-speed USB device number 31 using ehci-pci
Apr 7 20:08:11 padmahasa-desktop kernel: [37456.478074] usb 1-1.4: USB disconnect, device number 31
Apr 7 20:08:11 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[7635]: (II) config/udev: removing device Logitech USB Optical Mouse
Apr 7 20:08:11 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[7635]: (**) Option "fd" "48"
Apr 7 20:08:11 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[7635]: (II) event4 - Logitech USB Optical Mouse: device removed
Apr 7 20:08:11 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[7635]: (II) UnloadModule: "libinput"
Apr 7 20:08:11 padmahasa-desktop /usr/lib/gdm3/gdm-x-session[7635]: (II) systemd-logind: releasing fd for 13:68
Apr 7 20:08:11 padmahasa-desktop gnome-shell[7770]: g_array_unref: assertion 'array' failed
Apr 7 20:08:11 padmahasa-desktop upowerd[1488]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C05A.001B
谢谢。
答案1
这:
kernel: [37450.521244] usb 1-1.4: reset low-speed USB device number 31 using ehci-pci
kernel: [37452.337312] usb 1-1.4: reset low-speed USB device number 31 using ehci-pci
kernel: [37456.478074] usb 1-1.4: USB disconnect, device number 31
表示端口号 4 上的 USB 设备断开连接,这可能是鼠标或键盘停止工作的原因。至于系统本身,它看起来正常,并没有像您所说的那样冻结。
造成这种情况的原因要么是新内核对鼠标/键盘没有很好的支持,要么实际上是硬件问题。
请尝试启动到较旧的内核。此问题发生之前安装的内核,然后查看是否存在此问题。如果存在,则可能是硬件问题,无论是鼠标/键盘、USB 端口还是控制器。
为了缩小范围,请限制连接的 USB/HDMI 设备(扬声器、麦克风、耳机、显示器、USB 驱动器、鼠标/键盘等),如果有多余的鼠标和键盘,最好尝试更换不同的鼠标和键盘。断开 USB/HDMI 硬件和电缆,然后逐个重新连接,并连接到不同的端口,直到找到有故障的端口并将其更换为新的端口。
注意:
low-speed USB device
通常是指鼠标或键盘,reset low-speed USB device
最有可能是指由于 USB 或 HDMI 电缆或设备故障而导致电信号故障。
这意味着最有可能的是鼠标和/或键盘有故障,这很常见,只需更换它们即可解决,或者主板上的 USB 端口/控制器有故障,这并不常见,但需要更换主板。