[Sysadmins] UPS & linux & windows

Алексей Шенцев =?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Чт Ноя 8 11:49:34 MSK 2007


Всем привет!
В общем модель UPS SUA3000I.
Имеем:
[root на gw /]# cat /etc/nut/driver.list | grep APC && lspci | grep USB && lsusb 
&& usbtree && ls /dev/usb*
"APC"   "Back-UPS Pro"          ""      "apcsmart"
"APC"   "Matrix-UPS"            ""      "apcsmart"
"APC"   "Smart-UPS"             ""      "apcsmart"
"APC"   "Back-UPS Pro USB"      ""      "newhidups or hidups"
"APC"   "Back-UPS USB"          ""      "newhidups or hidups"
"APC"   "Back-UPS RS USB"       ""      "newhidups or hidups"
"APC"   "Back-UPS LS USB"       ""      "newhidups or hidups"
"APC"   "Back-UPS ES/CyberFort 350"     ""      "newhidups or hidups"
"APC"   "Back-UPS BF500"        ""      "newhidups"
"APC"   "Smart-UPS USB"         ""      "newhidups or hidups"
"APC"   "Back-UPS"      "940-0095A/C cables"    "genericups upstype=1"
"APC"   "Back-UPS"      "940-0020B/C cables"    "genericups upstype=2"
"APC"   "Back-UPS"      "940-0023A cable"       "genericups upstype=9"
"APC"   "Back-UPS Office"       "940-0119A cable"       "genericups 
upstype=12"
"APC"   "Masterswitch"  "Not a UPS - 940-0020 cable"    "genericups 
upstype=12"
"APC"   "Back-UPS RS 500" "custom non-USB cable"        "genericups 
upstype=20"
"APC"   "(various)"     "SNMP monitoring card"  "snmp-ups (experimental 
driver)"
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI 
Controller (rev 02)
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 004: ID 051d:0002 American Power Conversion Back-UPS Pro 
500/1000/1500
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/dev/usbdev1.1_ep00  /dev/usbdev2.1_ep81  /dev/usbdev3.1_ep00  /dev/usbdev4.1_ep81
/dev/usbdev1.1_ep81  /dev/usbdev2.4_ep00  /dev/usbdev3.1_ep81  /dev/usbdev5.1_ep00
/dev/usbdev2.1_ep00  /dev/usbdev2.4_ep81  /dev/usbdev4.1_ep00  /dev/usbdev5.1_ep81
[root на gw /]#

Ни как не могу сообразить:
1) по чему smart-ups определяется как  Back-UPS Pro 500/1000/1500
2) какой мне драйвер порт указывать в /etc/nut/ups.conf исходя из 
вышеизложенного?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
XMPP: ashen на altlinux.org, AlexShen на jabber.ru
ICQ: 271053845



Подробная информация о списке рассылки Sysadmins