# apcupsd does not find UPS device

**URL:** <https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878>\
**Category:** SLES Configure-Administer\
**Created:** [July 18, 2014, 5:28pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878 "2014-07-18T17:28:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flako000](https://avatars.discourse-cdn.com/v4/letter/f/da6949/32.png) [@Flako000](https://forums.suse.com/u/Flako000)\
**Post date:** [July 18, 2014, 5:28pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878/1 "2014-07-18T17:28:50Z")

</div>

Hi there  
I am trying to configure “UPS Lyonn ULT-2000VT” with apcupsd in SLES11SP3, is connected via USB, below is the apcupsd.conf

apcaccess to run shows error: “Error Contacting apcupsd @ localhost: 3551: Connection refused”,  
This error is because when the service starts /usr/sbin/apcupsd stops after 3 seconds, indicating errors that did not find the device.

[http://www.apcupsd.com](http://www.apcupsd.com) look into the cases of failure, change udev rules thinking it may be because you do not show the /dev/usb/hiddev, but after editing files without understanding and not make it work … .'m here to ask 🙂

I have to configure some of the udev usb to work? or simply SES11 no driver for Lyonn?

Below I leave errors:

` # cat /var/log/apcupsd.events 
Thu Jul 17 12:12:21 ART 2014 apcupsd FATAL ERROR in linux-usb.c at line 609
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
Thu Jul 17 12:12:21 ART 2014 apcupsd error shutdown completed
`

```auto
# apctest
2014-07-18 09:14:16 apctest 3.14.4 (18 May 2008) suse
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE
You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 609
Cannot find UPS device --
```

```auto
cat /etc/apcupsd/apcupsd.conf
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
```

Thank you for to get here …

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [July 18, 2014, 6:41pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878/2 "2014-07-18T18:41:09Z")

</div>

> [@](#):
>
> On Fri 18 Jul 2014 02:34:02 PM CDT, Flako000 wrote:
> 
> Hi there  
> I am trying to configure “UPS Lyonn ULT-2000VT” with apcupsd in  
> SLES11SP3, is connected via USB, below is the apcupsd.conf
> 
> apcaccess to run shows error: “Error Contacting apcupsd @ localhost:  
> 3551: Connection refused”,  
> This error is because when the service starts /usr/sbin/apcupsd stops  
> after 3 seconds, indicating errors that did not find the device.

Hi  
When the device is plugged in to the USB it is seen?

Can you post the output from;

```auto
lsusb
usb-devices
```

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [July 18, 2014, 6:51pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878/3 "2014-07-18T18:51:02Z")

</div>

On 18/07/2014 15:34, Flako000 wrote:  
[color=blue]

> I am trying to configure “UPS Lyonn ULT-2000VT” with apcupsd in  
> SLES11SP3, is connected via USB, below is the apcupsd.conf
> 
> apcaccess to run shows error: “Error Contacting apcupsd @ localhost:  
> 3551: Connection refused”,  
> This error is because when the service starts /usr/sbin/apcupsd stops  
> after 3 seconds, indicating errors that did not find the device.
> 
> [http://www.apcupsd.com](http://www.apcupsd.com) look into the cases of failure, change udev rules  
> thinking it may be because you do not show the /dev/usb/hiddev, but  
> after editing files without understanding and not make it work .. .'m  
> here to ask 🙂
> 
> I have to configure some of the udev usb to work? or simply SES11 no  
> driver for Lyonn?
> 
> Below I leave errors:
> 
> ## Code:
> 
> ```
> # cat /var/log/apcupsd.events
> 
> ```
> 
> Thu Jul 17 12:12:21 ART 2014 apcupsd FATAL ERROR in linux-usb.c at line 609  
> Cannot find UPS device –  
> For a link to detailed USB trouble shooting information,  
> please see [http://www.apcupsd.com/support.html](http://www.apcupsd.com/support.html).  
> Thu Jul 17 12:12:21 ART 2014 apcupsd error shutdown completed
> 
> * * *
> 
> ## Code:
> 
> # apctest
> 
> 2014-07-18 09:14:16 apctest 3.14.4 (18 May 2008) suse  
> Checking configuration …  
> Attached to driver: usb  
> sharenet.type = DISABLE  
> cable.type = USB\_CABLE  
> You are using a USB cable type, so I’m entering USB test mode  
> mode.type = USB\_UPS  
> Setting up the port …  
> apctest FATAL ERROR in linux-usb.c at line 609  
> Cannot find UPS device –
> 
> --------------------[/color]

I thought apcupsd was for use with an APC UPS which you don’t have …

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![Flako000](https://avatars.discourse-cdn.com/v4/letter/f/da6949/32.png) [@Flako000](https://forums.suse.com/u/Flako000)\
**Post date:** [July 19, 2014, 3:08pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878/4 "2014-07-19T15:08:47Z")

</div>

> [@smflood;22689](#):
>
> I thought apcupsd was for use with an APC UPS which you don’t have …

heee, heeee … mmmm … mmmm … ufff  
I had not thought … I thought that was APC acronym …  
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [July 19, 2014, 6:16pm UTC](https://forums.suse.com/t/apcupsd-does-not-find-ups-device/25878/5 "2014-07-19T18:16:21Z")

</div>

> [@](#):
>
> On Sat 19 Jul 2014 12:14:01 PM CDT, Flako000 wrote:
> 
> smflood;22689 Wrote:[color=blue]
> 
> > I thought apcupsd was for use with an APC UPS which you don’t have …  
> > [/color]
> 
> heee, heeee … mmmm … mmmm … ufff  
> I had not thought … I thought that was APC acronym …  
> Thank you 🙂

Hi  
The reason i asked about the usb info was the other option is NUT;  
It shows the blazer\_usb driver as supporting the CTB-1200 model  
[http://www.networkupstools.org/stable-hcl.html](http://www.networkupstools.org/stable-hcl.html)

Might be worth further investigation.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!
