Hello. With that command line, I'd say you need to have the UPS
attach as a uhid device rather than as a ugen device.
What happens if you boot -c, disable the ugen driver and let it boot with
your UPS plugged in? Do you then get something like:
uhid0 at ohci0 port 3
rather than
ugen0 at ohci0 port 3
If you do, then this programmight attach to the UPS and make it work.
If that doesn't work, then you may need to add the UPS vendor ID and
product IDs to the match routines of the uhid(4) driver specifically.
-thanks
-Brian
On Oct 31, 2:12pm, Dave Burgess wrote:
} Subject: Re: QUick question about USB interfaces
} On 10/31/2012 1:50 PM, Brian Buhrow wrote:
} > Hello. Can you confirm that the USB library is compiled or linked
} > into the binary you built to support the non-APC UPS's?
} >
} >
} It looks like /usr/pkg/lib/libusb-0.1.so.4.4.4 and
} /usr/pkg/lib/libusb-1.0.so.0.0 are getting pulled in.
}
}
} libtool: link: gcc -I../include -I/usr/pkg/include
} -I/usr/pkg/include/neon -g -O2 -Wall -Wsign-compare -o usbhid-ups
} usbhid-ups.o libhid.o libusb.o hidparser.o usb-common.o apc-hid.o
} belkin-hid.o cps-hid.o explore-hid.o liebert-hid.o mge-hid.o
} powercom-hid.o tripplite-hid.o idowell-hid.o main.o dstate.o
} -Wl,-R/usr/pkg/lib ../common/.libs/libcommon.a
} ../common/.libs/libparseconf.a -L/usr/pkg/lib /usr/pkg/lib/libusb.so
} /usr/local/lib/libusb-1.0.so -lpthread -pthread -Wl,-rpath
} -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath
} -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/local/lib
}
}
}
}
} --
} Dave Burgess
} Manager
} Cynjut Consulting Services, LLC
}
-- End of excerpt from Dave Burgess