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
    • 最新
    • 标签
主页 / ubuntu / 问题 / 966070
Accepted
Normadize
Normadize
Asked: 2017-10-19 07:16:32 +0800 CST2017-10-19 07:16:32 +0800 CST 2017-10-19 07:16:32 +0800 CST

EATON/MGE 5E UPS - 驱动程序不工作

  • 772

我在戴尔 7010 (i5-3570S) 上使用 Ubuntu 16.04.2 并拥有 EATON 5E 850i (前 MGE)。我已经阅读并尝试了各种指南,包括此处的所有答案:如何使用 USB 连接配置 UPC

运行时upsdrvctl start,我仍然得到:

Network UPS Tools - UPS driver controller 2.7.2
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
No matching HID UPS found
Driver failed to start (exit status=1)

一个障碍是重启后 UPS 不再被lsusb. 我需要手动拔下并重新插入 USB 电缆,然后它才会出现。

lsusb说:

# lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 042: ID 0463:ffff MGE UPS Systems UPS
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -v说:

# lsusb -v -d 0463:ffff

Bus 003 Device 042: ID 0463:ffff MGE UPS Systems UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0463 MGE UPS Systems
  idProduct          0xffff UPS
  bcdDevice            0.01
  iManufacturer           1 (error)
  iProduct                2 (error)
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     549
          Warning: incomplete report descriptor
          Report Descriptor: (length is 9)
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              20
Device Status:     0x0001
  Self Powered

有什么线索吗?

ups
  • 2 2 个回答
  • 3200 Views

2 个回答

  • Voted
  1. Best Answer
    Normadize
    2017-11-09T10:20:45+08:002017-11-09T10:20:45+08:00

    经过一番刮擦,发现 USB 电缆太长了:我使用了 5m 的 USB 电缆,它可以很好地与打印机配合使用,但是在这种 UPS 的情况下,当它上面有更多的通信时就会失败。使用 1m 电缆 (*) 工作正常,我可以成功与 UPS 通话。

    (*)我完全偏执,还在电缆上添加了一个铁氧体磁芯......

    • 1
  2. henfri
    2019-08-19T08:07:05+08:002019-08-19T08:07:05+08:00

    我有类似的问题;USB 连接不稳定。对我来说, lsusb 甚至没有在重新启动时显示带有原始电缆的设备。拔出和插入设备确实使设备显示在 lsusb 中,还让我加载驱动程序。

    更换电缆也无济于事(尝试了另外两条电缆(甚至短于一米))。最终的帮助是在两者之间放置了一个 USB 集线器。

    另请参阅https://github.com/networkupstools/nut/issues/515。

    • 0

相关问题

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