Jump to content

NUT & PowerWare 9120


kvirtu

Recommended Posts

всем привет !

В общем столкнулся с проблемой. Попала связь между упсом 9120 и серваком. Подключение по USB (ком-порта на мамке нет)

В конфиге ups.conf прописано:

[9120]
driver = pcmxcp_usb
port = auto
desc =9120

 

usbconfig показывает:

ugen0.2: <UPS USB Interface V2.00 Phoenixtec Power> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (20mA)

 

но:

root@darnet:/usr/local/etc/nut # /usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.7.2
Network UPS Tools - BCMXCP UPS driver 0.28 (2.7.2)
USB communication subdriver 0.22
Unable to find POWERWARE UPS device on USB bus (USB)

Things to try:

 - Connect UPS device to USB bus

 - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
   See upsdrvctl(8) and ups.conf(5).

Fatal error: unusable configuration
Driver failed to start (exit status=1)
/usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
 

пробовал в конфиге порт /dev/ugen0.2 - не помогает

 

Может кто сталкивался ?

Edited by kvirtu
Link to post
Share on other sites

root@darnet:/usr/local/etc/nut # /usr/local/libexec/nut/bcmxcp_usb -DD -u root -a 9120
Network UPS Tools - BCMXCP UPS driver 0.28 (2.7.2)
USB communication subdriver 0.22
   0.000000     debug level is '2'
   0.000595     entering nutusb_open()
   0.001234     device /dev/ugen0.2 opened successfully
   0.007351     entering get_answer(31)
   4.897263     entering get_answer(31)
   9.788130     entering get_answer(31)
  14.679022     entering get_answer(31)
  19.569914     entering get_answer(31)
  24.456815     Communications with UPS lost: Error executing command
  24.457005     Could not communicate with the ups: Device busy
  24.457032     CLOSING
 

Link to post
Share on other sites

В общем разобрался, может кому пригодится:

я отключил  в rc.conf запуск devd ,

а без него фря не хочет видеть УПС по USB

Edited by kvirtu
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...