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 / 问题

问题[ups](ubuntu)

Martin Hope
NeilenMarais
Asked: 2020-06-17 02:48:21 +0800 CST

关闭 KSTAR Powercom 600VA UPS 的蜂鸣声(USB 识别为 MEC0003)

  • 1

我买了一台带 USB 的 KSTAR Powercom 600VA Line Interactive UPS。它工作正常,但我想在电源关闭时禁用哔声。

当我将 USB 电缆插入我的笔记本电脑(运行 Ubuntu 18.04)时,它似乎在 syslog 中识别为 MEC0003 设备:

Jun 16 11:48:50 smurfenaar kernel: [103981.169542] usb 1-3: Product: MEC0003

我需要什么软件和配置才能关闭哔声?

usb ups
  • 1 个回答
  • 1270 Views
Martin Hope
Rick T
Asked: 2020-06-12 02:13:00 +0800 CST

nut 和 nut-monitor 无法使用 Ubuntu 18.04 连接到 tripp-lite ups

  • 1

我有一个tripp-lite AVR700U ups,但螺母和螺母监视器看不到它。有没有人有一个很好的作品?我发现的所有东西都是几年前的,不适用于我的设置?我正在尝试禁用停电蜂鸣声。我正在使用 ubuntu 18.04 64 位桌面

ups 18.04
  • 1 个回答
  • 1801 Views
Martin Hope
RGilkes
Asked: 2020-05-27 17:59:06 +0800 CST

将 Synology 用作 Ubuntu Server 20.04 的 NUT 服务器

  • 5

我正在尝试将我的 Ubuntu Server (20.04) 配置为连接到我的 UPS 的 Synology NAS 的从属设备,但我不知道如何完成该过程,而且我在文档或教程方面没有找到任何东西. 以下是我采取的步骤:

在 Synology DSM 上:

  1. 通过 USB 将 Synology 连接到 UPS
  2. 在 DSM 设置中开启 UPS 服务器

  1. 在“允许的 DiskStation 设备”对话框中添加我的 Linux 服务器 IP。

在 Linux 服务器上:

  1. 安装螺母sudo apt-get install nut
  2. 修改 /etc/nut/nut.conf 为mode=netclient
  3. 添加到 /etc/nut/upsmon.confMONITOR [email protected] UPSUSER MYPASS slave

最后,当我尝试运行时service nut-client restart,出现错误:

nut-monitor.service 的作业失败,因为控制进程以错误代码退出。

任何想法我做错了什么或我需要采取哪些进一步的步骤?提前致谢!

server ups nut
  • 1 个回答
  • 3886 Views
Martin Hope
POMATu
Asked: 2019-07-13 15:19:40 +0800 CST

在低 UPS 电源下执行脚本

  • 1

我已将我的 UPS 连接到 ubuntu 并且已被识别。但是我不喜欢在 ubuntu 电源设置中看到的选项。我有另一台 PC 也连接到同一个 UPS。所以我希望 ubuntu 桌面在电量约为 50% 时执行脚本,这样我的第二台电脑也可以正常休眠。然后我可以使用相同的脚本使我的 ubuntu PC 休眠。

是否有可能以不破坏 UPS 监视器的 ubuntu 实现的方式做到这一点?我读过我可以安装 nut 但我有一些错误,可能是冲突

● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
   Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor preset: enabled)
   Active: failed (Result: protocol) since Sat 2019-07-13 02:09:46 MSK; 11ms ago
  Process: 13906 ExecStart=/sbin/upsmon (code=exited, status=0/SUCCESS)

也许我可以捕捉到一些 dmesg 消息或使用一些本地工具检查 UPS 的状态?

power-management hibernate ups nut
  • 1 个回答
  • 735 Views
Martin Hope
Normadize
Asked: 2017-10-19 07:16:32 +0800 CST

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

  • 1

我在戴尔 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 个回答
  • 3200 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