Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Openserver 5.07 & APC UPS via USB Post 37126 by josramon on Thursday 12th of June 2003 08:14:02 PM
Old 06-12-2003
Openserver 5.07 & APC UPS via USB

I have the latest version of SCO Openserver 5.0.7. I'm trying to install a APC Uninerrupted Power Supply 750EX using the USB port. During the installation it was asking for a port to connect the APC into. The only choices are either tty1a, tty2a, or other. I chose other but it start asking me to manually specify a serial port to attach it to. H...E...L...P...!!!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SCO OpenServer & telnet

I was wondering if anyone knew how I would open up my server so it can be telneted into from other subnets.:confused: (2 Replies)
Discussion started by: cparks73
2 Replies

2. SuSE

Linux & External USB Modems

Hello There, I can understand that this is a classic problem with linux that it does not support even the hardware external modems. I have recently tried a USR External USB v 92 Modem (Model USR 5636). It has got its own DSP @56 Mhz, flash ram of 256 KBs and a EEPROM for upgrading the firmware.... (1 Reply)
Discussion started by: Jawwad
1 Replies

3. Solaris

Solaris 9 & USR USB Modem Configuration

Hello There, I just wanted to know if there is any possible configuration for setting up my external USR USB Modem in Solaris 9 (x86). Any help is definitely appreciated. Thanks Khurram Bashir (1 Reply)
Discussion started by: khurram
1 Replies

4. SCO

Openserver 6 & using a NEC DVD Writer

I'm trying to configure Openserver 6 with a NEC DVD writer to use as a backup - the DVD writer was originally installed as /dev/cd0 and installed the operating system. How do I mount the DVD writer and what command and mount point should I use? What program is available to support writing to... (2 Replies)
Discussion started by: ifleet2007
2 Replies

5. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

6. SCO

SCO 6. Backup & Restore from USB

Finaly got usb working on sco6. If anyone need help with that just ask. My final goal is to able to do a complete system backup/restore to/from usb. The problems I need help with 1. Can't cpio to usb device. Getting an error message device not found 2. When booted from sco6 emergency... (3 Replies)
Discussion started by: miles556
3 Replies

7. UNIX for Dummies Questions & Answers

SCO 5.0.5 & USB flash drive

Can someone help me with instructions on how to access a USB flash drive in SCO Unix 5.0.5? I need to copy ASCII text files that have been zipped onto the USB drive for transfer to a Windows computer. (0 Replies)
Discussion started by: jlodata
0 Replies

8. Red Hat

RHEL4&5 Automount for USB/CDROM/DVDROM

Hi Guys, as above, how do I enable automount for USB/CDROM/DVDROM in RHEL4 & 5? I have searched the forum on this topic but didn't find any. Also searched the net but it seems confusing and there are different ways to do things depending on the distros. Btw, I am on RHEL command line only... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies

9. UNIX for Dummies Questions & Answers

telnet via ssh to an APC UPS

Hello! First post, please be gentle! I have some APC UPS devices that I'm trying to log in to. They are currently configured to use telnet -- as a safety precaution, they can only be accessed from our 'bounce' machine. Because I want to do this from a script on my local machine, I'm doing it... (2 Replies)
Discussion started by: Korla Plankton
2 Replies

10. SCO

USB Printing for SCO UNIX OpenServer 5.0.7

Years ago I set up USB printing for SCO UNIX OpenServer 5.0.7 for a client--but I've misplaced my notes on how to do this! Maintenance Pack 5 is installed. I need step-by-step instructions to proceed. I've searched the SCO Knowledge Base site and found nothing there or elsewhere on the Web. (3 Replies)
Discussion started by: Transpower
3 Replies
USBHID-UPS(8)							    NUT Manual							     USBHID-UPS(8)

NAME
usbhid-ups - Driver for USB/HID UPS equipment NOTE
This man page only documents the hardware-specific features of the usbhid-ups driver. For information about the core driver, see nutupsdrv(8). This driver, formerly called newhidups, replaces the legacy hidups driver, which only supported Linux systems. SUPPORTED HARDWARE
usbhid-ups brings USB/HID UPS monitoring to NUT on all platform supporting USB through libusb. It should detect any UPS that uses the HID power device class, but the amount of data will vary depending on the manufacturer and model. At the present time, usbhid-ups supports: o the newer Eaton USB models, o all MGE USB models, o all Dell USB models, o some APC models, o some Belkin models, o some Cyber Power Systems models. o some TrippLite models For a more complete list, refer to the NUT hardware compatibility list, available in the source distribution as data/drivers.list, or on the NUT website. You may use the "explore" driver option to gather information from HID UPSes which are not yet supported; see below for details. This driver is known to work on: o most Linux systems, o FreeBSD (beta stage) and maybe other *BSD, o Darwin / Mac OS X, o Solaris 10. EXTRA ARGUMENTS
This driver also supports the following optional settings: offdelay=num Set the timer before the UPS is turned off after the kill power command is sent (via the -k switch). The default value is 20 (in seconds). Usually this must be lower than ondelay, but the driver will not warn you upon startup if it isn't. ondelay=num Set the timer for the UPS to switch on in case the power returns after the kill power command had been sent but before the actual switch off. This ensures the machines connected to the UPS are, in all cases, rebooted after a power failure. The default value is 30 (in seconds). Usually this must be greater than offdelay, but the driver will not warn you upon startup if it isn't. Some UPS'es will restart no matter what, even if the power is (still) out at the moment this timer elapses. In that case, you could try if setting ondelay = -1 in ups.conf helps. pollfreq=num Set polling frequency, in seconds, to reduce the USB data flow. Between two polling requests, the driver will wait for interrupts (aka UPS notifications), which are data changes returned by the UPS by itself. This mechanism allow to avoid or reduce staleness message, due to the UPS being temporarily overloaded with too much polling requests. The default value is 30 (in seconds). pollonly If this flag is set, the driver will ignore interrupts it receives from the UPS (not recommended, but needed if these reports are broken on your UPS). vendor=regex, product=regex, serial=regex, vendorid=regex, productid=regex Select a specific UPS, in case there is more than one connected via USB Each option specifies an extended regular expression (see regex(7)) that must match the UPS's entire vendor/product/serial string (minus any surrounding whitespace), or the whole 4-digit hexadecimal code for vendorid and productid. Try -DD for finding out the strings to match. Examples: o -x vendor="Foo.Corporation.*" o -x vendorid=051d* (APC) o -x product=".*(Smart|Back)-?UPS.*" bus=regex Select a UPS on a specific USB bus or group of busses. The argument is a regular expression that must match the bus name where the UPS is connected (e.g. bus="002", bus="00[2-3]"). explore With this option, the driver will connect to any device, including ones that are not yet supported. This must always be combined with the "vendorid" option. In this mode, the driver will not do anything useful except for printing debugging information (typically used with -DD). INSTALLATION
This driver is not built by default. You can build it by using "configure --with-usb=yes". Note that it will also install other USB drivers. You also need to install manually the legacy hotplug files (libhidups and libhid.usermap, generally in /etc/hotplug/usb/), or the udev file (nut-usbups.rules, generally in /etc/udev/rules.d/) to address the permission settings problem. For more information, refer to the README file in nut/scripts/hotplug or nut/scripts/udev. On Linux with MGE equipment, you will need at least a 2.4.25 or 2.6.2 kernel as well as libusb-0.1.8 or later to disable hiddev support and avoid conflict. IMPLEMENTATION
The driver ignores the "port" value in ups.conf. Unlike previous versions of this driver, it is now possible to control multiple UPS units simultaneously with this driver, provided they can be distinguished by setting some combination of the "vendor", "product", "serial", "vendorid", and "productid" options. For instance: [mge] driver = usbhid-ups port = auto vendorid = 0463 [tripplite] driver = usbhid-ups port = auto vendorid = 09ae KNOWN ISSUES AND BUGS
Repetitive timeout and staleness Some models tends to be unresponsive with the default polling frequency. The result is that your system log will have lots of messages like: usb 2-1: control timeout on ep0in usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 256 ret -110 In this case, simply modify the general parameter "pollinterval" to a higher value (like 10 for 10 seconds). This should solve the issue. Got EPERM: Operation not permitted upon driver startup You have forgotten to install the hotplug files, as explained in the INSTALLATION section above. Don't forget to restart hotplug so that it applies these changes. Unattended shutdowns The hardware which was used for development of this driver is almost certainly different from what you have, and not all manufacturers follow the USB HID Power Device Class specifications to the letter. You don't want to find out that yours has issues here when a power failure hits your server room and you're not around to manually restart your servers. If you rely on the UPS to shutdown your systems in case of mains failure and to restart them when the power returns, you must test this. You can do so by running upsmon -c fsd. With the mains present, this should bring your systems down and then cycle the power to restart them again. If you do the same without mains present, it should do the same, but in this case, the outputs shall remain off until mains power is applied again. AUTHORS
Originally sponsored by MGE UPS SYSTEMS. Now sponsored by Eaton http://opensource.eaton.com Arnaud Quette, Peter Selinger, Arjen de Korte SEE ALSO
The core driver nutupsdrv(8) Internet resources The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/21/2012 USBHID-UPS(8)
All times are GMT -4. The time now is 10:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy