Displaying 3 results from an estimated 3 matches for "generic_subdriv".
Did you mean:
generic_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
--
Eindhove...
2005 Nov 08
1
TrippLite OMNI1000LCD hiddev
...h"
> +#include "tripplite-hid.h"
> #include "mge-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
>...
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: