[Nut-upsuser] Powercool?

Charles Lepple clepple at gmail.com
Sat Jan 23 16:52:49 UTC 2016

[please use reply-all to include the list on your response]

On Jan 23, 2016, at 11:14 AM, Tim Clarke <tim.clarke at manifest.co.uk> wrote:
> Centos 6.7
> Linux man8.m1.manifest.co.uk 2.6.32-573.12.1.el6.i686 #1 SMP Tue Dec 15
> 18:25:17 UTC 2015 i686 i686 i386 GNU/Linux
> Installed:
> nut.i686                             2.6.5-2.el6              
> @epel           

I don't remember off the top of my head if there were any gotchas to rebuilding NUT on Centos 6.x, but I suspect you can install the SRPM, drop in a newer NUT tarball, update the .spec file, and rebuild. Centos 7 has NUT 2.7.2 in EPEL, I believe.

> Using driver "genericups" and upstypes 4-8, 10, 13-17, 19 and 21-22
> (achieved by following the "testing compatibility" steps at the end of
> the genericups man page) I get OL. But none of them detect OB or LB or
> SD (or any other state) when I cut the supply to the UPS.
> There's no serial control port.

Right, genericups needs either a physical RS-232 port, or a fully-functional USB-to-serial converter, connected to a contact-closure UPS. Otherwise, the OL status is just reflecting the default state of the floating pins coming into the motherboard serial port.

> "dmesg | grep usb" gives me:
> usb 1-3.1: new low speed USB device number 4 using ehci_hcd
> usb 1-3.1: New USB device found, idVendor=0001, idProduct=0000
> usb 1-3.1: New USB device strings: Mfr=1, Product=1, SerialNumber=1
> usb 1-3.1: Product: ATCL FOR UPS
> usb 1-3.1: Manufacturer: ATCL FOR UPS
> usb 1-3.1: SerialNumber: ATCL FOR UPS
> usb 1-3.1: configuration #1 chosen from 1 choice
> usb 1-3.1: can't set config #1, error -71
> and lsusb gives:
> Bus 001 Device 016: ID 0001:0000 Fry's Electronics
> The idVendor and idProduct are horrid, alas.


We thought we had this one solved. NUT 2.7.2 added a driver (nutdrv_atcl_ups) for this device: http://news.gmane.org/find-root.php?message_id=52B4C54E.1050106%40ariwainer.com.ar

However, this "ATCL FOR UPS" string might be for a generic USB-to-serial chip, in which case the nutdrv_qx driver (subdriver fuji) might work better: http://thread.gmane.org/gmane.comp.monitoring.nut.user/8808/focus=8812 (merged and first available in NUT 2.7.3)

I've been pondering setting up some CentOS VMs, but that might be a while. Let us know if you need additional information on rebuilding the RPMs.

Also, what does 'lsusb -v -d0001:0000' return when run as root?

Charles Lepple
clepple at gmail

More information about the Nut-upsuser mailing list