Displaying 5 results from an estimated 5 matches for "qx_usb_id".
2018 Jul 21
0
Adding drivers to NUT?
...9;)...
For serial devices:
- given that, so far, all supported devices shared similar settings
and I/O modus operandi, operations are done directly without much
fanfare...
- setup is done directly in `upsdrv_initups()`,
- ditto for subsequent communications, in `qx_command()`.
For USB devices:
- `qx_usb_id` lists the various VID:PID pairs (with, optionally and
only if needed, the iManufacturer and iProduct strings) of each
supported device, coupled with a function ('fun()' from now on) that
will set `subdriver_command` to point to the function ('command()'
from now on) later used to c...
2018 Jul 18
2
Adding drivers to NUT?
Dear Daniele,
I'm trying to create a subdriver for 'nutdrv_qx' instead of modifying the Blazer as you suggested, but i honestly don't understand how to integrate usb-serial devices (some of our UPSs have USB but serial protocol Q1). i understand the serial version but not the USB one.
i also checked the "Claim" function, but i can't see drivers that uses the VID
2020 Apr 03
0
Patch to support Powercool PCRACK-1200VA
...f, blen);
} else {
- ret = usb_get_string_simple(udev, command[i].index,
buf, buflen);
+ ret = usb_get_string_simple(udev, command[i].index,
buf, blen);
}
if (ret <= 0) {
@@ -1075,6 +1083,7 @@ static qx_usb_device_id_t qx_usb_id[] = {
{ USB_DEVICE(0x0001, 0x0000), "MEC", "MEC0003",
&fabula_subdriver }, /* Fideltronik/MEC LUPUS 500 USB */
{ USB_DEVICE(0x0001, 0x0000), "ATCL FOR UPS", "ATCL FOR
UPS", &fuji_subdriver }, /* Fuji UPSe...
2018 Jul 24
2
Adding drivers to NUT?
...9;)...
For serial devices:
- given that, so far, all supported devices shared similar settings
and I/O modus operandi, operations are done directly without much
fanfare...
- setup is done directly in `upsdrv_initups()`,
- ditto for subsequent communications, in `qx_command()`.
For USB devices:
- `qx_usb_id` lists the various VID:PID pairs (with, optionally and
only if needed, the iManufacturer and iProduct strings) of each
supported device, coupled with a function ('fun()' from now on) that
will set `subdriver_command` to point to the function ('command()'
from now on) later used to c...
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...y */
- ret = usb_get_string_simple(udev, index, buf, buflen);
+ ret = nut_usb_get_string(udev, index, buf, buflen);
if (ret <= 0) {
upsdebugx(3, "read: %s (%d)", ret ? usb_strerror() :
"timeout", ret);
@@ -1075,6 +1040,7 @@ static qx_usb_device_id_t qx_usb_id[] = {
{ USB_DEVICE(0x0001, 0x0000), "MEC", "MEC0003",
&fabula_subdriver }, /* Fideltronik/MEC LUPUS 500 USB */
{ USB_DEVICE(0x0001, 0x0000), "ATCL FOR UPS", "ATCL FOR
UPS", &fuji_subdriver }, /* Fuji UPSe...