I'm attempting to get a HP R1500 G2 UPS working with Solaris 10 connected via USB.
Thanks to Arnaud's patch to drivers/tripplite-hid.c found at http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-February/005887.html things mostly work. upsc ups01 shows a couple of things that don't look quite right. [....] battery.temperature: -234.1 [....] ups.alarm: No battery installed! But the real problem I'm having right now is it does not want to turn off the UPS. --------< ups.conf >-------- [ups01] driver = usbhid-ups port = auto desc = "HP R1500 G2" offdelay = 120 ---------------------------- Here is the last part of the log from "/opt/mt/nut-svn/libexec/usbhid-ups -DDDDD -a ups01 -k" ..... opening /dev/usb/3f0.1fe0/0/cntrl0 opening ep0 failed, -1 usb_open_ep0 failed: 16 usb_close(): hdl=0x0 usb_error(): error=22 usb_devices list: 0: 3f0.1fe0/0 0.017204 Checking device (0000/0000) (/dev/usb/3f0.1fe0/0) usb_open: device ptr is 0x4bea8 usb_open: pindex = 0 usb_open(): usb_open_ep0(): opening /dev/usb/3f0.1fe0/0/cntrl0 opening ep0 failed, -1 usb_open_ep0 failed: 16 usb_strerror(): usb_error_type=2, errno=22 0.018193 Failed to open device, skipping. (Invalid argument) 0.018350 No appropriate HID device found 0.018511 No matching HID UPS found ..... And running it under truus I see thih line 838: open("/dev/usb/3f0.1fe0/0/cntrl0", O_RDWR) Err#16 EBUSY So it looks like maybe it was opened in exclusive mode. Any thoughts? -- Tim Rice Multitalents (707) 887-1469 [email protected] _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
