Hello, I 'm trying to set up an Eaton PW5110 using nut-2.4.1 in OpenBSD, my ups.conf follows :
[myups] driver = bcmxcp_usb port = auto desc = "Eaton PW 5110 (1500VA)" My first attempt to run upsdrvctl ended up complaining about unimplemented usb_clear_halt() in libusb. I patched libusb-0.1.12 with the following patch : http://old.nabble.com/Openbsd-and-libusb-td21558254.html Second attempt: r...@fox /home/mandas/nut-2.4.1 # USB_DEBUG=3 bcmxcp_usb -DDD -a myups Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1) USB communication subdriver 0.17 debug level is '3' usb_set_debug: Setting debugging level to 3 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_devices: Found /dev/ugen0 on /dev/usb2 usb_control_msg: 128 6 512 0 0xcfbf7558 8 1000 usb_control_msg: 128 6 512 0 0x7f374500 34 1000 skipped 1 class/vendor specific interface descriptors usb_control_msg: 0 7 772 0 0xcfbf7490 4 1000 USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable Communications with UPS lost: Receive error (Request command): COMMAND: 31 RECONNECT USB DEVICE r...@fox /home/mandas/nut-2.4.1 # USB_DEBUG=3 drivers/bcmxcp_usb -DDD -a myups Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.1) USB communication subdriver 0.18 0.000000 debug level is '3' usb_set_debug: Setting debugging level to 3 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_devices: Found /dev/ugen0 on /dev/usb2 usb_control_msg: 128 6 512 0 0xcfbcadc8 8 1000 usb_control_msg: 128 6 512 0 0x82cbc240 34 1000 skipped 1 class/vendor specific interface descriptors 0.019716 device /dev/ugen0 opened successfully usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000 0.024370 entering get_answer(31) USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000 0.029368 entering get_answer(31) USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000 0.032365 entering get_answer(31) 0.032736 get_answer: (8 bytes) => ab 01 79 01 02 50 00 10 0.033027 get_answer: block_number = 1 0.033341 get_answer: data length = 121 0.033680 get_answer: need to read 118 more data USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000 0.038364 entering get_answer(31) USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000 0.042364 entering get_answer(31) USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource temporarily unavailable 0.044364 Communications with UPS lost: Error executing command 0.044816 Could not communicate with the ups: Resource temporarily unavailable 0.045230 CLOSING usb_os_close: closing endpoint 5 Connecting the UPS to a linux box running nut 2.4.1 + gentoo works however. I found after searching a similar thread on Jan 2009 but no one posted a solution if there were any. Any help would be appreciated Thanks D. -- PGP key 39A40276 at wwwkeys.eu.pgp.net key fingeprint: 9A0B 61C6 B826 4B73 69BB 972B C5E7 A153 39A4 0276 _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser