diff options
| author | Lorenz Brun <lorenz@brun.one> | 2023-03-28 01:52:45 +0200 |
|---|---|---|
| committer | Lorenz Brun <lorenz@brun.one> | 2023-03-28 01:58:19 +0200 |
| commit | 5a6490040c1fff29f94cf3a6a80bc07709836046 (patch) | |
| tree | 6e8300ea7a98c5334d23840faa3e40ba07ed66e1 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | b9c548a4c71d74c51d27d8df93e5d230a1cdd159 (diff) | |
linux: fix error with IR remotes
Support for IR remotes was originally introduced in NixOS in 2013 with
[1]. This worked fine until 2018 with the release of Linux 4.16 which
contained [2], which removed the default-enable on the IR decoders.
This means that kernels since then build with RC_DEVICES enabled, but
RC_DECODERS disabled:
```
CONFIG_RC_DEVICES=y
```
This breaks IR remote support and also leads to the following error on
every bootup when such a device is present as devices have a default
keymap which uses a protocols decoder, but these decoders are not
available:
```
rc_core: Loaded IR protocol module ir-rc6-decoder, but protocol rc-6 still not available
```
Fix this by also enabling RC_DECODERS in the kernel configuration.
[1] https://github.com/NixOS/nixpkgs/commit/b7ccfc258abce98f999035dac83b821360016ac4
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22756ae7319b0afc2a80fbdec365a6976a1ad350
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
