USB Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good Morning:

I'm trying to get my UPS to work with my Linux box. I'm running Red Hat 9.0
with all of the latest updates. I have an APC SmartUPS 1000XL, and I believe
that it is being seen correctly on the bus. A quick look at
/proc/bus/usb/devices has the last entry showing this:

  T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
  D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
  P:  Vendor=051d ProdID=0002 Rev= 0.06
  S:  Manufacturer=American Power Conversion
  S:  Product=Smart-UPS 1000 XL FW:631.3.D USB FW:1.5
  S:  SerialNumber=AS0315130454
  C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 30mA
  I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
  E:  Ad=81(I) Atr=03(Int.) MxPS=   6 Ivl=100ms

If I read it correctly, the device number is 2.

Now, reading through the documentation found at www.linux-usb.org, it didn't
specifically state what driver to try for a UPS. Looking at
/proc/bus/usb/drivers, I got this:

  drivers
           usbdevfs
           hub
   96-111: hiddev
           hid

Since it appeared that the device was being seen by the system, I tried to
properly configure upsmon to see the device, and have the ups service
properly start. However, when /etc/rc.d/init.d/ups starts, I'm presented
with this:

  Starting hidups: Network UPS Tools: HID UPS driver 0.11 (1.2.0)

  Warning: This is an experimental driver.
  Some features may not function correctly.

  /dev/ttyS0 is not a UPS

  Starting upsd:                                            [OK]
  Starting UPS monitor (master): Network UPS Tools upsmon 1.2.0

  Fatal error: insufficient power configured!

  Sum of power values........: 0
  Minimum value (MINSUPPLIES): 1

  Edit your upsmon.conf and change the values.
  upsmon.conf: invalid directive MONITOR UPS@xxxxxxxxx 1 master
  Using power down flag file /etc/killpower

Here is a copy of my configuration files:

*** /etc/ups/ups.conf ***

[UPS]
	driver = hidups
	port = /dev/usb/hiddev2

*** End /etc/ups/ups.conf ***

*** upsmon.conf ***

  It is the default file included. The only line I added was:

  MONITOR UPS@xxxxxxxxx 1 master

*** End /etc/ups/upsmon.conf ***

Now, I'm probably doing something really dumb, or have my configuration
wrong. Anyone have some experience that might be able to point me in the
right direction? Thanks.

- Michael




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux