fwts brightness - monitor hotkey events should have a delay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fwts (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I think this fail is caused by the timing sequence.
After the hotkey is triggered, the brightness is get and set by the fwts functions earlier than the hotkey event:
-------
if (brightness_
fwts_failed(fw, LOG_LEVEL_HIGH,
"Did not detect ACPI hotkey event.");
else {
int new_brightness;
if (brightness_
"Actual brightness could not be accessed for %s.",
} else {
if (new_brightness > 0)
else
}
}
tmp = (saved_brightness > 0) ? saved_brightness : 1;
brightness_
fwts_printf(fw, "==== Press the brightness DOWN hotkey for %s ====\n", entry->d_name);
-------
Maybe it should have a delay after brightness_
Changed in fwts (Ubuntu): | |
status: | New → Invalid |