Hello! I got my hands on a CyberPower 1500AVRT, and i'm trying to get it connected to my Gentoo machine. I've followed all the basic guides on setting up NUT and UPS' but have had no luck. My current ups.conf is: [cyberpower-gentoo] driver = cyberpower port = /dev/ttyS0 desc = Workstation Upon running /etc/init.d/upsd start or upsdrv start I get: * Starting UPS drivers ... Network UPS Tools - UPS driver controller 2.2.0 Network UPS Tools - CyberPower driver 1.00 (2.2.0) Giving up on hardware detection after 3 tries Unable to get initial hardware info string Driver failed to start (exit status=1) * Failed to start UPS drivers! I know it's on ttyS0(I only have one port, but the other 3 ttyS' compiled in the kernel timeout after about 1 second). ttyS0 takes about 15seconds to timeout. I also tried connecting it via USB but had no luck either, don't believe its supported for this model. Have also tried powerpanel and cpsups drivers. Any advice here, would be much appreciated! Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20071127/13286c26/attachment.htm
Thanks for the quick response! I have tried the powerpanel drivers. It timesout after about 5-10seconds. This is it's output: Network UPS Tools - UPS driver controller 2.2.0 Network UPS Tools - CyberPower text/binary protocol UPS driver 0.22 (2.2.0) Warning: This is an experimental driver. Some features may not function correctly. CyberPower UPS not found on /dev/ttyS0 Driver failed to start (exit status=1) * Failed to start UPS drivers! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20071127/e6c2c135/attachment.htm
Richard Chapman
2007-Nov-28 05:11 UTC
[Nut-upsuser] CyberPower 1500AVRT won't load driver!
I can't really help - but have a similar problem with a different UPS. I have a Belkin ups with belkinunv driver which claims to support my model. I get a different error - but essentially the same issue. It just doesn't seem to get anything back from the UPS on ttyS0. I have checked the permissions on ttyS0 and they appear correct. I find this a bit puzzling - because I can't figure out how these permissions got set. How did it know that I wanted to use ttyS0, apparently before I ever told it what port to use? I also have only one physical serial port on the box - though the device manager reports 2 16550 ports. I can't really find a way to definitively prove that the port on the back is ttyS0 - so any ideas how to do this would be appreciated. Are there any settings that can be set for ttyS0, such as baud rates etc, and if so - how is this done? I am relatively new to Linux - so pleas be gentle with me...:-) Many thanks Richard. Christian Frye wrote:> Hello! I got my hands on a CyberPower 1500AVRT, and i'm trying to get > it connected to my Gentoo machine. > I've followed all the basic guides on setting up NUT and UPS' but have > had no luck. > > My current ups.conf is: > [cyberpower-gentoo] > driver = cyberpower > port = /dev/ttyS0 > desc = Workstation > > > Upon running /etc/init.d/upsd start or upsdrv start I get: > > * Starting UPS drivers ... > Network UPS Tools - UPS driver controller 2.2.0 > Network UPS Tools - CyberPower driver 1.00 (2.2.0) > Giving up on hardware detection after 3 tries > Unable to get initial hardware info string > Driver failed to start (exit status=1) > * Failed to start UPS drivers! > > > I know it's on ttyS0(I only have one port, but the other 3 ttyS' > compiled in the kernel timeout after about 1 second). ttyS0 takes > about 15seconds to timeout. > I also tried connecting it via USB but had no luck either, don't > believe its supported for this model. Have also tried powerpanel and > cpsups drivers. > > Any advice here, would be much appreciated! Thank you! > ------------------------------------------------------------------------ > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Hello. Here's what I get from debug: ./cyberpower -DDDDDDDD -a cyberups Network UPS Tools - CyberPower driver 1.00 (2.2.0) debug level is '8' Giving up on hardware detection after 3 tries Unable to get initial hardware info string ls -l /dev/ttyS[01] crw-rw---- 1 root uucp 4, 64 Nov 28 05:22 /dev/ttyS0 crw-rw---- 1 root uucp 4, 65 Nov 27 19:44 /dev/ttyS1 I don't have statserial, nor could I find an ebuild for it, and trying to compile it gave me some errors. I'll try to work at them tomorrow, but I'm not sure if that's going to help. If anyone has any ideas about USB on this device that'd work too :-). You know, they (CyberPower) advertised everywhere that it's usb-hid compliant and works in Linux, but I couldn't get it to work using the usbhid-ups driver either. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20071128/2450096e/attachment.htm
Christian Frye wrote:> Thanks! > I haven't really got the hang of mailing lists(this is my first). not > sure if you sent this directly to me, or howto respond back in the > thread. I tried though. > I've also tried powerpanel as driver. > > here is its output: > Network UPS Tools - UPS driver controller 2.2.0 > Network UPS Tools - CyberPower text/binary protocol UPS driver 0.22 > (2.2.0) > Warning: This is an experimental driver. > Some features may not function correctly. > > CyberPower UPS not found on /dev/ttyS0 > Driver failed to start (exit status=1) > * Failed to start UPS drivers! >Try starting in manually with -DDDD as a parameter to put the driver into debug mode.> On Nov 27, 2007 9:18 PM, Doug Reynolds <mav at wastegate.net > <mailto:mav at wastegate.net>> wrote: > > Christian Frye wrote: > > Please try the powerpanel driver. It has both cyberpower protocols in > one driver. > > Hello! I got my hands on a CyberPower 1500AVRT, and i'm trying > to get > > it connected to my Gentoo machine. > > I've followed all the basic guides on setting up NUT and UPS' > but have > > had no luck. > > > > My current ups.conf is: > > [cyberpower-gentoo] > > driver = cyberpower > > port = /dev/ttyS0 > > desc = Workstation > > > > > > Upon running /etc/init.d/upsd start or upsdrv start I get: > > > > * Starting UPS drivers ... > > Network UPS Tools - UPS driver controller 2.2.0 > > Network UPS Tools - CyberPower driver 1.00 (2.2.0) > > Giving up on hardware detection after 3 tries > > Unable to get initial hardware info string > > Driver failed to start (exit status=1) > > * Failed to start UPS drivers! > > > > > > I know it's on ttyS0(I only have one port, but the other 3 ttyS' > > compiled in the kernel timeout after about 1 second). ttyS0 takes > > about 15seconds to timeout. > > I also tried connecting it via USB but had no luck either, don't > > believe its supported for this model. Have also tried powerpanel and > > cpsups drivers. > > > > Any advice here, would be much appreciated! Thank you! > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nut-upsuser mailing list > > Nut-upsuser at lists.alioth.debian.org > <mailto:Nut-upsuser at lists.alioth.debian.org> > > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser > >