David,

Thanks for reporting, something to watch for with the APU2.

To be clear, was your "soft reboot" a "reboot" from the CLI or "kernel-reboot" 
from the CLI or a web interface reboot (kernel-reboot) ?

Lonnie


On Jul 9, 2016, at 12:02 PM, David Kerr <da...@kerr.net> wrote:

> So I don't know what the problem was exactly but I am now working again.  I 
> tried plugging in a USB memory stick to the AstLinux box and it was not 
> recognized either so I decided to do a hard reboot (disconnect the power 
> after a shutdown, wait 10 seconds, connect power again).  That solved the 
> problem.  Whatever state it had got into just doing a soft reboot did not 
> correct it...
> 
> 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
> Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible 
> Power Supply
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> pbx ~ # dmesg | grep usb
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver 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
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> usb 1-1: new high-speed USB device number 2 using ehci_hcd
> usb 2-1: new low-speed USB device number 2 using xhci_hcd
> usb 2-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 
> microframes
> generic-usb 0003:051D:0002.0001: hiddev0: USB HID v1.10 Device [American 
> Power Conversion Back-UPS RS 1500 FW:8.g9 .D USB FW:g9 ] on 
> usb-0000:00:10.0-1/input0
> pbx ~ #
> 
> 
> Thanks,
> David
> 
> 
> On Sat, Jul 9, 2016 at 10:11 AM, Lonnie Abelbeck <li...@lonnie.abelbeck.com> 
> wrote:
> David,
> 
> I just tested a APC "Back-UPS NS1080G" on my APU2 and it works fine.
> -- web interface --
> Model   Status  Utility UPS Load        Battery Chg.    Batt. Runtime
> Back-UPS NS1080G        OL      119.0 Volts     0 %     100 %   775 Minutes
> 
> Recent UPS Events:
> ==================
> 2016-07-09 08:53:56 - Network UPS Tools upsmon 2.7.4 started
> --
> # 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
> Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible 
> Power Supply
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> --
> # dmesg | grep usb
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver 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
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> usb 1-1: new high-speed USB device number 2 using ehci_hcd
> usb 2-1: new full-speed USB device number 2 using xhci_hcd
> usb 2-1: ep 0x81 - rounding interval to 512 microframes, ep desc says 800 
> microframes
> generic-usb 0003:051D:0002.0001: hiddev0: USB HID v1.00 Device [American 
> Power Conversion Back-UPS NS1080G FW:914.L1   .D USB FW:L1    ] on 
> usb-0000:00:10.0-1/input0
> --
> 
> If this is your APU2, then your custom build kernel does not have USB 3.0 
> enabled ( CONFIG_USB_XHCI_HCD=y ). Notice the "Linux Foundation 3.0 root hub" 
> and "new full-speed USB device number 2 using xhci_hcd" above.
> 
> The APU2 external USB ports require USB 3.0 kernel drivers.
> 
> Lonnie
> 
> 
> On Jul 8, 2016, at 9:55 PM, David Kerr <da...@kerr.net> wrote:
> 
> > 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.
> 
> 
> ------------------------------------------------------------------------------
> 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.

Reply via email to