Displaying 3 results from an estimated 3 matches for "hu_walkmode_init".
2005 Aug 13
1
A newhidups question
Gentlemen,
I think this question is mainly for Arnaud again:
When I run my UPS directly with newhidups -D -D -D, with no data changes,
and I then observe the interaction with my UPS (still Back-UPS ES 650
FW:818.w1.D USB FW:w1), I see the updateinfo cycle through 3 different forms:
(1) a (2 bytes) => 06 08 notification that provides one item:
UPS.PowerSummary.APCStatusFlag
Note that
2005 Oct 04
0
variable writability
Arnaud:
in today's commits, I removed three lines that you apparently added on
August 10:
1.1.1.1.8.1 (aquette 04-May-05): if (mode == HU_WALKMODE_INIT)
1.1.1.1.8.1 (aquette 04-May-05): {
1.1.1.1.8.1 (aquette 04-May-05): dstate_setflags(item->info_type, item->info_flags);
1.1.1.1.8.6.2.5 (aquette 10-Aug-05): /* Verify variable setability/RW */
1.1.1.1.8.6.2.5 (aquette 10-Aug-05): if (get_current_data_att...
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...=============================================================================
> --- trunk/drivers/usbhid-ups.c (original)
> +++ trunk/drivers/usbhid-ups.c Thu Aug 23 19:43:41 2007
> @@ -703,6 +703,11 @@
> dstate_datastale();
> return;
> }
> +
> + if (hid_ups_walk(HU_WALKMODE_INIT) == FALSE) {
> + hd = NULL;
> + return;
> + }
> }
> #ifdef DEBUG
> interval();
> @@ -716,7 +721,7 @@
> /* Process pending events (HID notifications on Interrupt pipe) */
> for (i = 0; i < evtCount; i++) {
>
> - if (HIDGetDataValue(udev, event[...