Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-25 Thread Rob Groner
> -Original Message- > From: Charles Lepple [mailto:clep...@gmail.com] > Sent: Thursday, September 24, 2015 10:33 PM > To: Tim Dawson <tadaw...@tpcsvc.com> > Cc: Rob Groner <rgro...@rtd.com>; nut-upsuser Mailing List upsu...@lists.alioth.debian.org> > S

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-24 Thread Rob Groner
f Rob Groner > Sent: Wednesday, September 23, 2015 9:02 AM > To: Charles Lepple <clep...@gmail.com> > Cc: nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> > Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 > > > >As I am not familiar with ope

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-24 Thread Tim Dawson
Sent: Wednesday, September 23, 2015 9:02 AM >> To: Charles Lepple <clep...@gmail.com> >> Cc: nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> >> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 >> >> >> >As I am not familiar with open

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-24 Thread Charles Lepple
On Sep 24, 2015, at 12:20 PM, Tim Dawson wrote: > > The "#! " is a *nix thing that exists in every *nix I have ever seen, > for as long as I know (mid 1980's for me . . ) and is used to specify what > shell is to be loaded to run that script More specifically, this dates

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-23 Thread Rob Groner
>As I am not familiar with openSUSE's ldconfig, is there an /etc/ld.so.conf or >/etc/ld.so.conf.d/* entry >pointing to /usr/local/lib64? I am not sure if >libusb-0.1 tries to rerun ldconfig after installing, but if after >>uninstalling libusb-compat, there are problems linking to the real

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Rob Groner
om> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 21, 2015, at 9:39 AM, Rob Groner <rgro...@rtd.com> wrote: > > I didn't think to look for a log (attached), b

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Tim Dawson
h.debian.org Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 Rob - Just stepping in from the sidelines . . . with a few tidbits. Nut uses pkgconfig to find and identify stuff as part of it's build . . . So, depending on where your libusb install went, if it wasn't in the defau

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Rob Groner
2015 4:52 PM To: Rob Groner <rgro...@rtd.com>; nut-upsuser@lists.alioth.debian.org Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 For fun, if you want to see where the system thinks it is linking a library from, you can use "ldconfig -p" and it will give you a path to all kn

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Tim Dawson
eptember 21, 2015 7:30 PM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 21, 2015, at 9:39 AM, Rob Groner <rgro...@rtd.com&g

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Rob Groner
] On Behalf Of Tim Dawson Sent: Tuesday, September 22, 2015 3:56 PM To: nut-upsuser@lists.alioth.debian.org Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 Rob - Just stepping in from the sidelines . . . with a few tidbits. Nut uses pkgconfig to find and identify stuff as part

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Tim Dawson
bian.org Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 For fun, if you want to see where the system thinks it is linking a library from, you can use "ldconfig -p" and it will give you a path to all known libraries that it can find. If you have one loaded, and it can't find it (odd d

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-22 Thread Charles Lepple
On Sep 22, 2015, at 3:47 PM, Rob Groner wrote: > So, here is what I think I know: > > NUT is using the libusb-1.0.20 library, by way of the libusb-compat layer. > When I check the configure log, it says "libusb-0.1.12" I'm not sure why it > says that, as in where it gets

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-21 Thread Rob Groner
d.com -Original Message- From: Charles Lepple [mailto:clep...@gmail.com] Sent: Friday, September 18, 2015 7:06 PM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser]

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-21 Thread Charles Lepple
On Sep 21, 2015, at 9:39 AM, Rob Groner wrote: > > I didn't think to look for a log (attached), but now looking in it, I don't > see anything more than I already thought I knew. It's as cryptic as > configure itself. > > It does reference the line in the configure where

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-18 Thread Rob Groner
ptember 17, 2015 9:13 AM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 15, 2015, at 9:31 PM, Charles Lepple <clep...@gmail.co

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-18 Thread Charles Lepple
On Sep 18, 2015, at 2:45 PM, Rob Groner wrote: > > Well, I've spent a couple hours on this, unable to figure it out. I removed > the libusb-compat-devel package using zypper. And I've downloaded, built, > and installed libusb from sourceforge. But trying to configure nut

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-18 Thread Rob Groner
> What I missed before was that you have both "libusb-0.1.so.4" (from > libusb-compat) and "libusb- > 1.0.so.0" (what libusb-compat calls through to). Uh...is that good? :) Looking at the list of libusb entries from the working (openSUSE 13.1 w/libusb from the ISO) and non-working

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-17 Thread Rob Groner
Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 15, 2015, at 9:31 PM, Charles Lepple <clep...@gmail.com> wrote: > >> Trying to track down the source of the problem, I c

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-17 Thread Charles Lepple
On Sep 15, 2015, at 9:31 PM, Charles Lepple wrote: > >> Trying to track down the source of the problem, I checked Yast to make sure >> I had at least 0.1.8 version for libusb. I saw this (attached photo). Is >> it then actually using –compat instead of the “real” libusb?

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-17 Thread Rob Groner
mber 17, 2015 9:13 AM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 15, 2015, at 9:31 PM, Charles Lepple <clep...@gmail

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-17 Thread Charles Lepple
On Sep 17, 2015, at 10:56 AM, Rob Groner wrote: > > So far, the systemd service unit is working perfectly. Halleluia! Good news! > For reference, here are the libs associated with the usbhid-ups driver: > > rtd@linux-fnda:/etc/init.d> ldd /usr/local/ups/bin/usbhid-ups >

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-16 Thread Rob Groner
ogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 15, 2015, at 5:12 PM, Rob Groner <rgro...@rtd.com> wrote: > > Charles, > > Trying to track down the source of the problem, I che

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-16 Thread Charles Lepple
On Sep 16, 2015, at 11:46 AM, Rob Groner wrote: > I then added - to the commandand then it failed, giving me the same > "Can't claim USB" message. Why does adding the debug commands cause a > problem? It doesn't write a PID file in debug mode:

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-16 Thread Rob Groner
Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 16, 2015, at 11:46 AM, Rob Groner <rgro...@rtd.com> wrote: > I then added - to the commandand then it failed, giving me

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-15 Thread Charles Lepple
On Sep 15, 2015, at 5:12 PM, Rob Groner wrote: > > Charles, > > Trying to track down the source of the problem, I checked Yast to make sure I > had at least 0.1.8 version for libusb. I saw this (attached photo). Is it > then actually using –compat instead of the “real”

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-15 Thread Rob Groner
t-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 10, 2015, at 8:49 AM, Rob Groner <rgro...@rtd.com> wrote: > > Charles, > > 3.16.6.-2-desktop I think that corresponds to this file: http://lxr.free-e

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-14 Thread Rob Groner
I just tried it with a clean install of Ubuntu 14.04no problems, gives ups shutdown command just like it should. So that's Ubuntu and Porteus: Good! openSUSE: Bad! Rob Groner Software Engineer Level II RTD Embedded Technologies, Inc. ISO 9001 and AS9100 Certified Ph: +1 814-234-8087

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-10 Thread Charles Lepple
On Sep 10, 2015, at 8:49 AM, Rob Groner wrote: > > Charles, > > 3.16.6.-2-desktop I think that corresponds to this file: http://lxr.free-electrons.com/source/drivers/usb/core/devio.c?v=3.16 (but I don't see anything obvious there) What does "lsusb -vvv -d 2a37:" return?

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-10 Thread Rob Groner
suser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 9, 2015, at 10:12 AM, Rob Groner <rgro...@rtd.com<mailto:rgro...@rtd.com>> wrote: linux-5048:/home/rtd # ldd /usr/local/ups/bin/usbhid-ups linux-vdso.so.1

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-10 Thread Rob Groner
14-234-8087 www.rtd.com -Original Message- From: Charles Lepple [mailto:clep...@gmail.com] Sent: Thursday, September 10, 2015 9:44 AM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.o

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-10 Thread Charles Lepple
On Sep 10, 2015, at 10:28 AM, Rob Groner wrote: > [...] > I noticed the "can't open device" at the top of the listing before, but I > also saw that every other entry in the results from "lsusb -vvv" (including > the mouse) had the same string, so I didn't think it was unusual.

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-09 Thread Charles Lepple
On Sep 9, 2015, at 9:40 AM, Rob Groner wrote: > > I'm not sure which USB lib it compiled against. What does this return? ldd /path/to/driver___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-09 Thread Rob Groner
015 10:05 AM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 9, 2015, at 9:40 AM, Rob Groner <rgro...@rtd.com<mailto:r

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-09 Thread Rob Groner
er@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 8, 2015, at 4:48 PM, Rob Groner <rgro...@rtd.com> wrote: > > 0.005927Device matches > 0.005940failed to claim USB device: Device or resource busy > 0.005954failed to detac

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-09 Thread Charles Lepple
> On Sep 9, 2015, at 10:12 AM, Rob Groner wrote: > > linux-5048:/home/rtd # ldd /usr/local/ups/bin/usbhid-ups > linux-vdso.so.1 (0x7fff403fc000) > libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 (0x7f7c34b56000) The last line seems to indicate that it is

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-09 Thread Rob Groner
nesday, September 09, 2015 10:05 AM To: Rob Groner <rgro...@rtd.com> Cc: Roger Price <ro...@rogerprice.org>; nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Sep 9, 2015, at 9:40 AM, Rob Groner <rgro...@rtd

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-08 Thread Roger Price
On Tue, 8 Sep 2015, Rob Groner wrote: I executed lsusb to verify the USB device is there, and it is. I tried the shutdown command again with debug enabled, but it didn't seem to reveal much more: ---

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-08 Thread Rob Groner
rom: Nut-upsuser [mailto:nut-upsuser-bounces+rgroner=rtd@lists.alioth.debian.org] On Behalf Of Roger Price Sent: Tuesday, September 08, 2015 4:25 PM To: nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Tue, 8 Sep

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-08 Thread Roger Price
On Tue, 8 Sep 2015, Rob Groner wrote: Roger, rtd@linux-5048> sudo /usr/local/ups/bin/usbhid-ups -a rtdups -k -DDD Network UPS Tools - Generic HID driver 0.39 (2.7.2.6_RTD) USB communication driver 0.32 0.00 debug level is '3' 0.000405 upsdrv_initups... ... 0.004555

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-08 Thread Charles Lepple
On Sep 8, 2015, at 4:48 PM, Rob Groner wrote: > > 0.005927Device matches > 0.005940failed to claim USB device: Device or resource busy > 0.005954failed to detach kernel driver from USB device: No such file or > directory Rob, this is a bit of a tough one to

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-08 Thread Rob Groner
om: Nut-upsuser [mailto:nut-upsuser-bounces+rgroner=rtd@lists.alioth.debian.org] On Behalf Of Roger Price Sent: Saturday, September 05, 2015 5:13 AM To: nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Fri, 4 Sep 2

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-05 Thread Roger Price
On Fri, 4 Sep 2015, Rob Groner wrote: Well, I tried the same script method with openSUSE 13.2, and it still did not execute. So I tried the system method, and it worked 1 time out of 3 attempts. I captured the last failure: 2015-09-04T11:43:38.825317-04:00 linux-5048 upsdrvctl[1887]: Can't

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-04 Thread Roger Price
Hello Bob, I had preferred the shutdown script method because it was a little more straight-forward, and possibly more portable. This guide is meant to help people get the UPS up and running, whatever their Linux distro. I don't know how common the systemd implementation is across various

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-04 Thread Rob Groner
ser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 Hello Bob, > I had preferred the shutdown script method because it was a little > more straight-forward, and possibly more portable. This guide is > meant to help people get the UPS up and running, whatever their Lin

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-03 Thread Roger Price
On Thu, 3 Sep 2015, Rob Groner wrote: I’ve followed your excellent guide for setting up NUT in openSUSE 13.1.  I’ve had great luck IN THE PAST, but for some reason now that I am trying to set it up again from scratch, I’m getting a weird error. Everything works except for the UPS shutdown. 

Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1

2015-09-03 Thread Rob Groner
groner=rtd@lists.alioth.debian.org] On Behalf Of Roger Price Sent: Thursday, September 03, 2015 11:18 AM To: nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org> Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1 On Thu, 3 Sep 2015, Rob Groner wrote: > I’ve followed y