Displaying 3 results from an estimated 3 matches for "libusb_get_string_descriptor_ascii".
2014 Jul 07
0
Lupus 500 MEC0003 Problems
...his everythin seems to work
> If the langid_fix in ups.conf is set to 0x409 everything works fine and the
> extra langid requests aren't sent
That's because, when langid_fix is not set, the subdriver uses the
usb_get_string_simple function (libusb/compat 0.1) that, in turn,
calls the libusb_get_string_descriptor_ascii function (libusb 1.x)
that first asks the device for all the supported langids and then uses
the first one to get the string descriptor at the requested index.
Nothing to worry about. So, to simplify the subdriver, I removed the
langid thing from it.
> This ups sends UPS No Ack to acknowledge e...
2014 Jul 08
1
Lupus 500 MEC0003 Problems
...If the langid_fix in ups.conf is set to 0x409 everything works fine and
>> the
>> extra langid requests aren't sent
>
> That's because, when langid_fix is not set, the subdriver uses the
> usb_get_string_simple function (libusb/compat 0.1) that, in turn,
> calls the libusb_get_string_descriptor_ascii function (libusb 1.x)
> that first asks the device for all the supported langids and then uses
> the first one to get the string descriptor at the requested index.
> Nothing to worry about. So, to simplify the subdriver, I removed the
> langid thing from it.
A langid request (index 0x0...
2014 Jul 04
2
Lupus 500 MEC0003 Problems
Finally I got time to test this.
>>> Can you post the output of upsc, and note if any of those values look
>>> wrong?
serwer2:/tmp/nut-fabula # upsc myups
battery.charge: 100
battery.voltage: 13.10
battery.voltage.high: 13.00
battery.voltage.low: 10.40
battery.voltage.nominal: 12.0
device.model: 500VA UPS
device.type: ups
driver.name: nutdrv_qx
driver.parameter.pollfreq: 30