You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Acer Aspire one Ubuntu16.04下USB端口异常及USBview启动报错求助

Fixing USBView Launch Error and USB Port Issues on Acer Aspire One (Ubuntu 16.04)

Hey there, let's tackle this problem step by step—first we'll get USBView working properly, then use it (and other tools) to diagnose your wonky USB ports.

1. Resolve the "Invalid desktop entry file" error for USBView

This error almost always means the .desktop shortcut file for USBView is corrupted or missing critical required fields. Here's how to fix it:

  • First, let's inspect the problematic file to confirm the issue:

    cat /usr/share/applications/usbview.desktop
    

    Look for missing key lines like Exec=usbview, Icon=usbview, or Categories=System;HardwareSettings;. If the file is empty, garbled, or missing these entries, a clean reinstall will fix it.

  • Purge and reinstall USBView to replace the damaged desktop file:

    sudo apt-get purge usbview
    sudo apt-get update
    sudo apt-get install usbview
    

    After running these commands, try launching USBView again—it should start without the desktop entry error.

2. Diagnose USB Port Abnormalities

Now that USBView is up and running, use it to visualize detected USB devices and spot any obvious errors. For deeper troubleshooting, use these command-line tools:

  • List all recognized USB devices:

    lsusb
    

    Compare the output when you plug/unplug a USB device—if a device doesn't appear here, it's not being detected at the hardware level.

  • Check system logs for USB-related errors:

    dmesg | grep -i usb
    

    Look for lines with error, failed, or disconnect when you interact with the USB ports. This can point to issues like faulty controllers or driver conflicts.

  • Reset USB controllers (a common fix for intermittent issues):

    # For USB 3.0 controllers
    sudo modprobe -r xhci_hcd && sudo modprobe xhci_hcd
    
    # For USB 2.0 controllers
    sudo modprobe -r ehci_hcd && sudo modprobe ehci_hcd
    

    Run these commands and test your USB ports again to see if connectivity improves.

  • Disable USB auto-suspend (power management can cause unexpected drops):
    Edit the TLP power configuration file:

    sudo nano /etc/default/tlp
    

    Find the line USB_AUTOSUSPEND=1 and change it to USB_AUTOSUSPEND=0. Save the file (Ctrl+O, press Enter) and exit (Ctrl+X), then restart TLP:

    sudo systemctl restart tlp
    

3. Hardware Checks (If Software Fixes Fail)

If none of the above resolves the issue, it might be a hardware problem:

  • Try different USB cables or peripherals to rule out faulty devices.
  • Inspect the USB ports for physical damage (loose connections, debris inside).
  • On some Acer Aspire One models, a BIOS update can resolve USB controller bugs—verify your specific model's support page for updates (proceed carefully with BIOS updates!).

内容的提问来源于stack exchange,提问作者Ken Hill

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 03:14:36