Skip to content
Commit fd0b578b authored by Sean Young's avatar Sean Young Committed by Greg Kroah-Hartman
Browse files

media: Revert "media: rc: some events are dropped by userspace"



commit 05f0edad upstream.

When an rc device is created, we do not know what key codes it will
support, since a new keymap might be loaded at some later point. So,
we set all keybit in the input device.

The uevent for the input device includes all the key codes, of which
there are now 768. This overflows the size of the uevent
(UEVENT_BUFFER_SIZE) and no event is generated.

Revert for now until we figure out a different solution.

This reverts commit fec225a0.

Cc: <stable@vger.kernel.org> # 4.20+
Reported-by: default avatarChristian Holpert <christian@holpert.de>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e3f5c3cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment