Displaying 5 results from an estimated 5 matches for "set_data_agiler".
Did you mean:
get_data_agiler
2007 Jan 23
2
Voltage override in megatec and megatec-over-usb [was: Re: nut-2.0.5 megatec + Online Xanto]
On 1/23/07, Henning Brauer <hb-nut@bsws.de> wrote:
> good new first: the megatec driverin 2.0.5 now works with the Online
> Xanto S3000R here - well, for the very basics.
>
> the UPS has NO way ofidentifying itself. It also does not respond to
> the power ratings query ("F"). I previously used a hacked up fentonups
> driver. This means the driver cannot figure out
2006 Dec 05
3
megatec over USB - new driver patch
...et_data)(char *buffer,int buffer_size);
+ int (*set_data)(const char *str);
+} usb_ups_t;
+
+usb_ups_t *usb_ups_device = NULL;
+
+/*
+ All devices known to this driver go here
+ along with their set/get routines
+*/
+
+static int get_data_agiler(char *buffer,int buffer_size);
+static int set_data_agiler(const char *str);
+
+static usb_ups_t KnownDevices[]={
+ { 0x05b8, 0x0000, get_data_agiler, set_data_agiler },
+ { .vid=0 } /* end of list */
+};
+
+static int comm_usb_match(HIDDevice *d, void *privdata)
+{
+ usb_ups_t *p;
+
+ for (p=KnownDevices;p->vid!=0;p++)
+ {
+...
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...nst char *str);
> + } usb_ups_t;
> +
> + usb_ups_t *usb_ups_device = NULL;
> +
> + /*
> + All devices known to this driver go here
> + along with their set/get routines
> + */
> +
> + static int get_data_agiler(char *buffer,int buffer_size);
> + static int set_data_agiler(const char *str);
> + static int get_data_ablerex(char *buffer,int buffer_size);
> + static int set_data_ablerex(const char *str);
> +
> + static usb_ups_t KnownDevices[]={
> + { 0x05b8, 0x0000, get_data_agiler, set_data_agiler },
> + { 0xffff, 0x0000, get_data_ablerex, se...
2007 Aug 08
1
Mustek PowerMust 1000AV USB feedbacks
...g 7 21:06:32 seal sshd[8446]: Received signal 15; terminating.
Aug 7 21:06:33 seal smartd[8327]: smartd received signal 15: Terminated
Aug 7 21:06:33 seal smartd[8327]: smartd is exiting (exit status 0)
[...]
On the console we can read the following error message:
shutting down UPS immediately
set_data_agiler: output string too large
also the UPS never succeed in killing the power.
It looks like a bug for me or have i just missed something ?
Many thanks to the nut team and especially to Carlos Rodrigues for his
work on the megatec_usb driver (i hope i have forgotten no one) :)
Jj
2007 Aug 08
1
Mustek PowerMust 1000AV USB feedbacks
...g 7 21:06:32 seal sshd[8446]: Received signal 15; terminating.
Aug 7 21:06:33 seal smartd[8327]: smartd received signal 15: Terminated
Aug 7 21:06:33 seal smartd[8327]: smartd is exiting (exit status 0)
[...]
On the console we can read the following error message:
shutting down UPS immediately
set_data_agiler: output string too large
also the UPS never succeed in killing the power.
It looks like a bug for me or have i just missed something ?
Many thanks to the nut team and especially to Carlos Rodrigues for his
work on the megatec_usb driver (i hope i have forgotten no one) :)
Jj