kvirtu Posted October 1, 2014 at 05:13 PM Posted October 1, 2014 at 05:13 PM (edited) всем привет ! В общем столкнулся с проблемой. Попала связь между упсом 9120 и серваком. Подключение по USB (ком-порта на мамке нет) В конфиге ups.conf прописано: [9120]driver = pcmxcp_usbport = autodesc =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 startNetwork UPS Tools - UPS driver controller 2.7.2Network UPS Tools - BCMXCP UPS driver 0.28 (2.7.2)USB communication subdriver 0.22Unable 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 configurationDriver failed to start (exit status=1)/usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut пробовал в конфиге порт /dev/ugen0.2 - не помогает Может кто сталкивался ? Edited October 1, 2014 at 05:17 PM by kvirtu
kvirtu Posted October 1, 2014 at 05:47 PM Author Posted October 1, 2014 at 05:47 PM root@darnet:/usr/local/etc/nut # /usr/local/libexec/nut/bcmxcp_usb -DD -u root -a 9120Network 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
kvirtu Posted October 6, 2014 at 12:39 PM Author Posted October 6, 2014 at 12:39 PM (edited) В общем разобрался, может кому пригодится: я отключил в rc.conf запуск devd , а без него фря не хочет видеть УПС по USB Edited October 6, 2014 at 12:39 PM by kvirtu
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now