LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-21-2007, 08:40 AM   #1
tskears
Member
 
Registered: Apr 2005
Location: Ottawa, Canada.
Distribution: PCLinuxOS.
Posts: 122

Rep: Reputation: 15
Question 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,
 
Old 01-21-2007, 02:58 PM   #2
tskears
Member
 
Registered: Apr 2005
Location: Ottawa, Canada.
Distribution: PCLinuxOS.
Posts: 122

Original Poster
Rep: Reputation: 15
Smile 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.
 
Old 03-09-2007, 09:44 PM   #3
nonsense28sal
Member
 
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Rep: Reputation: 15
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.
 
Old 03-10-2007, 04:53 PM   #4
tskears
Member
 
Registered: Apr 2005
Location: Ottawa, Canada.
Distribution: PCLinuxOS.
Posts: 122

Original Poster
Rep: Reputation: 15
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl-start timeout error while connecting to pppoe configured connection .™PãRIKRåMå™. Linux - Networking 1 03-25-2006 01:58 AM
CyberPower UPS? Reasonably decent or junk? haertig Linux - Hardware 7 02-17-2006 05:01 PM
Connecting a Minuteman UPS SentryII software via USB Cable Jerre Cope Linux - Hardware 0 08-17-2005 01:26 AM
Wireless card not connecting to Access Point looks configured though embalmedlenin Linux - Wireless Networking 6 08-13-2005 07:23 AM
NUT and CyberPower UPSs cellist Linux - Hardware 3 07-05-2005 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration