USB 2-1 过流消息

USB 2-1 过流消息

我最近将我的系统从 16.04 升级到了 17.04,现在我不断收到消息(在 ctrl+alt=F1 和 dmesg 中循环):

[  473.112642] usb 2-1-port6: over-current condition
[  473.328636] usb 2-1-port5: over-current condition
[  473.544638] usb 2-1-port6: over-current condition
[  473.760677] usb 2-1-port5: over-current condition
[  475.488663] usb 2-1-port5: over-current condition
[  475.704640] usb 2-1-port6: over-current condition

我查看了一下,发现这通常是一个空警告,并且我的所有 USB 端口都正常工作且完好无损。

我尝试使用“GRUB_CMDLINE_LINUX_DEFAULT="quiet splash,ehci_hcd.ignore_oc=1”编辑 /etc/default/grub,但警告仍然出现。

我也尝试查看与我的类似的其他主题,但没有找到关于插入 ignore_oc 命令的可靠解决方案/指令集。

我对 Ubuntu/Linux 还很陌生,所以如果您有任何需要请告诉我!

任何帮助将不胜感激!

编辑:

好的,我查看了一些日志文件,发现该消息在检测到我的键盘后开始出现。我已将输出发布在下面,但仍然不知道如何解决这个问题。

    Apr 24 09:18:09 Joe-PC kernel: [    1.812826] hid-generic 0003:2516:0015.0004: input,hidraw2: USB HID v1.10 Keyboard [CM Storm Quickfire Pro Ultimate 6 key] on usb-0000:00:1a.0-1.4/input0
Apr 24 09:18:09 Joe-PC kernel: [    1.828474] input: CM Storm Quickfire Pro Ultimate 6 key as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:2516:0015.0005/input/input5
Apr 24 09:18:09 Joe-PC kernel: [    1.884905] hid-generic 0003:2516:0015.0005: input,hidraw3: USB HID v1.10 Device [CM Storm Quickfire Pro Ultimate 6 key] on usb-0000:00:1a.0-1.4/input1
Apr 24 09:18:09 Joe-PC kernel: [    1.944741] usb 2-1-port6: over-current condition
Apr 24 09:18:09 Joe-PC kernel: [    2.376766] usb 2-1-port6: over-current condition
Apr 24 09:18:09 Joe-PC kernel: [    2.656901] clocksource: Switched to clocksource tsc
Apr 24 09:18:09 Joe-PC kernel: [    3.024758] usb 2-1-port5: over-current condition
Apr 24 09:18:09 Joe-PC kernel: [    3.456758] usb 2-1-port5: over-current condition
Apr 24 09:18:09 Joe-PC kernel: [    3.672760] usb 2-1-port6: over-current condition

答案1

过流情况与异常电流高于预期有关。这是 USB 端口(或与 USB 相关的其他组件)的硬件问题。在大多数情况下,这是由灰尘/湿度引起的(请记住,大多数灰尘通常是死皮,并且是很好的湿度保持器)。

您不应该简单地忽略这种情况。您的主板存在电气问题。如果端口通过电缆连接,您可以将其拔出。否则,如果端口焊接在主板上,则更难以理清。

我首先尝试对主板进行非常非常详细的清理。大多数情况下都有效。

极少数情况下,端口需要更换。只有一次,我通过更换电容器解决了问题。

答案2

这似乎是一个拼写错误,您需要使用空格作为多个启动选项的分隔符(例如“quiet splash”)。因此,不要GRUB_CMDLINE_LINUX_DEFAULT="quiet splash,ehci_hcd.ignore_oc=1"尝试

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ehci_hcd.ignore_oc=1"

您可以通过运行来检查它是否有效

cat /sys/module/ehci_hcd/parameters/ignore_oc

重启后。如果结果为“Y”,则表示已设置启动参数;如果结果为“N”,则表示出现问题,请检查拼写(必须全部小写)以及您是否确实运行了

sudo update-grub

设置选项之后和重新启动之前。

相关内容