Lonnie,
The UPS seems to be okay, I plugged the USB cable into my MacBook...
Back-UPS RS 1500 FW:8.g9 .D USB FW:g9 :
Product ID: 0x0002
Vendor ID: 0x051d (American Power Conversion)
Version: 1.06
Serial Number: JB0521019999
Speed: Up to 1.5 Mb/sec
Manufacturer: American Power Conversion
Location ID: 0x14200000 / 8
Current Available (mA): 1000
Current Required (mA): 24
Extra Operating Current (mA): 0
And OS X recognizes it as valid UPS. I can also pull the plug on it and it
switches over to battery power just fine.
Plugging it back into AstLinux and it is not seen by the USB drivers...
pbx ~ # lsusb
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pbx ~ #
I also looked at the boot messages...
pbx ~ # dmesg | grep usb
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
usb 1-1: new high-speed USB device number 2 using ehci_hcd
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
pbx ~ #
No errors there, but neither has it loaded usbhid-usb driver. What do you
see on your system?
Bit of a head scratcher.
Thanks,
David
On Fri, Jul 8, 2016 at 9:44 PM, Lonnie Abelbeck <li...@lonnie.abelbeck.com>
wrote:
> Hi David,
>
> Are you certain you got the replacement battery connected with the correct
> polarity ?
>
> Does "lsusb" show the UPS ?
> --
> # lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible
> Power Supply
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> --
>
> Sound like a hardware-physics thing given it was working before replacing
> the battery.
>
> Out of curiosity, what is the UPS model ?
>
> Lonnie
>
>
>
> On Jul 8, 2016, at 7:06 PM, David Kerr <da...@kerr.net> wrote:
>
> > I just replaced the batteries in my UPS and now my log file is filling
> up with error messages...
> >
> > Jul 8 19:18:32 pbx daemon.err upsmon[13287]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:18:37 pbx daemon.err upsmon[13287]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:18:42 pbx daemon.err upsmon[13287]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:18:47 pbx daemon.info upsmon[13287]: Signal 15: exiting
> > Jul 8 19:18:47 pbx daemon.info upsd[13282]: User master@::1 logged out
> from UPS [ups]
> > Jul 8 19:18:47 pbx daemon.err upsmon[13285]: upsmon parent: read
> > Jul 8 19:18:47 pbx daemon.err upsd[13282]: mainloop: Interrupted system
> call
> > Jul 8 19:18:47 pbx daemon.info upsd[13282]: Signal 15: exiting
> > Jul 8 19:18:48 pbx daemon.info upsd[14111]: listening on ::1 port 3493
> > Jul 8 19:18:48 pbx daemon.info upsd[14111]: listening on 127.0.0.1
> port 3493
> > Jul 8 19:18:48 pbx daemon.err upsd[14111]: Can't connect to UPS [ups]
> (usbhid-ups-ups): No such file or directory
> > Jul 8 19:18:48 pbx daemon.info upsd[14112]: Startup successful
> > Jul 8 19:18:48 pbx daemon.info upsmon[14115]: Startup successful
> > Jul 8 19:18:48 pbx daemon.info upsd[14112]: User master@::1 logged
> into UPS [ups]
> > Jul 8 19:18:48 pbx daemon.err upsmon[14117]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:18:48 pbx daemon.notice upsmon[14117]: Communications with UPS
> ups@localhost lost
> > Jul 8 19:18:49 pbx mail.info msmtp: host=smtp.gmail.com tls=on auth=on
> user=p...@mydomain.org from=r...@mydomain.org recipients=da...@mydomain.org
> mailsize=352 smtpstatus=250 smtpmsg='250 2.0.0 OK 1468019929
> n89sm637881qte.38 - gsmtp' exitcode=EX_OK
> > Jul 8 19:18:49 pbx mail.info msmtpqueue: Success: /var/spool/mail/
> 2016-07-08-19.18.48-0.msmtp
> > Jul 8 19:18:53 pbx daemon.err upsmon[14117]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:18:53 pbx daemon.notice upsmon[14117]: UPS ups@localhost is
> unavailable
> > Jul 8 19:18:58 pbx daemon.err upsmon[14117]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:19:03 pbx daemon.err upsmon[14117]: Poll UPS [ups@localhost]
> failed - Driver not connected
> > Jul 8 19:19:08 pbx daemon.err upsmon[14117]: Poll UPS [ups@localhost]
> failed - Driver not connected
> >
> >
> > The "signal 15" is me restarting the UPS monitor. The "driver not
> connected" messages are filling up my log file.
> >
> > I have checked the cables, made sure they are properly connected. I have
> rebooted AstLinux. But still I get these messages.
> >
> > Does anyone have a suggestion of what to look for?
> >
> > Thanks,
> > David
> >
> >
> >
> ------------------------------------------------------------------------------
> > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> > Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> > present their vision of the future. This family event has something for
> > everyone, including kids. Get more information and register today.
> > http://sdm.link/attshape_______________________________________________
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.