Displaying 4 results from an estimated 4 matches for "usb_ups_t".
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
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...omm_usb_recv(char *buffer,size_t buffer_len,char
> endchar,const char *ignchars);
> +
> + typedef struct
> + {
> + uint16_t vid;
> + uint16_t pid;
> + int (*get_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);...
2006 Dec 05
3
megatec over USB - new driver patch
...Device hiddevice;
+
+static int comm_usb_recv(char *buffer,size_t buffer_len,char endchar,const char *ignchars);
+
+typedef struct
+{
+ uint16_t vid;
+ uint16_t pid;
+ int (*get_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, 0x000...
2008 Nov 24
1
[nut-commits] svn commit r1578 - in trunk: . drivers
Citeren Arjen de Korte <adkorte-guest at alioth.debian.org>:
> Author: adkorte-guest
> Date: Mon Nov 24 13:13:44 2008
> New Revision: 1578
>
> Log:
> Use new usb_device_id_t and is_usb_device_supported()
> for selection of the subdriver.
Alexander,
It would be nice if you could double check that I didn't horribly
break something here. I don't expect any