LINUX.ORG.RU
решено ФорумAdmin

How set CyberPowerValue600EIGP beeper status=disabled using USB?

 , cyberpower, ,


0

1

How set CyberPowerValue600EIGP beeper status=disabled using USB
Current status «ups.beeper.status: enabled»

root@pc:~# upsc CyberPowerValue600EIGP
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 1920
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 13.7
battery.voltage.nominal: 12
device.mfr: CPS
device.model: Value600EIGP
device.type: ups
driver.name: usbhid-ups
driver.parameter.offdelay: 60
driver.parameter.ondelay: 120
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 15
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.parameter.vendorid: 0764
driver.version: 2.7.4
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.41
input.transfer.high: 0
input.transfer.low: 0
input.voltage: 234.0
input.voltage.nominal: 230
output.voltage: 234.0
ups.beeper.status: enabled
ups.delay.shutdown: 60
ups.delay.start: 120
ups.load: 21
ups.mfr: CPS
ups.model: Value600EIGP
ups.productid: 0501
ups.realpower.nominal: 360
ups.status: OL
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764
root@pc:~#

★★★★★

Имхо название у параметра *.status говорит о одностороннем направлении обмена информацией. Код кладёт в него статус железки, но не ждет, что им через него будут рулить.

anonymous
()

В Калуге нет клавиатур с кириллицей или ты одновременно сюда и на SO закидывал?

leave ★★★★★
()

done beep disabled

# upsc CyberPowerValue600EIGP ups.beeper.status
Init SSL without certificate database
disabled
#

list command

# upscmd -l CyberPowerValue600EIGP
Instant commands supported on UPS [CyberPowerValue600EIGP]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
or use conf
# cat /etc/nut/ups.conf |grep override.ups.beeper.status
override.ups.beeper.status = disabled
#
or use cmd
upscmd CyberPowerValue600EIGP beeper.disable

petav ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.