LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CyberPower USB UPS - Configured but not connecting (https://www.linuxquestions.org/questions/linux-hardware-18/cyberpower-usb-ups-configured-but-not-connecting-521399/)

tskears 01-21-2007 08:40 AM

CyberPower USB UPS - Configured but not connecting
 
Hi,

I recently bought a CyberPower BF800 UPS for my desk-station (it was VERY competitively priced). Everything indicates that it is supported as a USB device under Network UPS Tools.

It is correctly identified in /proc/bus/usb/devices:
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0764 ProdID=0501 Rev= 0.01
S: Manufacturer=CPS
S: Product=UPS BF800
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms

...and hotplugs as device /dev/hiddev0.

PCLOS Control Centre auto-detects it correctly as BF800, with newhidups as the driver:
[root@localhost ~]# cat /etc/ups/ups.conf
[UPS_BF800]
port = auto
driver = newhidups

However, when I start upsd, I receive this message:
[root@localhost ~]# upsd
Network UPS Tools upsd 2.0.1
Can't connect to UPS [UPS_BF800] (newhidups-auto): No such file or directory
Synchronizing........ giving up

I've tried entering the port as /dev/hiddev0 to no advantage.

Can anyone suggest a fix? Upgrade to the latest version of NUT?

Thanks in advance for any suggestions,

tskears 01-21-2007 02:58 PM

SOLVED: CyberPower USB UPS - Configured but not connecting
 
Well, I took the high road... downloaded and built the latest stable release (2.0.5). It is definitely communicating, but I haven't tested shutdown yet:

Broadcast message from keart (Sun Jan 21 15:53:42 2007):
UPS UPS_BF800@localhost on battery

Broadcast message from keart (Sun Jan 21 15:54:22 2007):
UPS UPS_BF800@localhost on line power


I hope this may help others trying to set up a "generic" USB UPS.

nonsense28sal 03-09-2007 09:44 PM

Ultra USB UPS
 
Hi.

I recently purchased a Ultra ULT33046 USB UPS.

Like your post, mine is correctly identified in /proc/bus/usb/devices:

T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0d9f ProdID=0002 Rev= 0.00
S: Manufacturer=POWERCOM CO., LTD.
S: Product=USB to Serial
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
E: Ad=02(O) Atr=03(Int.) MxPS= 8 Ivl=10ms

I'm not sure how to determine where it hotplugs. I am using Kubuntu Edgy 6.10 386.

I have cat /etc/nut/ups.conf as
[ups1]
driver=newhidups
port=auto

When I run uspd I end up with:

Network UPS Tools upsd 2.0.4
Can't bind TCP port number 3493: Address already in use

If I run upsdrvctl start I end up with:

Network UPS Tools - UPS driver controller 2.0.4
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4)

No matching USB/HID UPS found
Driver failed to start (exit status=1)

Any help would be greatly appreciated. I'm confused at this point.

tskears 03-10-2007 04:53 PM

It sounds like you have the same problems I had under PCLinuxOS (UPS not detected, etc, etc)

I'm not sure how it will work with Ubuntu but as I noted in my post, my final work-around was to download, build and install NUTS from source.
(http://www.networkupstools.org/sourc...t-2.0.5.tar.gz)
After I did that, I was able to detect and configure my UPS through the PCLinuxOS Control Centre without having to manually edit any configuration files. I never did manage to have upsd start at bootup, but starting it manually is not exactly onerous.

If you're running Ubuntu, there may be a DEB package that will save you having to build 2.0.5 from source.
(http://packages.debian.org/cgi-bin/d...i386&type=main)


All times are GMT -5. The time now is 09:01 AM.