Displaying 5 results from an estimated 5 matches for "reply_requesttyp".
Did you mean:
reply_requesttype
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
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 May 13
0
No subject
...*query, unsigned char *reply) {
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;
}
v...
2007 May 13
0
No subject
...ed char *query, unsigned char *reply) {
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 up...
2007 May 13
0
No subject
...ed char *query, unsigned char *reply) {
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 up...