search for: mge_subdriver

Displaying 4 results from an estimated 4 matches for "mge_subdriver".

2006 Nov 13
1
(no subject)
Browsing through the newhidups.c code, I stumbled across the following: /* master list of avaiable subdrivers */ static subdriver_t *subdriver_list[] = { #ifndef SHUT_MODE &generic_subdriver, #endif &mge_subdriver, #ifndef SHUT_MODE &apc_subdriver, &belkin_subdriver, &tripplite_subdriver, NULL #endif }; Shouldn't the 'NULL' terminator be outside the condition? If SHUT_MODE is defined, the list will not be NULL terminated. Regards, Arjen -- Eindhoven - The Netherlands Key finger...
2005 Nov 08
1
TrippLite OMNI1000LCD hiddev
...hid.h" > #include "apc-hid.h" > #include "belkin-hid.h" > @@ -34,6 +35,7 @@ > /* master list of avaiable subdrivers */ > static subdriver_t *subdriver_list[] = { > &generic_subdriver, > + &tripplite_subdriver, > &mge_subdriver, > &apc_subdriver, > &belkin_subdriver, Ah, sorry, I had forgotten these. Good catch. > That made this work with ... > > user=root > [myups] > driver=newhidups > vendorid=09AE > #tripplite=1 > port=/dev/usb/h...
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
..."apc-hid.h" @@ -48,10 +49,14 @@ #include "idowell-hid.h" #endif +#include "openups-hid.h" + /* master list of avaiable subdrivers */ static subdriver_t *subdriver_list[] = { + #ifndef SHUT_MODE &explore_subdriver, + &openups_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...
2006 Jun 14
3
Trouble Configuring NUT with Gamatronic USB
Hi I am running FC5 with nut coming from the fc5 extras repositories. I am trying to configure a Gamatronic D-Compact ups. The cable that came with the ups has a serial connector on one end and a usb on the other. cat /proc/bus/usb/devices produces T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: