<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/rc/lirc_dev.c, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-11-28T16:46:36Z</updated>
<entry>
<title>media: lirc: drop trailing space from scancode transmit</title>
<updated>2023-11-28T16:46:36Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2023-10-06T21:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89287f95ee3173e1c7afe697e89a9e81968db0d1'/>
<id>urn:sha1:89287f95ee3173e1c7afe697e89a9e81968db0d1</id>
<content type='text'>
commit c8a489f820179fb12251e262b50303c29de991ac upstream.

When transmitting, infrared drivers expect an odd number of samples; iow
without a trailing space. No problems have been observed so far, so
this is just belt and braces.

Fixes: 9b6192589be7 ("media: lirc: implement scancode sending")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>media: rc: IR signal for Panasonic air conditioner too long</title>
<updated>2020-04-13T08:45:01Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2019-06-13T08:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=432da4ae44d0b64cdebe463f2b40e2a039706213'/>
<id>urn:sha1:432da4ae44d0b64cdebe463f2b40e2a039706213</id>
<content type='text'>
commit 5c4c8b4a999019f19e770cb55cbacb89c95897bd upstream.

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 &lt;neuralassembly@gmail.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'media/v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media</title>
<updated>2018-06-07T19:34:37Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2018-06-07T19:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3036bc45364f98515a2c446d7fac2c34dcfbeff4'/>
<id>urn:sha1:3036bc45364f98515a2c446d7fac2c34dcfbeff4</id>
<content type='text'>
Pull media updates from Mauro Carvalho Chehab:

 - remove of atomisp driver from staging, as nobody would have time to
   dedicate huge efforts to fix all the problems there. Also, we have a
   feeling that the driver may not even run the way it is.

 - move Zoran driver to staging, in order to be either fixed to use VB2
   and the proper media kAPIs or to be removed

 - remove videobuf-dvb driver, with is unused for a while

 - some V4L2 documentation fixes/improvements

 - new sensor drivers: imx258 and ov7251

 - a new driver was added to allow using I2C transparent drivers

 - several improvements at the ddbridge driver

 - several improvements at the ISDB pt1 driver, making it more coherent
   with the DVB framework

 - added a new platform driver for MIPI CSI-2 RX: cadence

 - now, all media drivers can be compiled on x86 with COMPILE_TEST

 - almost all media drivers now build on non-x86 architectures with
   COMPILE_TEST

 - lots of other random stuff: cleanups, support for new board models,
   bug fixes, etc

* tag 'media/v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (464 commits)
  media: omap2: fix compile-testing with FB_OMAP2=m
  media: media/radio/Kconfig: add back RADIO_ISA
  media: v4l2-ioctl.c: fix missing unlock in __video_do_ioctl()
  media: pxa_camera: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
  media: arch: sh: migor: Fix TW9910 PDN gpio
  media: staging: tegra-vde: Reset VDE regardless of memory client resetting failure
  media: marvel-ccic: mmp: select VIDEOBUF2_VMALLOC/DMA_CONTIG
  media: marvel-ccic: allow ccic and mmp drivers to coexist
  media: uvcvideo: Prevent setting unavailable flags
  media: ddbridge: conditionally enable fast TS for stv0910-equipped bridges
  media: dvb-frontends/stv0910: make TS speed configurable
  media: ddbridge/mci: add identifiers to function definition arguments
  media: ddbridge/mci: protect against out-of-bounds array access in stop()
  media: rc: ensure input/lirc device can be opened after register
  media: rc: nuvoton: Keep device enabled during reg init
  media: rc: nuvoton: Keep track of users on CIR enable/disable
  media: rc: nuvoton: Tweak the interrupt enabling dance
  media: uvcvideo: Support realtek's UVC 1.5 device
  media: uvcvideo: Fix driver reference counting
  media: gspca_zc3xx: Enable short exposure times for OV7648
  ...
</content>
</entry>
<entry>
<title>media: rc: introduce BPF_PROG_LIRC_MODE2</title>
<updated>2018-05-30T10:38:40Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-05-27T11:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936'/>
<id>urn:sha1:f4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936</id>
<content type='text'>
Add support for BPF_PROG_LIRC_MODE2. This type of BPF program can call
rc_keydown() to reported decoded IR scancodes, or rc_repeat() to report
that the last key should be repeated.

The bpf program can be attached to using the bpf(BPF_PROG_ATTACH) syscall;
the target_fd must be the /dev/lircN device.

Acked-by: Yonghong Song &lt;yhs@fb.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
</content>
</entry>
<entry>
<title>media: rc: per-protocol repeat period and minimum keyup timer</title>
<updated>2018-04-20T13:16:55Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-03-24T12:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=284922562b8170a030fb130ead98224f7211d1ef'/>
<id>urn:sha1:284922562b8170a030fb130ead98224f7211d1ef</id>
<content type='text'>
Each IR protocol has its own repeat period. We can minimise the keyup
timer to be the protocol period + IR timeout. This makes keys less
"sticky" and makes IR more reactive and nicer to use.

This feature was previously attempted in commit d57ea877af38 ("media: rc:
per-protocol repeat period"), but that did not take the IR timeout into
account, and had to be reverted.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: rc: add ioctl to get the current timeout</title>
<updated>2018-04-20T13:15:18Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-03-23T20:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95d1544eb643847e05df06c3de252609593c9073'/>
<id>urn:sha1:95d1544eb643847e05df06c3de252609593c9073</id>
<content type='text'>
Since the kernel now modifies the timeout, make it possible to retrieve
the current value.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: rc: report receiver and transmitter type on device register</title>
<updated>2018-04-20T13:12:43Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-03-27T15:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed8c34d7ec35b0a265f1b4d9ed6ab75e9f6facd7'/>
<id>urn:sha1:ed8c34d7ec35b0a265f1b4d9ed6ab75e9f6facd7</id>
<content type='text'>
On the raspberry pi, we might have two lirc devices; one for sending and
one for receiving. This change makes it much more apparent which one
is which.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: rc: no need to announce major number</title>
<updated>2018-02-27T13:15:32Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-02-13T11:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3'/>
<id>urn:sha1:5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3</id>
<content type='text'>
Since commit a60d64b15c20 ("media: lirc: lirc interface should not be
a raw decoder"), the message in the documentation is incorrect as the
module name is rc_core, not lirc_dev. Since the message is not useful,
just make the message debug and remove it from the documentation.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: rc: get start time just before calling driver tx</title>
<updated>2018-02-14T19:17:21Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-02-12T14:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29422737017b866d4a51014cc7522fa3a99e8852'/>
<id>urn:sha1:29422737017b866d4a51014cc7522fa3a99e8852</id>
<content type='text'>
The current code gets the start time before copying the IR from
userspace (could cause page faults) and encoding IR. This means
that the gap calculation could be off.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: rc: remove useless if statement</title>
<updated>2018-02-14T19:16:39Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2018-02-12T13:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2837ad09018807437f1249d30915e70dd6b6bbe'/>
<id>urn:sha1:c2837ad09018807437f1249d30915e70dd6b6bbe</id>
<content type='text'>
ret is always 0, so remove if statement.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
