Displaying 20 results from an estimated 21 matches for "drv_version".
Did you mean:
drm_version
2007 May 25
0
Patch -- SVN revision in the version string
...ex: drivers/al175.c
===================================================================
--- drivers/al175.c (revision 916)
+++ drivers/al175.c (working copy)
@@ -1296,7 +1296,7 @@
void upsdrv_banner(void)
{
printf("Network UPS Tools - Eltek AL175/COMLI support module %s (%s)\n\n",
- DRV_VERSION, UPS_VERSION);
+ DRV_VERSION, upsversion());
/*
* This driver does not support upsdrv_shutdown(), which makes
* it not very useful in a real world application. This alone
Index: drivers/apcsmart.c
===================================================================
--- drivers/apcsmart.c (r...
2005 Oct 10
1
Re: About blazer, powermust and mustek
...detected.");
+ fatalx("Megatec protocol UPS not detected.");
}
- upslogx(LOG_INFO, "Mustek PowerMust UPS, or compatible, detected.");
+ upslogx(LOG_INFO, "Megatec protocol UPS detected.");
dstate_setinfo("driver.version.internal", "%s", DRV_VERSION);
- dstate_setinfo("ups.mfr", "Mustek");
- dstate_setinfo("ups.model", "PowerMust");
+ dstate_setinfo("ups.mfr", "unknown");
+ dstate_setinfo("ups.model", "unknown (Megatec protocol based)");
dstate_setinfo(&qu...
2007 Jul 10
1
[nut-commits] svn commit r1019 - in trunk: . drivers
Hi Kjell,
a few notes:
- you should bump the DRV_VERSION upon every change
- you should track the drivers TODO list in a comment header (such as
"implement smart load segment detection" completed with your info,
...). That would help to bootstrap new contributors.
- you can also use the alioth trackers (features request, or task) to
give some e...
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...main.c
b/drivers/net/ixgbe/ixgbe_main.c
--- a/drivers/net/ixgbe/ixgbe_main.c 2009-01-23 11:27:18.000000000 -0800
+++ b/drivers/net/ixgbe/ixgbe_main.c 2009-01-26 11:24:10.000000000 -0800
@@ -66,7 +66,7 @@ static const char ixgbe_driver_string[]
#define DRIVERNAPI "-NAPI"
#endif
-#define DRV_VERSION "1.3.56.5" DRIVERNAPI DRV_HW_PERF
+#define DRV_VERSION "1.3.56.5-vmq" DRIVERNAPI DRV_HW_PERF
const char ixgbe_driver_version[] = DRV_VERSION;
static char ixgbe_copyright[] = "Copyright (c) 1999-2008 Intel Corporation.";
/* ixgbe_pci_tbl - PCI Device ID Table
@@ -431...
2007 May 13
0
No subject
...ct(void)
{
upslogx(LOG_WARNING, "RECONNECT USB DEVICE\n");
nutusb_close(upsdev, "USB");
upsdev = NULL;
sleep(3);
upsdrv_initups();
}
void upsdrv_initinfo(void)
{
dstate_setinfo("driver.version.internal", "%s", DRV_VERSION);
dstate_setinfo("ups.mfr", "Sweex");
dstate_setinfo("ups.model","Unknown");
}
void upsdrv_updateinfo(void)
{
unsigned char reply[REPLY_PACKETSIZE];
int ret, online, battery_normal;
unsigned char test;
ret =...
2007 May 13
0
No subject
...econnect(void)
{
upslogx(LOG_WARNING, "RECONNECT USB DEVICE\n");
nutusb_close(upsdev, "USB");
upsdev = NULL;
sleep(3);
upsdrv_initups();
}
void upsdrv_initinfo(void)
{
dstate_setinfo("driver.version.internal", "%s", DRV_VERSION);
dstate_setinfo("ups.mfr", "Sweex");
dstate_setinfo("ups.model","Unknown");
}
void upsdrv_updateinfo(void)
{
unsigned char reply[REPLY_PACKETSIZE];
int ret, online, battery_normal;
unsigned char test;
ret = query...
2007 May 13
0
No subject
...econnect(void)
{
upslogx(LOG_WARNING, "RECONNECT USB DEVICE\n");
nutusb_close(upsdev, "USB");
upsdev = NULL;
sleep(3);
upsdrv_initups();
}
void upsdrv_initinfo(void)
{
dstate_setinfo("driver.version.internal", "%s", DRV_VERSION);
dstate_setinfo("ups.mfr", "Sweex");
dstate_setinfo("ups.model","Unknown");
}
void upsdrv_updateinfo(void)
{
unsigned char reply[REPLY_PACKETSIZE];
int ret, online, battery_normal;
unsigned char test;
ret = query...
2006 May 12
1
Fwd: RE New xanto driver for NUT
Dear Andreas,
some googling revealed, you created a driver for the xanto series of
online-usv.de. In what state it is currently?
I've to manage a S2000 and would like to use nut for it, is it usable by
now? Do you need another tester?
TIA,
Pete
2007 Nov 20
2
Mustek Powermust 600VA
Hi,
I'm having a hard time configuring a Mustek Powermust 600VA ups to
work via USB with nut. I read somewhere that nut works OK via the
rs232 cable, but unfortunately I don't have a COM port in my computer.
The kernel detects the ups as an Xbox pad :) and loads the xpad
module. I tried running /lib/nut/megatec with different /dev/ttySx but
it displays megatec protocol UPS was not
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
..., ENDCHAR);
>
> upslogx(LOG_INFO, "Toggling UPS beeper.");
>
> ***************
> *** 758,778 ****
>
> void upsdrv_banner(void)
> {
> ! printf("Network UPS Tools %s - Megatec protocol driver %s
> [%s]\n", UPS_VERSION, DRV_VERSION, progname);
> printf("Carlos Rodrigues (c) 2003-2007\n\n");
> }
>
>
> void upsdrv_initups(void)
> {
> ! upsfd = ser_open(device_path);
> ! ser_set_speed(upsfd, device_path, B2400);
> }
>
>
> void upsdrv_cleanup(vo...
2005 Sep 12
1
Re: Status of the PSE NUT patches (was: NUT patches)
...rial.h
mge-shut.h")
Added to gendb as generic (ie with HDEPS and EXTRAHDEPS) in the
current CVS Development branch
2) standard deps (serial without ${drv}.h (ie "main.h dstate.h serial.h")
I have added a ${drv}.h for each of these drivers, with the same
header as the .c but with the DRV_VERSION, and added to gendb as
generic (same as in the above (1)).
3) specific deps (ie dummy-ups, newhidups, energizerups, ...)
These specific case will remain handled in Makefile.in, at least for
the moment. These might one day be added to gendb too...
This way, we don't forget new drivers (ie gama...
2008 Jul 10
2
[PATCH] tripplite driver updates
...holas J. Kain <nicholas at kain.us>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -23,4 +23,38 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define DRV_VERSION "0.8"
+#define DRV_VERSION "0.9"
+
+#define ENDCHAR '\n' /* replies end with CR LF -- use LF to end */
+#define IGNCHAR '\r' /* ignore CR */
+#define MAXTRIES 3 /* max number of times we try to detect ups */
+#define SER_WAIT_SEC...
2020 Feb 10
0
[PATCH V2 5/5] vdpasim: vDPA device simulator
...#include <linux/sysfs.h>
+#include <linux/file.h>
+#include <linux/etherdevice.h>
+#include <linux/vringh.h>
+#include <linux/vdpa.h>
+#include <linux/vhost_iotlb.h>
+#include <uapi/linux/virtio_config.h>
+#include <uapi/linux/virtio_net.h>
+
+#define DRV_VERSION "0.1"
+#define DRV_AUTHOR "Jason Wang <jasowang at redhat.com>"
+#define DRV_DESC "vDPA Device Simulator"
+#define DRV_LICENSE "GPL v2"
+
+struct vdpasim_dev {
+ struct device dev;
+};
+
+struct vdpasim_dev *vdpasim_dev;
+
+struct vdpasim_virtqu...
2020 Feb 20
0
[PATCH V3 5/5] vdpasim: vDPA device simulator
...#include <linux/sysfs.h>
+#include <linux/file.h>
+#include <linux/etherdevice.h>
+#include <linux/vringh.h>
+#include <linux/vdpa.h>
+#include <linux/vhost_iotlb.h>
+#include <uapi/linux/virtio_config.h>
+#include <uapi/linux/virtio_net.h>
+
+#define DRV_VERSION "0.1"
+#define DRV_AUTHOR "Jason Wang <jasowang at redhat.com>"
+#define DRV_DESC "vDPA Device Simulator"
+#define DRV_LICENSE "GPL v2"
+
+struct vdpasim_virtqueue {
+ struct vringh vring;
+ struct vringh_kiov iov;
+ unsigned short head;
+ bool...
2006 Dec 05
3
megatec over USB - new driver patch
...c", ENDCHAR);
+ comm->send("C%c", ENDCHAR);
+ comm->send("S00R0000%c", ENDCHAR);
upslogx(LOG_INFO, "Turning load off.");
@@ -686,21 +680,19 @@
void upsdrv_banner(void)
{
- printf("Network UPS Tools - Megatec protocol driver %s (%s)\n", DRV_VERSION, UPS_VERSION);
+ printf("Network UPS Tools - Megatec protocol driver %s[%s] (%s)\n", DRV_VERSION, comm->name, UPS_VERSION);
printf("Carlos Rodrigues (c) 2003-2006\n\n");
}
-
void upsdrv_initups(void)
{
- upsfd = ser_open(device_path);
- ser_set_speed(upsfd, device_path...
2006 Nov 26
1
Patch for optiups to support Zinto D from ONLINE USV-Systeme AG
...switched on" );
+ optiquery( "Ct1" );
+ optiquery( "Cu0000000" );
+ sleep(12);
+ }
+ }
+ optiquery( "Om11" );
+ optiquery( "Om21" );
+ optiquery( "ON" );
+ }
+
dstate_setinfo("driver.version.internal", "%s", DRV_VERSION);
optifill( _initv, sizeof(_initv)/sizeof(_initv[0]) );
@@ -248,15 +333,45 @@
dstate_addcmd("test.failure.start");
dstate_addcmd("load.off");
dstate_addcmd("load.on");
- dstate_addcmd("shutdown.stop");
+ if( !testvar(OPTI...
2020 Feb 10
1
[PATCH V2 5/5] vdpasim: vDPA device simulator
...<linux/file.h>
> +#include <linux/etherdevice.h>
> +#include <linux/vringh.h>
> +#include <linux/vdpa.h>
> +#include <linux/vhost_iotlb.h>
> +#include <uapi/linux/virtio_config.h>
> +#include <uapi/linux/virtio_net.h>
> +
> +#define DRV_VERSION "0.1"
> +#define DRV_AUTHOR "Jason Wang <jasowang at redhat.com>"
> +#define DRV_DESC "vDPA Device Simulator"
> +#define DRV_LICENSE "GPL v2"
> +
> +struct vdpasim_dev {
> + struct device dev;
> +};
> +
> +struct vdpas...
2006 Jul 24
2
fentonups driver patch for Effekta MHD3000 UPS
...my email, because I'm not on the list.
regards,
Gabor
-------------- next part --------------
*** fentonups.c 2005-05-26 14:22:27.000000000 +0200
--- /usr/src/redhat/BUILD/nut-2.0.3/drivers/fentonups.c 2006-07-24 16:20:19.000000000 +0200
***************
*** 30,38 ****
--- 30,52 ----
#define DRV_VERSION "1.22"
static int cap_upstemp = 0;
+ static int is_online = 0;
static float lowvolt = 0, voltrange, chrglow = 0, chrgrange;
static int lownorm, highnorm;
+ static void sendcr_and_clear_buf(void)
+ {
+ int ret;
+
+ ret = ser_send(upsfd, "\r");
+
+ usleep(300000);...
2020 Feb 10
9
[PATCH V2 0/5] vDPA support
Hi all:
This is an updated version of kernel support for vDPA device. Various
changes were made based on the feedback since last verion. One major
change is to drop the sysfs API and leave the management interface for
future development, and introudce the incremental DMA bus
operations. Please see changelog for more information.
The work on vhost, IFCVF (intel VF driver for vDPA) and qemu is
2020 Feb 20
5
[PATCH V4 0/5] vDPA support
Hi all:
This is an update version of vDPA support in kernel.
vDPA device is a device that uses a datapath which complies with the
virtio specifications with vendor specific control path. vDPA devices
can be both physically located on the hardware or emulated by
software. vDPA hardware devices are usually implemented through PCIE
with the following types:
- PF (Physical Function) - A single