AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-173042

Martin Mucha's questions

Martin Hope
Martin Mucha
Asked: 2025-01-22 22:36:26 +0800 CST

系统启动时无法初始化某些主板相关的 USB

  • 5

我有一台新电脑,几天后启动时间过长。我检查了 dmesg,发现了这个美妙的信息:

[    3.523786] usb 3-7: new high-speed USB device number 3 using xhci_hcd
...
[    8.910825] usb 3-7: device descriptor read/64, error -110
[   24.782816] usb 3-7: device descriptor read/64, error -110
[   25.266857] usb 3-7: new high-speed USB device number 4 using xhci_hcd
[   30.926825] usb 3-7: device descriptor read/64, error -110
[   46.798830] usb 3-7: device descriptor read/64, error -110
[   46.905009] usb usb3-port7: attempt power cycle
[   47.354760] usb 3-7: new high-speed USB device number 5 using xhci_hcd
[   52.155465] usb 3-7: Device not responding to setup address.
[   57.167487] usb 3-7: Device not responding to setup address.
[   57.374523] usb 3-7: device not accepting address 5, error -71
[   57.762759] usb 3-7: new high-speed USB device number 6 using xhci_hcd
[   62.563533] usb 3-7: Device not responding to setup address.
[   67.574576] usb 3-7: Device not responding to setup address.
[   67.782730] usb 3-7: device not accepting address 6, error -71
[   67.785775] usb usb3-port7: unable to enumerate USB device

请注意,这是启动时的输出,当时除了电源和以太网电缆(甚至没有显示器)外,没有任何东西连接到计算机。

我在 /sys/bus/usb/devices/3-7 中没有看到任何 usb3-port7,但检查接近的 3.6,它是:

5702:048d(产品编号:供应商编号)

如果我用谷歌搜索,它就会显示一些 rgb 照明控制器。

并且 usb3 是 0002:1d6b,其中 IIUC 只是一些 usb 集线器。

现在。我没有任何 RGB 照明,我打算拥有它。我被引导去调查这个问题:a) 启动时间更长 b) FPS 神秘下降,这在 Linux 和 Windows 上都会发生。行为不当的 USB 可能会导致中断或某些可以解释这一点的东西(也许)。

有人可以建议该怎么办吗?

编辑:发生这种情况时的上下文;这只是相关性,但我正在调查 FPS 下降并重新验证 windows 中的行为,碰巧 windows 也已安装(由供应商发货安装),我想我在离开时单击了 windows 中的更新。有可能,它在 gigabyte 台式机上更新了某些内容,现在由于某种原因它在 linux 上不再起作用了。

硬件信息:

inxi -F
System:
  Host: VbDesktop2 Kernel: 6.11.0-13-generic arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.1.5 Distro: Kubuntu 24.10 (Oracular Oriole)
Machine:
  Type: Desktop Mobo: Gigabyte model: X670 AORUS ELITE AX
    serial: <superuser required> UEFI: American Megatrends LLC. v: F32h
    date: 12/19/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 9800X3D bits: 64 type: MCP cache: L2: 8 MiB
  Speed (MHz): avg: 2962 min/max: 600/5269 cores: 1: 2070 2: 2983 3: 2983
    4: 2071 5: 2334 6: 4137 7: 4139 8: 2983
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M]
    driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
    resolution: 2752x1152
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.3-1ubuntu1
    renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 19.1.0 DRM 3.58
    6.11.0-13-generic)
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.11.0-13-generic status: kernel-api
  Server-1: PipeWire v: 1.2.4 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  IF: enp16s0 state: up speed: 1000 Mbps duplex: full mac: 74:56:3c:b9:0f:12
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlp17s0 state: down mac: 14:ac:60:d5:fa:bb
Drives:
  Local Storage: total: 3.64 TiB used: 374.41 GiB (10.0%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SFYRDK4000G size: 3.64 TiB
Partition:
  ID-1: / size: 3.1 TiB used: 374.37 GiB (11.8%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 36.6 MiB (38.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 48.5 C mobo: 40.0 C gpu: amdgpu temp: 58.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 1
Info:
  Memory: total: 32 GiB note: est. available: 30.96 GiB used: 4.51 GiB (14.6%)
  Processes: 308 Uptime: 25m Shell: Bash inxi: 3.3.35
boot
  • 1 个回答
  • 29 Views
Martin Hope
Martin Mucha
Asked: 2024-06-04 22:25:09 +0800 CST

如何禁用/摆脱 PRIME 显示?

  • 7

我安装了最新的 cinnamon 24.04,虽然在以前的版本中一切正常,但在这个版本中我有“幽灵监视器”,它无法在显示设置中关闭,但光标可以在那里徘徊。如果我打开 nvidia 设置,我会看到以下内容:

在此输入图像描述

所以有一些prime显示是无法控制的。我尝试建议添加initcall_blacklist=simpledrm_platform_driver_init为内核参数,但这只会使操作系统无法启动。

我猜这是由升级联想固件引起的,我可能可以降级回来。但还有其他更好的解决方案吗?如何摆脱这个 PRIME 显示,这是相当次等的,因为它不显示任何东西,只会让你的工作更加困难。

nvidia
  • 1 个回答
  • 54 Views
Martin Hope
Martin Mucha
Asked: 2019-01-29 04:46:42 +0800 CST

无法通过 add-apt 添加任何存储库

  • 1

我有同一台计算机,从与我的大学相同的映像安装,但我无法向 ubuntu 添加新的存储库。我不知道对系统进行了任何相关修改,我真的很想避免重新安装。有什么方法可以将新的 apt 存储库添加到 18.04

sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".

mmucha@utu:/etc/apt/sources.list.d$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

如果我手动添加该存储库,则缺少 GPGkey 或无效,但我不知道如何为 ppa 下载 GPG...此处失败 GPG 的详细信息: fingerprint-gui in 18.04

可能相关的问题:应用程序仪表板中缺少软件和更新

repository apt 18.04
  • 1 个回答
  • 966 Views
Martin Hope
Martin Mucha
Asked: 2019-01-29 02:32:38 +0800 CST

联想p52迅雷扩展坞

  • 1

目前,唯一可以在这个 Thunderbolt lenovo p52 扩展坞 /ubuntu-18.04 上工作的是 HDMI。所有 USB 和以太网都“死”了。一些评论声称,这些扩展坞仅在重新启动后才能在 linux 中工作(拔下=重新启动,插入=重新启动),但我什至无法确认。对我来说,这只是一块功能失调的砖块。

我能做些什么让它发挥作用吗?

18.04
  • 2 个回答
  • 3221 Views
Martin Hope
Martin Mucha
Asked: 2019-01-26 13:19:29 +0800 CST

18.04 中的指纹 gui

  • 0

我正在尝试让指纹扫描仪工作,但甚至无法添加存储库。我是 Fedora 的 ubuntu 新手,也许我做错了什么,因为其他人似乎能够在半年前做到这一点......

所以这是这个答案:Using Fingerprint reader in 16.04

但第一步:

sudo add-apt-repository ppa:fingerprint/fingerprint-gui

LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".

接着:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

我做错什么了吗?

编辑:所以我试图避免 add-apt-repository 命令。

我添加了文件 /etc/apt/sources.list.d/fingerprint.list 的内容

deb [arch=amd64] http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic contrib

然后 apt update 出现错误:

Get:6 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease [15,4 kB]     
Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease                               
Err:6 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F
Reading package lists... Done 
W: GPG error: http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F
E: The repository 'http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

EDIT2:所以 IIUC 似乎缺少一些公钥。我如何验证存储库 gpg 是否正常?我想在盲目添加公钥之前这样做:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C962022012520A0 
sudo apt-get update
repository fingerprint-reader 18.04
  • 1 个回答
  • 4882 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve