I'm currently battling my way through building a Home Media/Automation Center PC. As usual I don't take the easy route and buy something off the shelf. There seems to be a switch within me that flicks on when approaching situations, rather than trying to solve the immediate issue, I step back and look at what I can encompass beyond the initial opportunity, and then resolutely pursue a course of action that I know in my deepest innards will cause me blood, sweat and tears, and leave me feeling that I should have just done what millions of people do and buy a product that works out of the box. Perhaps there is a masochistic streak in me, or perhaps tinkering with technology is my yin and yang, but here I am again, and my feet keep plodding forward :-)
Background This article provides a guide for installing a USB UPS attached to a Raspberry Pi. In my case I had purchased a GreenCell 600 360W USB UPS. Integrating the USB UPS requires using NUT (Network UPS Tools). This UPS uses the blazer_usb driver. Installation NUT Plug-In the UPS USB-Connection to the host. My device showed up as Device 006 below: # lsusb Bus 001 Device 006: ID 0001:0000 Fry's Electronics MEC0003 Bus 001 Device 005: ID 0bda:0309 Realtek Semiconductor Corp. USB3.0-CRW Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub Install the NUT package with the apt package manager: sudo apt-get install nut Make some configurations and changes in the nut directory /etc/nut: # cd /etc/nut drwxr-xr-x 2 root nut 40...
Comments
Post a Comment