From: Sean Young <sean@mess.org>
To: stable@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-media@vger.kernel.org, Takashi Kanamaru <neuralassembly@gmail.com>
Subject: Re: [PATCH] media: rc: IR signal for Panasonic air conditioner too long sequences is too small
Date: Mon, 6 Apr 2020 10:51:55 +0100 [thread overview]
Message-ID: <20200406095154.GA19905@gofer.mess.org> (raw)
In-Reply-To: <CAKL8oB-_=07iOBUfiuD4sj_nuL2HURt_Ej4m9EFCL7yNzLYXjg@mail.gmail.com>
Hello stable team, Greg,
On Mon, Apr 06, 2020 at 06:06:29PM +0900, Takashi Kanamaru wrote:
> Dear Sean Young and all,
>
> In the last year, a change of the value of LIRCBUF_SIZE
> from 256 to 1024 was committed to the master branch at the time,
> and the new value can be used in the kernel 5.3 or later.
>
> https://github.com/torvalds/linux/commit/5c4c8b4a999019f19e770cb55cbacb89c95897bd#diff-3b71f634ae88214ee31a1b6c90f7df5c
>
> This change of LIRCBUF_SIZE was proposed
> in order to treat long IR sequences of remote controllers
> on Raspberry Pi.
>
> However, Raspberry Pi now uses kernel 4.19,
> so the new value cannot be used.
>
> Can you backport the above commit
> to the older kernels, i.e.,
> 4.19, 4.20, 5.0, 5.1, and 5.2?
I'd like to propose this commit for the stable tree, from kernel 4.16 to
5.2. It has been in the tree from v5.3 onwards and no regressions have
been found.
Thank you,
Sean
> Sincerely,
>
> Takashi Kanamaru
>
> 2019年6月13日(木) 17:49 Sean Young <sean@mess.org>:
> >
> > The IR signal to control the Panasonic ACXA75C00600 air conditioner has
> > 439 pulse/spaces. Increase limit to make it possible to transmit signal.
> >
> > Reported-by: Takashi Kanamaru <neuralassembly@gmail.com>
> > Signed-off-by: Sean Young <sean@mess.org>
> > ---
> > drivers/media/rc/lirc_dev.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
> > index 10830605c734..f078f8a3aec8 100644
> > --- a/drivers/media/rc/lirc_dev.c
> > +++ b/drivers/media/rc/lirc_dev.c
> > @@ -19,7 +19,7 @@
> > #include "rc-core-priv.h"
> > #include <uapi/linux/lirc.h>
> >
> > -#define LIRCBUF_SIZE 256
> > +#define LIRCBUF_SIZE 1024
> >
> > static dev_t lirc_base_dev;
> >
> > --
> > 2.20.1
> >
next parent reply other threads:[~2020-04-06 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKL8oB_qPGVXd3MCj=f1Lzh02ifGzYTS2YAD77s2MY2LAnc+1A@mail.gmail.com>
[not found] ` <20190612150132.iemhbronjjaonpt2@gofer.mess.org>
[not found] ` <CAKL8oB-KxsGxHAUac7sYBf-Gs4UkAPVkXg75LwwVbut9GkQ-sQ@mail.gmail.com>
[not found] ` <20190613084926.bjxv2vdkp3qqpkuu@gofer.mess.org>
[not found] ` <CAKL8oB-_=07iOBUfiuD4sj_nuL2HURt_Ej4m9EFCL7yNzLYXjg@mail.gmail.com>
2020-04-06 9:51 ` Sean Young [this message]
2020-04-06 10:17 ` [PATCH] media: rc: IR signal for Panasonic air conditioner too long sequences is too small Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200406095154.GA19905@gofer.mess.org \
--to=sean@mess.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-media@vger.kernel.org \
--cc=neuralassembly@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).