search for: tripplite_subdriver

Displaying 6 results from an estimated 6 matches for "tripplite_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 fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
2011 Oct 07
1
Dynamic HID driver mappings, Tripplite-hid.c
.... I could have 5, I could have 10, I won't know until I actually ask the UPS. But in order to use the hid to nut struct, I'm actually going to have to modify that struct dynamically, or in actuality, create a new struct, copy the old struct, add stuff to the end, then change the struct in tripplite_subdriver to point to the new, 'for this particular UPS' hid to nut table. This is due to Tripplite's HID use of a bitmask to provide some of this information. For example, on our units, we have 3 switchable outlets. This should map to outlet.1, outlet.2, and outlet.3. However, they could ha...
2006 May 06
1
Fwd: Fun with TrippLite
...epple <clepple@gmail.com> > > > Hey > > So yeah. Instead of sleeping I decided to get this working. As you > mentioned, there appears to be a subdriver for the tripplite in existence. > However it was not enabled. That part was easy... I simply added a " > &tripplite_subdriver" on line 42 and a "#include "tripplite-hid.h" on line > 34 with the rest of the includes. > > It works; and the nagios plugin works; and I am happy. The only catch is > it doesn't seem to give the current load; but it didn't do that under > windows either...
2005 Dec 16
0
Fwd: Fun with TrippLite
...epple <clepple@gmail.com> > > > Hey > > So yeah. Instead of sleeping I decided to get this working. As you > mentioned, there appears to be a subdriver for the tripplite in existence. > However it was not enabled. That part was easy... I simply added a " > &tripplite_subdriver" on line 42 and a "#include "tripplite-hid.h" on line > 34 with the rest of the includes. > > It works; and the nagios plugin works; and I am happy. The only catch is > it doesn't seem to give the current load; but it didn't do that under > windows either...
2005 Nov 08
1
TrippLite OMNI1000LCD hiddev
...e-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 > vendorid=09AE > #trippli...
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: