search for: query_ups

Displaying 9 results from an estimated 9 matches for "query_ups".

2007 May 13
0
No subject
...e GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "main.h" #include "nut_usb.h" #include "sweex_usb.h" usb_dev_handle *upsdev = NULL; int query_ups (unsigned char *reply) { unsigned char buf[4]; int ret; /* * This packet is a status request to the UPS */ buf[0]=0x01; buf[1]=0x00; buf[2]=0x00; buf[3]=0x30; return execute_and_retrieve_query(buf, reply); } int ex...
2007 May 13
0
No subject
...the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "main.h" #include "nut_usb.h" #include "sweex_usb.h" usb_dev_handle *upsdev = NULL; int query_ups (unsigned char *reply) { unsigned char buf[4]; int ret; /* * This packet is a status request to the UPS */ buf[0]=0x01; buf[1]=0x00; buf[2]=0x00; buf[3]=0x30; return execute_and_retrieve_query(buf, reply); } int execute_and_...
2007 May 13
0
No subject
...the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "main.h" #include "nut_usb.h" #include "sweex_usb.h" usb_dev_handle *upsdev = NULL; int query_ups (unsigned char *reply) { unsigned char buf[4]; int ret; /* * This packet is a status request to the UPS */ buf[0]=0x01; buf[1]=0x00; buf[2]=0x00; buf[3]=0x30; return execute_and_retrieve_query(buf, reply); } int execute_and_...
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
2011 Mar 05
19
[RFC apcsmart V3 00/18] apcsmart driver updates
Sorry for a bit longer delay than I anticipated, I was stuffed with the work. This is the next iteration of the patch adding some functionality to apcsmart driver, and relying on 'ignorelb' recently added. Follow up from previous thread: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02331.html Main differences is that V3 is split into many small patches, so the
2011 Feb 07
4
[PATCH/RFC v2 0/3] Updates to ACP smart driver
This is 2nd version of the earlier patch featuring a few new features and fixes to the apcsmart driver, following the remarks in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02294.html Major changes from v1: - handle battery.charge and battery.runtime checks at main.c level - handle "immutable but writable" conflict gracefully at driver level -
2011 May 27
0
quick update
...------- > drivers/apcsmart_tabs.c | 149 +++++ > drivers/apcsmart_tabs.h | 100 ++++ > 5 files changed, 1297 insertions(+), 718 deletions(-) > > apcsmart: [temporary] > apcsmart: cleanups, split into two files > apcsmart: next changes to instcmd stuff > apcsmart: simplify query_ups() > apcsmart: add apc_write_rep() and apc_write_long(), initial changes to > instcmd stuff > apcsmart: allow tearing down/setting up serial connection during normal > activity; changes should fix #535583 as well > apcsmart: trivial changes > apcsmart: enable icanon > apcsmart:...
2008 Nov 30
4
Sweex 1000VA UPS (Lakeview Research)
Hi all, i've read a thread about this UPS from Peter van Valderen. He tried to develop a driver for this specific type of UPS. I've downloaded nut-2.2.2 and tried to apply the patches (lakeview.patch & lakeview.v2.patch) but both resulted in rejected chunks. I've tried to ./configure with type lakeview and then a make, but the make command fails. Does anybody has any
2011 Jan 25
1
[RFC] Updates to ACP smart driver
This patch introduces a handful of new options, I mentioned earlier in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02088.html See the large commit message in the follow-up for the details and rationale. I realize it's a bit larger diff - so if it's required I can split it into few smaller ones. Michal Soltys (1): APC smart driver update and new features.