search for: qx_command

Displaying 3 results from an estimated 3 matches for "qx_command".

2018 Jul 21
0
Adding drivers to NUT?
...ons (entirely in 'nutdrv_qx.c')... 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(...
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
2018 Jul 24
2
Adding drivers to NUT?
...ons (entirely in 'nutdrv_qx.c')... 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(...