Dears, I finally resolve my problem, I just make symbolic link: [test at box var/run/]# ln -s -T /var/state/ups/ nut Now I finally got services online: # /sbin/service ups start Starting UPS driver controller: [ OK ] Starting upsd: [ OK ] Starting UPS monitor (master): [ OK ] BUT, on upsc I got: # upsc mustek battery.charge: 100.0 battery.voltage: 27.50 battery.voltage.nominal: 24.0 driver.name: megatec_usb driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.2.0- driver.version.internal: 1.5.4 input.frequency: 50.0 input.voltage: 201.7 input.voltage.fault: 201.2 input.voltage.maximum: 202.2 input.voltage.minimum: 199.8 output.voltage: 200.1 output.voltage.nominal: 220.0 ups.beeper.status: disabled ups.delay.shutdown: 0 ups.delay.start: 2 ups.load: 26.0 ups.mfr: unknown ups.model: unknown ups.serial: unknown ups.status: OL ups.temperature: 25.0 I use megatec_usb driver and try with blazer_usb and same situation, I don`t got ups.model/serial/mfr. On shutdown (when battery is low), my ups shutdown strange, got off all led and when I put power again, I must press power button to "turn off" ups and press it again, to get the power. What do you think what is the problem?! Thank you. -----Original Message----- From: nut-upsuser-bounces+vladimir=micovic.com at lists.alioth.debian.org [mailto:nut-upsuser-bounces+vladimir=micovic.com at lists.alioth.debian.org] On Behalf Of Kjell Claesson Sent: Wednesday, December 29, 2010 10:20 AM To: nut-upsuser at lists.alioth.debian.org Subject: Re: [Nut-upsuser] help with CyberPower 425HG Hi James,> $ sudo upsdrvctl start > Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - > Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using > subdriver: CyberPower HID 0.3 >OK, the driver seems to start. But have you started the daemon (upsd)?> $ sudo upsc myups at localhost > Error: Driver not connectedThen you have to start the upsmon to monitor the ups. --------- Check with: ps xau |grep nut nut 5324 0.0 0.0 12428 508 ? Ss 09:41 0:00 /lib/nut/bcmxcp -a pw5115 nut 5348 0.0 0.0 40528 864 ? Ss 09:41 0:00 /usr/sbin/upsd nut 5367 0.0 0.0 40496 1148 ? S 09:41 0:00 /usr/sbin/upsmon ------------- You may also do: ps xau |grep ups Then you see that upsmon have two instants. One as nut and one as root. Regards Kjell _______________________________________________ Nut-upsuser mailing list Nut-upsuser at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Hi Vladimir,> Dears, > > I finally resolve my problem, I just make symbolic link: > [test at box var/run/]# ln -s -T /var/state/ups/ nut > Now I finally got services online: > # /sbin/service ups start > Starting UPS driver controller: [ OK ] > Starting upsd: [ OK ] > Starting UPS monitor (master): [ OK ] >8<--------------------snip---------------------> ups.mfr: unknown > ups.model: unknown > ups.serial: unknown > ups.status: OL > ups.temperature: 25.0 >This may due to that it is not responding to the info comand (I/cr). You can test it like this. /path/to/blazer_usb -DD -a mustek -u root If you get any 'short reply' or 'invalid start character'. The mfr model and serial is from the same function.> I use megatec_usb driver and try with blazer_usb and same situation, I > don`t got ups.model/serial/mfr. > On shutdown (when battery is low), my ups shutdown strange, got off all led > and when I put power again, I must press power button to "turn off" ups and > press it again, to get the power. > > > What do you think what is the problem?! >What happens if you wait. Some ups'es need to have a serten charge level to start. This to manage a power-out after power on. If it starts direct, and the battery is empty, it would shut off before a safe powerdown. Regards Kjell
OK,> This is out from blazer_usb -DD -a mustek -u root : > http://pastebin.com/63QHfdU0 >1.606976 blazer_vendor: short reply 1.607091 Vendor information read 1 failed 2.612971 blazer_vendor: short reply 2.613078 Vendor information read 2 failed 3.618972 blazer_vendor: short reply 3.619077 Vendor information read 3 failed 3.619168 Vendor information unavailable Yep this tell me that it don't support that command. Maybe your ups is using another command for this. Maybe Arjen have something on this.> The funny thing is when I eject power cord from ups and back in, my fuse > from electricity goes down! :) and same UPS with same connection when I put > on pc which is on windows, everything is ok. > Battery level is low, pc go down and on power back, ups start again and pc > (because I put in bios on power back, to turn on).It may be the same here. The command to shut down the ups is 'shutdown power off' instead of 'shutdown return on power' Do you have any ondelay=1 in your ups.conf? Because the command is the same for power off stay off and power off return. The difference is that return need a power on delay. It looks like this. S1R0 (off delay 1 and ondelay 0. Then it stay off.) S1R1(off delay 1 and ondelay 1. It return in one minute.) Check the man page for the blazer ups. Regards Kjell