The restricted number (LIRCBUF_SIZE) of pulse-spaces in IR sequences is too small

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

When using kernel 4.19.X and sending IR commands with LIRC,
the number of  pulse-spaces of IR sequence is restricted to be smaller than 256.

In kernel 4.19, this restriction is caused by the following line in
media/rc/lirc_dev.c,
which did not exist kernel 4.14.
https://github.com/torvalds/linux/blob/v4.19/drivers/media/rc/lirc_dev.c

#define LIRCBUF_SIZE 256

An IR sequences of a remote controller of my air conditioner has 439
pulse-spaces
with about 250ms duration, so, it cannot be sent with kernel 4.19.

The max duration of IR sequence is detemined as 500ms by IR_MAX_DURATION.
Therefore,  I think signals with about 1000 pulse-spaces should be allowed.

So, could you please set LIRCBUF_SIZE to the value 1024?

I built a kernel 4.19.46 with LIRCBUF_SIZE=1024,
and I confirmed that IR sequences  with 439 pulse-spaces
could be sent correctly.

Sincerely,

Takashi Kanamaru



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux