尝试安装 Ubuntu 23.10 时笔记本电脑键盘不工作

尝试安装 Ubuntu 23.10 时笔记本电脑键盘不工作

今天我买了一台新笔记本电脑 Maibenben X565,预装了基于 Ubuntu 22.10 的 Kubuntu。我从官方网站下载了常规 Ubuntu 23.10 的 ISO 映像,在 USB 上创建了 ISO 映像,重新启动系统,然后尝试使用实时 USB 安装 Ubuntu 23.10。键盘在预装的 Kubuntu 或 BIOS 菜单中工作正常,但当我启动“尝试安装 Ubuntu”时停止工作。

编辑: 首先,我的笔记本电脑没有触摸屏。它没有用于禁用键盘的 fn 按钮。Ubuntu 设置中的“键盘”菜单不包含有关键盘或缺少键盘的任何信息。使用屏幕键盘,我sudo lshw在启动 Ubuntu 23.10 的实时 USB 时运行,键盘未列在输入设备列表中(而触摸板则列在列表中)。在 中/dev/input/by-path,没有键盘文件夹。命令

cat /sys/class/dmi/id/chassis_type

在回答中建议帖子返回 10。但是,我不确定它是否解决了问题,因为那里描述的错误似乎至少有 3 年的历史了,而且不太可能还没有修复(链接帖子中的评论表明该错误已在内核版本 5.4 中修复,而当前内核版本是 6.something)。另一个原因是那里的解决方案建议您重新启动系统,但对我来说,这个错误在从实时启动 USB 启动系统时已经发生,这意味着,为了在那里应用解决方案,我需要先安装新的 Ubuntu,为此我要么需要销毁当前的 Kubuntu 22.10 版本,其中至少键盘可以使用,要么对硬盘进行分区并安装 Ubuntu 23.10 和 Kubuntu 22.10,然后尝试修复错误,然后如果修复有效,则重新安装整个系统,所以如果没有其他方法可行,这只是我的最后手段。

此外,那里的建议不适用于我的情况,因为我使用的是 AMD CPU,而不是 Intel,所以我怀疑黑名单intel_vbtn是否有帮助。

编辑2:最终,我尝试了建议下提出的唯一解决方案问题至少在我的环境下,这是可以实现的,即我使用屏幕键盘安装了 Ubuntu,然后将其列入黑名单intel_vbtn。我没有双启动 Windows,没有激活慢速键模式,键盘不是可拆卸的 USB 设备,内核版本高于 5.20,我的笔记本电脑甚至不知道其内置键盘存在, 它不是禁用它接收到触摸屏激活信号或其他信号。sudo libinput debug-events没有检测到任何SW_TABLET_MODE事件。事实上,我怀疑键盘以某种方式被识别为视频总线,因为出于某种原因检测到了两个视频总线。

编辑3: 运行结果如下sudo lshw -businfo

Bus info          Device          Class          Description
============================================================
                                  system         Typhoon Series (X565)
                                  bus            X565
                                  memory         64KiB BIOS
                                  memory         384KiB L1 cache
                                  memory         3MiB L2 cache
                                  memory         16MiB L3 cache
cpu@0                             processor      AMD Ryzen 5 6600H with Radeon Graphics
                                  memory         16GiB System Memory
                                  memory         8GiB SODIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
                                  memory         8GiB SODIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
pci@0000:00:00.0                  bridge         Family 17h-19h PCIe Root Complex
pci@0000:00:00.2                  generic        Family 17h-19h IOMMU
pci@0000:00:01.1                  bridge         Advanced Micro Devices, Inc. [AMD]
pci@0000:01:00.0                  display        GA107M [GeForce RTX 3050 Mobile]
pci@0000:01:00.1  card0           multimedia     NVIDIA Corporation
                  input10         input          HDA NVidia HDMI/DP,pcm=8
                  input11         input          HDA NVidia HDMI/DP,pcm=9
                  input8          input          HDA NVidia HDMI/DP,pcm=3
                  input9          input          HDA NVidia HDMI/DP,pcm=7
pci@0000:00:02.1                  bridge         Family 17h-19h PCIe GPP Bridge
pci@0000:02:00.0  eno1            network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
pci@0000:00:02.2                  bridge         Family 17h-19h PCIe GPP Bridge
pci@0000:03:00.0  wlp3s0          network        MT7921K (RZ608) Wi-Fi 6E 80MHz
pci@0000:00:02.4                  bridge         Family 17h-19h PCIe GPP Bridge
pci@0000:04:00.0  /dev/nvme0      storage        YMTC PC300-512GB-B
                  hwmon3          disk           NVMe disk
                  /dev/ng0n1      disk           NVMe disk
nvme@0:1          /dev/nvme0n1    disk           512GB NVMe disk
nvme@0:1,1        /dev/nvme0n1p1  volume         1074MiB Windows FAT volume
nvme@0:1,2        /dev/nvme0n1p2  volume         475GiB EXT4 volume
pci@0000:00:08.1                  bridge         Family 17h-19h Internal PCIe GPP Bridge
pci@0000:05:00.0                  display        Rembrandt [Radeon 680M]
pci@0000:05:00.2                  generic        VanGogh PSP/CCP
pci@0000:05:00.3                  bus            Rembrandt USB4 XHCI controller #3
usb@1             usb1            bus            xHCI Host Controller
usb@1:3                           multimedia     HD Webcam
usb@2             usb2            bus            xHCI Host Controller
pci@0000:05:00.4                  bus            Rembrandt USB4 XHCI controller #4
usb@3             usb3            bus            xHCI Host Controller
usb@3:3                           communication  Wireless_Device
usb@4             usb4            bus            xHCI Host Controller
pci@0000:05:00.5                  multimedia     ACP/ACP3X/ACP6x Audio Coprocessor
pci@0000:05:00.6  card1           multimedia     Family 17h/19h HD Audio Controller
                  input12         input          HD-Audio Generic Mic
                  input13         input          HD-Audio Generic Headphone
pci@0000:00:08.3                  bridge         Family 17h-19h Internal PCIe GPP Bridge
pci@0000:06:00.0                  bus            Rembrandt USB4 XHCI controller #8
usb@5             usb5            bus            xHCI Host Controller
usb@5:1                           bus            Hub
usb@6             usb6            bus            xHCI Host Controller
pci@0000:06:00.3                  bus            Rembrandt USB4 XHCI controller #5
usb@7             usb7            bus            xHCI Host Controller
usb@8             usb8            bus            xHCI Host Controller
pci@0000:06:00.4                  bus            Rembrandt USB4 XHCI controller #6
usb@9             usb9            bus            xHCI Host Controller
usb@10            usb10           bus            xHCI Host Controller
pci@0000:00:14.0                  bus            FCH SMBus Controller
pci@0000:00:14.3                  bridge         FCH LPC Bridge
                                  system         PnP device PNP0c01
                                  system         PnP device PNP0b00
                                  input          PnP device PNP0303
                                  system         PnP device PNP0c02
pci@0000:00:01.0                  bridge         Family 17h-19h PCIe Dummy Host Bridge
pci@0000:00:02.0                  bridge         Family 17h-19h PCIe Dummy Host Bridge
pci@0000:00:03.0                  bridge         Family 17h-19h PCIe Dummy Host Bridge
pci@0000:00:04.0                  bridge         Family 17h-19h PCIe Dummy Host Bridge
pci@0000:00:08.0                  bridge         Family 17h-19h PCIe Dummy Host Bridge
pci@0000:00:18.0                  bridge         Rembrandt Data Fabric: Device 18h; Function 0
pci@0000:00:18.1                  bridge         Rembrandt Data Fabric: Device 18h; Function 1
pci@0000:00:18.2                  bridge         Rembrandt Data Fabric: Device 18h; Function 2
pci@0000:00:18.3                  bridge         Rembrandt Data Fabric: Device 18h; Function 3
pci@0000:00:18.4                  bridge         Rembrandt Data Fabric: Device 18h; Function 4
pci@0000:00:18.5                  bridge         Rembrandt Data Fabric: Device 18h; Function 5
pci@0000:00:18.6                  bridge         Rembrandt Data Fabric: Device 18h; Function 6
pci@0000:00:18.7                  bridge         Rembrandt Data Fabric: Device 18h; Function 7
                  /dev/fb0        display        EFI VGA
                  input0          input          Power Button
                  input1          input          Sleep Button
                  input14         input          UNIW0001:00 093A:0255 Mouse
                  input15         input          UNIW0001:00 093A:0255 Touchpad
                  input16         input          Bluetooth 3.0 Keyboard
                  input2          input          Lid Switch
                  input6          input          Video Bus
                  input7          input          Video Bus

蓝牙键盘是用来代替内置键盘的外接设备。

编辑4: 我也尝试过描述的东西这里,即将 中的一行更改为/etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.nopnp=1 i8042.dumbkbd=1"然后运行sudo update-grub并重新启动。也没有帮助。另外,我安装的 Ubuntu 使用的是 x11,而不是 Wayland。

相关内容