Commit e3a0985d authored by Vojtech Pavlik's avatar Vojtech Pavlik

input: Disable scancode event generation in hid-core.c, as it can

       cause floods of events when devices don't honor the set_idle()
       call or report noise on absolute values, until a solution for
       this is found.
Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
parent f30c15ef
......@@ -404,7 +404,6 @@ void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct
return;
input_regs(input, regs);
input_event(input, EV_MSC, MSC_SCAN, usage->hid);
if (!usage->type)
return;
......@@ -587,9 +586,6 @@ int hidinput_connect(struct hid_device *hid)
hidinput->input.id.product = le16_to_cpu(dev->descriptor.idProduct);
hidinput->input.id.version = le16_to_cpu(dev->descriptor.bcdDevice);
hidinput->input.dev = &hid->intf->dev;
set_bit(EV_MSC, hidinput->input.evbit);
set_bit(MSC_SCAN, hidinput->input.mscbit);
}
for (i = 0; i < report->maxfield; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment