apcupsd no hiddevx created
location: linuxquestions.com - date: March 14, 2011
I have been trying to get a APC Back-UPS ES 750 to talk to my main system for about six months without success.
The problem, I never see a hiddevx created when I plug in the usb cable from the UPS supply.
What I know so far.
The UPS works on my HP netbook running Ubuntu. ( I can provide more details if required ). The monitoring software works fine with the netbook.
On my main desktop, its a no go.
The desktop system board is a Gigabyte GA-M61SME-S2 running the latest BIOS available. I updated the BIOS with no effect on this problem. I can hot plug many other USB devices on the system and all are recognized properly. This includes a Brother printer, three digital cameras, a web cam, and two USB memory sticks.
I have been through the documentation here -->http://www.apcupsd.com/ for the daemon. I can find nothing wrong. I have all the necessary modules loaded.
Apcupsd Ubuntu 13.0 FATAL ERROR in linuxusb.c at line 609
location: ubuntuforums.com - date: December 22, 2013
I need help in setting up apcupsd on Ubuntu 13.04. I hope I am posting in the correct section.
I am running apcupsd 3.14.10-2build1 for armhf archirecture ,Ubuntu 13.04 on Beagle Bone Black.
Im getting "Error contacting apcupsd @ localhost:3551: Connection refused" when I type apcaccess status
Below are some details.
ACP UPS Model : APC BR1500G-IN
I am connecting via a cable that has USB in one end and Ethernet plug in other end. USB is connected to computer and ethernet plug is connected to UPS.
Output of uname -a
Linux arm 3.8.13-bone32 #1 SMP Fri Dec 13 20:05:25 UTC 2013 armv7l armv7l armv7l GNU/Linux
Output of lsusb
Bus 001 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output of apctest
2013-12-22 12:39:00 apctest 3.14.10 (13 September 2011) debian
Checking configuration ...
Attached to driver: usb
location: linuxquestions.com - date: August 15, 2012
I been going to hell and back getting apcupsd working on Slackware 13.37 x86_64
Here is what I get as an error:
2012-08-15 22:07:22 -0500 apcupsd FATAL ERROR in linux-usb.c at line 605
Cannot open UPS device: "/dev/usb/hiddev0" --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
2012-08-15 22:07:22 -0500 apcupsd error shutdown completed
My APC device ID:
Bus 006 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
from messages log:
Aug 11 00:12:25 oscuridad kernel: [ 9.492015] usb 6-2: new full speed USB device using uhci_hcd and address 2
Aug 11 00:12:25 oscuridad kernel: [ 9.657080] usb 6-2: New USB device found, idVendor=051d, idProduct=0002
Aug 11 00:12:25 oscuridad kernel: [ 9.660989] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 11 00:12:25 oscuridad kernel: [ 9.664938] usb 6-2: Product: Back-UPS XS
Error contacting apcupsd @ localhost:3551: Connection refused
location: ubuntuforums.com - date: June 9, 2011
I am trying to get apcupsd going. I have installed it thru synaptic, set it up accordingly to the various guides one can find across the net.
When I run "acpaccess" I get the following error.
"Error contacting apcupsd @ localhost:3551: Connection refused"
What, if anything, can I do to rectify the above situtation.
I am on Ubuntu Lucid 10.04.2 Desktop.
UPS Monitoring without SNMP (apcupsd > zabbix) Need some help
location: linuxquestions.com - date: September 12, 2010
So I looked around and I haven't found an answer, but I did see some advanced applications for unsupported methods. They all involve putting the data into a file that Zabbix can read.
Here is the data as dumped by apcupsd every 5 seconds:
apcupsd not waking suspended server when battery loses charge
location: ubuntuforums.com - date: July 1, 2013
Running Ubuntu server 13.04, with APC500ES connected using USB cable.
apcupsd works fine when server is up and running. As soon as battery is almost drained, it shuts down server.
However, I want to pm-suspend my server and only wake it when needed. When I lose power during pm-suspend, and battery gets drained, server simply loses power, triggering an (EXT4-fs] recovery on next boot according to dmesg.
My concern is corrupt filesystems, and I have a RAID-0 plus a RAID-1 array that I do not want to suffer during powerloss.
Anyone know if apcupsd can be configured to wake up server to be able to do clean shutdown before battery is fully drained?
APCUPSD Problem, apcaccess status is blank
location: linuxquestions.com - date: January 25, 2011
Does not show online or offline, apctest says apcupsd getline failed apparently the link is not up?
here is my conf file:
APC SmartUPS and apcupsd
location: linuxquestions.com - date: June 13, 2006
I have been trying to get apcupsd working but every time I start the service I get the following error:
config apcupsd for Slackware?
location: linuxquestions.com - date: June 14, 2006
So I've installed apcupsd for Slackware and I am reading thru the documentation at:
Which talks about setting up hiddenV under either /dev or /dev/usb. The documentation also talks about running a script to do that, but I don't see that under /etcapcupsd.
Does anyone know what my next step is?
APCUPSd: Custom commands at shutdown
location: ubuntuforums.com - date: October 20, 2014
So I have been doing a bunch of reading on this and come up a little short.
Many guides suggest editing the /etc/apcupsd/apcontrol script to insert custom commands at shutdown time, but the comments in the file itself warns against doing this, as this file is replaced during updates.
There are many references to a "proper" way of doing this, but I have googled a lot and not come up with what this proper way is.
In my setup, I would like to use plink to send an ssh command to shutdown another host when battery power gets low.
I tried this by entering commands into apccontrol (like is recommended against) and my commands that work fine in shutting down the remote system when entered directly in console, are not having any effect once called from apccontrol. I am currently assuming this is because the server with apcupsd installed is running on an ssd, and thus shuts down VERY fast, possibly before the completion of my command.
Does anyone have any suggestions?