Note that the “ugen” driver is called out. If you see “uhid” instead, it probably means you did not properly disable the uhid driver when you compiled your kernel or perhaps you’re not running the new kernel.

You can also check with ’usbdevs -d’ to get a list of USB devices recognized by the system as well as the drivers they are associated with. For example:

# usbdevs -d

addr 1: UHCI root hub, VIA uhub0

addr 2: Back-UPS RS 1500 FW:8.g6 .D USB FW:g6, American Power Conversion ugen0

MAKING DEVICE NODES

Apcupsd communicates with the UPS through the USB generic device, ugen. You may or may not need to manually make ugen device nodes in /dev, depending on what OS you are using.

FreeBSD: No manual intervention needed. FreeBSD automatically creates the ugen nodes on demand.

NetBSD: By default, NetBSD only creates nodes for the first ugen device, ugen0. Check ’usbdevs -d’ to see which device your UPS was bound to and then create the appropriate nodes by running ’cd /dev ; ./MAKEDEV ugenN’, where ugenN is the ugen device name shown by usbdevs. It is probably a good idea to create several sets of ugen nodes in case you add more USB devices.

OpenBSD: Similar to NetBSD, OpenBSD creates nodes for ugen0 and ugen1. Check ’usbdevs -d’ to see which device your UPS was bound to and then create the appropriate nodes by running ’cd /dev ; ./MAKEDEV ugenN’, where ugenN is the ugen device name shown by usbdevs. It is probably a good idea to create several sets of ugen nodes in case you add more USB devices.

APCUPSD CONFIGURATION

Apcupsd must be built with USB support, which is accomplished via the —enable-usb switch to configure.

Your apcupsd.conf file needs the following hardware-related settings:

UPSCABLE usb

UPSTYPE usb

DEVICE

30

Page 31
Image 31
APC UPS control system manual Making Device Nodes, Apcupsd Configuration

UPS control system specifications

APC UPS (Uninterruptible Power Supply) control systems are vital components for ensuring uninterrupted power supply and protecting critical equipment from power interruptions, surges, or fluctuations. Designed by Schneider Electric, APC UPS systems are renowned for their high quality and reliability. They utilize advanced technologies and features to suit diverse applications, from home offices to large industrial settings.

One of the main features of APC UPS systems is the ability to provide backup power during outages. This is achieved through a battery system that activates immediately when the mains power fails. This seamless transition minimizes downtime and ensures that electronic devices continue to operate, protecting data integrity and equipment lifespan.

Another significant characteristic of APC UPS systems is their intelligent management capabilities. Most models come with PowerChute software, which provides users with real-time monitoring of power conditions and the status of the UPS. This software allows for graceful shutdowns of connected devices during extended outages, thereby preventing data loss and damage to devices.

APC UPS systems also incorporate advanced technologies such as Automatic Voltage Regulation (AVR). AVR technology ensures that the output voltage remains stable by correcting minor fluctuations without switching to battery mode. This not only prolongs the battery life but also provides a consistent power supply to the connected equipment.

Thermal management is another critical aspect of APC UPS control systems. The design often includes efficient cooling systems that prevent overheating, ensuring optimal performance and longevity of the unit. Some models feature EcoMode, which reduces energy consumption and lowers operational costs by working at high efficiency only when battery backup is not required.

APC UPS systems are designed with scalability in mind. Users can easily add more batteries or connect additional UPS units to accommodate growing power needs. Features such as hot-swappable batteries and modular design facilitate easy upgrades and servicing without interrupting power supply.

In terms of connectivity, APC UPS products often feature multiple options including USB, RS-232, and network management capabilities. This enables users to connect remote management tools and integrate the UPS with existing IT infrastructure.

In summary, APC UPS control systems deliver reliability, efficiency, and advanced technology features that cater to a wide array of power protection needs, making them a trusted choice for individuals and businesses alike.