Mike Raath
2012-Oct-18 06:12 UTC
[Nut-upsuser] Setting up Apollo Line Interactive UPS on Ubuntu
Hi Having followed this guide: http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/and seeing support for Apollo UPSes mentioned on the compatibility list (genericups, type=4) I tried to set up Nut as follows. OS: Ubuntu Server 12.04 Nut: 2.6.3 (I believe - from Ubuntu repos) ups.conf:> [apollo] > driver = genericups > upstype = 4 > port = /dev/ttyUSB0Problem is that there is no ttyUSB0 device. UPS attaches to machine via USB cable, and lsusb indicates that it is a Cypress Semiconductor USB to Serial cable.> $ lsusb > 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 > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 004 Device 002: ID 0665:5161 Cypress Semiconductor USB to SerialI have seen that the USB ports should be created by> sudo mknod /dev/ttyUSB0 c 188 0but I am unsure how to get the Cypress converter to bind to this port, nor how to get the port to be auto-created. If I'm heading down the wrong path, please let me know, otherwise, please point me in the right direction? Thanks Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121018/4928ec59/attachment.html>
Arnaud Quette
2012-Oct-18 20:15 UTC
[Nut-upsuser] Setting up Apollo Line Interactive UPS on Ubuntu
2012/10/18 Mike Raath <raathm at gmail.com>> HiHi Mike,> Having followed this guide: > http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/and seeing support for Apollo UPSes mentioned on the compatibility list > (genericups, type=4) I tried to set up Nut as follows. > > OS: Ubuntu Server 12.04 > Nut: 2.6.3 (I believe - from Ubuntu repos) > > ups.conf: > >> [apollo] >> driver = genericups >> upstype = 4 >> port = /dev/ttyUSB0 > > > Problem is that there is no ttyUSB0 device. UPS attaches to machine via > USB cable, and lsusb indicates that it is a Cypress Semiconductor USB to > Serial cable. > >> $ lsusb >> 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 >> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 004 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial > >try using this in ups.conf: [apollo] driver = blazer_usb port = auto start the driver using: $ /lib/nut/blazer_usb -u root -DDDDD -a apollo let the driver run for a couple of minutes, then Ctrl+C, and send back the output in compressed form. cheers, Arnaud -- Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121018/bbcf7f16/attachment.html>
Mike Raath
2012-Oct-18 20:22 UTC
[Nut-upsuser] Setting up Apollo Line Interactive UPS on Ubuntu
Hope I let it run for long enough - compressed output attached. On 18 October 2012 22:15, Arnaud Quette <aquette.dev at gmail.com> wrote:> > 2012/10/18 Mike Raath <raathm at gmail.com> > >> Hi > > > Hi Mike, > > >> Having followed this guide: >> http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/and seeing support for Apollo UPSes mentioned on the compatibility list >> (genericups, type=4) I tried to set up Nut as follows. >> >> OS: Ubuntu Server 12.04 >> Nut: 2.6.3 (I believe - from Ubuntu repos) >> >> ups.conf: >> >>> [apollo] >>> driver = genericups >>> upstype = 4 >>> port = /dev/ttyUSB0 >> >> >> Problem is that there is no ttyUSB0 device. UPS attaches to machine via >> USB cable, and lsusb indicates that it is a Cypress Semiconductor USB to >> Serial cable. >> >>> $ lsusb >>> 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 >>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >>> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >>> Bus 004 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial >> >> > try using this in ups.conf: > [apollo] > driver = blazer_usb > port = auto > > start the driver using: > $ /lib/nut/blazer_usb -u root -DDDDD -a apollo > > let the driver run for a couple of minutes, then Ctrl+C, and send back the > output in compressed form. > > cheers, > Arnaud > -- > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org > Debian Developer - http://www.debian.org > Free Software Developer - http://arnaud.quette.fr > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121018/00eedf5c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.zip Type: application/zip Size: 3414 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121018/00eedf5c/attachment-0001.zip>