search for: usbhid_ups_subdriv

Displaying 5 results from an estimated 5 matches for "usbhid_ups_subdriv".

2015 Mar 03
0
Install problems (group permissions) with nut 2.7.2
...e of the openups-hid driver, I'll revisit writing our own. I'll take this as a TODO item to make it clearer, but for later the basic information is here: http://www.networkupstools.org/docs/developer-guide.chunked/ar01s04.html#_writing_a_subdriver "You must also add the subdriver to USBHID_UPS_SUBDRIVERS in drivers/Makefile.am and call "autoreconf" and/or "./configure" from the top level NUT directory." To run autoreconf, you need automake, autoconf and libtool. automake turns Makefile.am into Makefile.in, and the ./configure script converts Makefile.in to the Makefile....
2015 Mar 02
3
Install problems (group permissions) with nut 2.7.2
Well, having spent a decent amount of time trying to get my driver file added into the Makefile build system (and failing), I've decided that for now, simply adding that one line to the openups-hid.c file and recompiling is the best route to go. When I can no longer live with the limited nature of the openups-hid driver, I'll revisit writing our own. Thanks for the helps. Sincerely,
2015 Mar 09
2
Install problems (group permissions) with nut 2.7.2
...+ I put them in the drivers subdir + I added the include line (#include rtd-hid.h) in usbhid-ups.c (specifically in the #ifndef SHUT_MODE section) + I added &rtd_subdriver, to the subdriver_list in usbhid-ups.c (specifically in the #ifndef SHUT_MODE section) + I added "rtd-hid.c" to USBHID_UPS_SUBDRIVERS in drivers/Makefile.am + I added "rtd-hid.h" to dist_noinst_HEADERS in drivers/Makefile.am + I executed ./configure --with-usb --with-dev --etc --etc I execute make, and I get an error: /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare -o us...
2015 Mar 09
0
Install problems (group permissions) with nut 2.7.2
...subdir > + I added the include line (#include rtd-hid.h) in usbhid-ups.c > + (specifically in the #ifndef SHUT_MODE section) I added > + &rtd_subdriver, to the subdriver_list in usbhid-ups.c (specifically > + in the #ifndef SHUT_MODE section) I added "rtd-hid.c" to > + USBHID_UPS_SUBDRIVERS in drivers/Makefile.am I added "rtd-hid.h" to > + dist_noinst_HEADERS in drivers/Makefile.am I executed ./configure > + --with-usb --with-dev --etc --etc > > I execute make, and I get an error: > /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -g -O2 -Wa...
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
...nups_subdriver, #endif &mge_subdriver, #ifndef SHUT_MODE Index: drivers/Makefile.am =================================================================== --- drivers/Makefile.am (revision 3782) +++ drivers/Makefile.am (working copy) @@ -159,7 +159,7 @@ skel_LDADD = $(LDADD_DRIVERS) # USB -USBHID_UPS_SUBDRIVERS = apc-hid.c belkin-hid.c cps-hid.c explore-hid.c \ +USBHID_UPS_SUBDRIVERS = openups-hid.c apc-hid.c belkin-hid.c cps-hid.c explore-hid.c \ liebert-hid.c mge-hid.c powercom-hid.c tripplite-hid.c idowell-hid.c usbhid_ups_SOURCES = usbhid-ups.c libhid.c libusb.c hidparser.c \ usb-common.c $(US...