Setting up UPS ... here apc back-ups es 700

    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Setting up UPS ... here apc back-ups es 700

      I have a UPS apc back-ups es 700, now i try to set it up.


      Source Code

      1. root@omv:~# lsusb
      2. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      3. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      4. Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc.
      5. Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc.
      6. Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
      7. Bus 001 Device 008: ID 051d:0002 American Power Conversion Uninterruptible Power Supply


      I installed the USV-Module but i don't know, how to feed the values ...

      I found the hint for the driver settings:

      Source Code

      1. driver = usbhid-ups
      2. port = auto


      Source Code

      1. root@omv:~# upsc -l
      2. ups1


      Source Code

      1. root@omv:~# upsc ups1
      2. Error: Driver not connected


      what can i do?
      ____________________
      Grüße aus Berlin

      Q29000-ITX
      omv 3.0.8x erasmus | 64 bit | backport kernel | omvextras
    • Keine Idee? No Idea?

      When i try to test it manually i get only that

      Source Code

      1. root@omv:~# upsdrvctl start ups1
      2. Network UPS Tools - UPS driver controller 2.6.4
      3. Network UPS Tools - Generic HID driver 0.37 (2.6.4)
      4. USB communication driver 0.32
      5. Can't claim USB device [051d:0002]: could not detach kernel driver from interface 0: Operation not permitted
      6. Driver failed to start (exit status=1)

      ____________________
      Grüße aus Berlin

      Q29000-ITX
      omv 3.0.8x erasmus | 64 bit | backport kernel | omvextras

      The post was edited 1 time, last by mipi ().

    • After installing the backport kernel it works:

      Source Code

      1. root@omv:~# upsdrvctl start ups1
      2. Network UPS Tools - UPS driver controller 2.6.4
      3. Network UPS Tools - Generic HID driver 0.37 (2.6.4)
      4. USB communication driver 0.32
      5. Duplicate driver instance detected! Terminating other driver!
      6. Using subdriver: APC HID 0.95
      7. root@omv:~# upsc ups1
      8. battery.charge: 100
      9. battery.charge.low: 10
      10. battery.charge.warning: 50
      11. battery.date: not set
      12. battery.mfr.date: 2009/07/30
      13. battery.runtime: 1717
      14. battery.runtime.low: 120
      15. battery.type: PbAc
      16. battery.voltage: 13.7
      17. battery.voltage.nominal: 12.0
      18. device.mfr: APC
      19. device.model: Back-UPS ES 700
      20. device.serial: 3B0931X37803
      21. device.type: ups
      22. driver.name: usbhid-ups
      23. driver.parameter.pollfreq: 30
      24. driver.parameter.pollinterval: 2
      25. driver.parameter.port: auto
      26. driver.version: 2.6.4
      27. driver.version.data: APC HID 0.95
      28. driver.version.internal: 0.37
      29. input.sensitivity: medium
      30. input.transfer.high: 266
      31. input.transfer.low: 180
      32. input.voltage: 224.0
      33. input.voltage.nominal: 230
      34. ups.beeper.status: enabled
      35. ups.delay.shutdown: 20
      36. ups.firmware: 829.D3 .I
      37. ups.firmware.aux: D3
      38. ups.load: 14
      39. ups.mfr: APC
      40. ups.mfr.date: 2009/07/30
      41. ups.model: Back-UPS ES 700
      42. ups.productid: 0002
      43. ups.serial: 3B0931X37803
      44. ups.status: OL
      45. ups.timer.reboot: 0
      46. ups.timer.shutdown: -1
      47. ups.vendorid: 051d
      Display All



      So everything is fine ... is it? Final question: "Was it a bug or a feature?" Means: Is it essential to install the backport kernel and why is the driver (for a standard UPS) not in the normal kernel of a SERVER?

      Micha
      ____________________
      Grüße aus Berlin

      Q29000-ITX
      omv 3.0.8x erasmus | 64 bit | backport kernel | omvextras

      The post was edited 2 times, last by mipi ().

    • mipi wrote:

      Final question: "Was it a bug or a feature?" Means: Is it essential to install the backport kernel and why the driver not in the normal kernel?

      New kernel equals new/newer drivers. That is why people use newer kernels. We don't control the kernel so we can't answer why the driver isn't in the normal kernel. It isn't a problem using the backports kernel. I use it on all of my systems.
      omv 4.0.6 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!