search for: reply_packetsize

Displaying 6 results from an estimated 6 matches for "reply_packetsize".

2007 May 13
0
No subject
...int ret; ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE, MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000); if (ret < 0) { return ret; } ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply, sizeof(REPLY_PACKETSIZE), 1000); return ret; } void claim_device () { int ret; ret = usb_claim_interface(upsdev, 0); if (ret < 0) { upslogx(LOG_ERR, "Can't claim USB interface"); } return ret; } void upsdrv_comm_good() {...
2007 May 13
0
No subject
...ply) { int ret; ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE, MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000); if (ret < 0) { return ret; } ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply, sizeof(REPLY_PACKETSIZE), 1000); return ret; } void claim_device () { int ret; ret = usb_claim_interface(upsdev, 0); if (ret < 0) { upslogx(LOG_ERR, "Can't claim USB interface"); } return ret; } void upsdrv_comm_good() { nutusb_...
2007 May 13
0
No subject
...ply) { int ret; ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE, MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000); if (ret < 0) { return ret; } ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply, sizeof(REPLY_PACKETSIZE), 1000); return ret; } void claim_device () { int ret; ret = usb_claim_interface(upsdev, 0); if (ret < 0) { upslogx(LOG_ERR, "Can't claim USB interface"); } return ret; } void upsdrv_comm_good() { nutusb_...
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
2008 Dec 05
1
[nut-commits] svn commit r1596 - in trunk: drivers man tools
On Thu, Dec 4, 2008 at 4:51 PM, Arjen de Korte <adkorte-guest at alioth.debian.org> wrote: > Author: adkorte-guest > Date: Thu Dec 4 21:51:28 2008 > New Revision: 1596 > > Log: > Added new richcomm_usb driver based on the lakeview_usb driver (using libusb). Sorry if I wasn't clear - I was advocating *renaming* the lakeview_usb driver to richcomm_usb. Is there another
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