22 Aug, 2019
7 commits
-
This is a simple NEC remote control device shipped with the HardKernel
ODROID range of SBC devices.Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The WeTek Play 2 Android STB ships with an unusual remote where the
main up/down/left/right/enter controls are surrounded with an outer
ring of additional keys which are listed in clockwise order.Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The WeTek Hub Android STB ships with a simple NEC remote.
Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The Tanix TX5 max Android STB ships with a simple NEC remote.
Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The Tanix TX3 mini Android STB ships with a simple NEC remote.
Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
Khadas VIM and Edge SBC devices use the same NEC remote device. The
remote includes a mouse button for Android use. This has been mapped
to KEY_MUTE.Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The X96-Max Android STB ships with a simple NEC remote. It includes
a TV section with preset buttons for controlling a TV. These are not
configurable, but are noted to aid visual recognition of the device.Signed-off-by: Christian Hewitt
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
14 Aug, 2019
1 commit
-
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
23 Jul, 2019
1 commit
-
This lists all the protocols that the kernel knows about, however there
are no users.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
31 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license as published by
the free software foundation either version 2 of the license or at
your option any later versionextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-or-later
has been chosen to replace the boilerplate/reference in 3029 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2019
1 commit
-
The timestamps in ir-keytable -t output showed that the Xbox DVD
IR dongle decodes scancodes every 64ms. The last scancode of a
longer button press is decodes 64ms after the last-but-one which
indicates the decoder doesn't use a timeout but decodes on the last
edge of the signal.267.042629: lirc protocol(unknown): scancode = 0xace
267.042665: event type EV_MSC(0x04): scancode = 0xace
267.042665: event type EV_KEY(0x01) key_down: KEY_1(0x0002)
267.042665: event type EV_SYN(0x00).
267.106625: lirc protocol(unknown): scancode = 0xace
267.106643: event type EV_MSC(0x04): scancode = 0xace
267.106643: event type EV_SYN(0x00).
267.170623: lirc protocol(unknown): scancode = 0xace
267.170638: event type EV_MSC(0x04): scancode = 0xace
267.170638: event type EV_SYN(0x00).
267.234621: lirc protocol(unknown): scancode = 0xace
267.234636: event type EV_MSC(0x04): scancode = 0xace
267.234636: event type EV_SYN(0x00).
267.298623: lirc protocol(unknown): scancode = 0xace
267.298638: event type EV_MSC(0x04): scancode = 0xace
267.298638: event type EV_SYN(0x00).
267.543345: event type EV_KEY(0x01) key_down: KEY_1(0x0002)
267.543345: event type EV_SYN(0x00).
267.570015: event type EV_KEY(0x01) key_up: KEY_1(0x0002)
267.570015: event type EV_SYN(0x00).Add a protocol with the repeat value and set the timeout in the
driver to 10ms (to have a bit of headroom for delays) so the Xbox
DVD remote performs more responsive.Signed-off-by: Matthias Reichl
Acked-by: Benjamin Valentin
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
01 Mar, 2019
1 commit
-
Use codespell to fix lots of typos over frontends.
Manually verified to avoid false-positives.
Signed-off-by: Mauro Carvalho Chehab
Reviewed-by: Lad, Prabhakar
Signed-off-by: Mauro Carvalho Chehab
19 Feb, 2019
1 commit
-
media: add support for RCMM infrared remote controls.
Signed-off-by: Patrick Lerda
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
23 Nov, 2018
1 commit
-
The Xbox DVD Movie Playback Kit is a USB dongle with an IR remote for the
Original Xbox.Historically it has been supported by the out-of-tree lirc_xbox driver,
but this one has fallen out of favour and was just dropped from popular
Kodi (formerly XBMC) distributions.This driver is heavily based on the ati_remote driver where all the
boilerplate was taken from - I was mostly just removing code.Signed-off-by: Benjamin Valentin
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
21 Mar, 2018
2 commits
-
This makes it possible to use the various iMON remotes with any raw IR
RC device.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
Note that the stick on the remote is not supported yet.
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
14 Dec, 2017
1 commit
-
This introduces a new lirc mode: scancode. Any device which can send raw IR
can now also send scancodes.int main()
{
int mode, fd = open("/dev/lirc0", O_RDWR);mode = LIRC_MODE_SCANCODE;
if (ioctl(fd, LIRC_SET_SEND_MODE, &mode)) {
// kernel too old or lirc does not support transmit
}
struct lirc_scancode scancode = {
.scancode = 0x1e3d,
.rc_proto = RC_PROTO_RC5,
};
write(fd, &scancode, sizeof(scancode));
close(fd);
}The other fields of lirc_scancode must be set to 0.
Note that toggle (rc5, rc6) and repeats (nec) are not implemented. Nor is
there a method for holding down a key for a period.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
31 Oct, 2017
1 commit
-
Add the keymap module for Astrometa T2hybrid remote control commands.
Signed-off-by: Oleh Kravchenko
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
27 Oct, 2017
2 commits
-
This is a NEC protocol type remote controller distributed with
96boards poplar@tocoding board.Signed-off-by: Younian Wang
Signed-off-by: Jiancheng Xue
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
This is a NEC protocol type remote controller distributed with
hisilicon TV demo boards.Signed-off-by: Younian Wang
Signed-off-by: Jiancheng Xue
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
12 Oct, 2017
1 commit
-
Add a keymap for the Sigma Designs Vantage (dev board) remote control.
Signed-off-by: Marc Gonzalez
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
20 Aug, 2017
2 commits
-
RC_TYPE is confusing and it's just the protocol. So rename it.
Suggested-by: Hans Verkuil
Signed-off-by: Sean Young
Acked-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
It adds the remote control driver and corresponding keymap file for
IRDEC block found on ZTE ZX family SoCs.Signed-off-by: Shawn Guo
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
24 Mar, 2017
2 commits
-
Split the protocol into two variants, one for keyboard and one for mouse
data.Note that the mce_kbd protocol cannot be used on the igorplugusb, since
the IR is too long.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab -
The lirc keymap existed once upon a time to select the lirc protocol.
Since '275ddb4 [media] rc-core: remove the LIRC "protocol"', IR is
always passed to the lirc decoder so this keymap is no longer needed.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
31 Jan, 2017
1 commit
-
The GeekBox ships with a 12 button remote control which seems to use the
NEC protocol. The button keycodes were captured with the "ir-keytable"
tool (ir-keytable -p $PROTOCOL -t; human_button_pusher).Signed-off-by: Martin Blumenstingl
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
30 Jan, 2017
4 commits
-
Add support in rc-core for drivers which implement the wakeup scancode
filter by encoding the scancode using the raw IR encoders. This is by
way of rc_dev::encode_wakeup which should be set to true and
rc_dev::allowed_wakeup_protocols should be set to the raw IR encoders.We also do not permit the mask to be set as we cannot generate IR
which would match that.Signed-off-by: James Hogan
Signed-off-by: Antti Seppälä
Signed-off-by: Sean Young
Cc: David Härdeman
Signed-off-by: Mauro Carvalho Chehab -
unknown and other are for IR protocols for which we have no decoder,
so the raw IR drivers have no chance of generating them. cec is not
an IR protocol.Signed-off-by: Sean Young
Cc: Jiri Kosina
Cc: Benjamin Tissoires
Cc: Bruno Prémont
Signed-off-by: Mauro Carvalho Chehab -
There are many variants of extended rc5. This implements the 20 bit
version.Signed-off-by: Sean Young
Cc: David Härdeman
Signed-off-by: Mauro Carvalho Chehab -
The d680_dmb keymap has some new new mappings.
Tested-by: Vincent McIntyre
Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
22 Sep, 2016
1 commit
-
Currently we do not know what variant (bit length) of the nec protocol
is used, other than from guessing from the length of the scancode. Now
nec will be handled the same way as the sony protocol or the rc6 protocol;
one variant per bit length.In the future we might want to expose the rc protocol type to userspace
and we don't want to be introducing this world of pain into userspace
too.Signed-off-by: Sean Young
Signed-off-by: Mauro Carvalho Chehab
09 Sep, 2016
2 commits
-
./include/media/rc-map.h:121: WARNING: Inline emphasis start-string without end-string.
Signed-off-by: Mauro Carvalho Chehab
-
There are some structs/enums that aren't documented via
kernel-doc markup. Add documentation for them.Fix those warnings:
./include/media/rc-map.h:103: WARNING: c:type reference target not found: rc_map_list
./include/media/rc-map.h:110: WARNING: c:type reference target not found: rc_map_list
./include/media/rc-map.h:117: WARNING: c:type reference target not found: rc_mapSigned-off-by: Mauro Carvalho Chehab
23 Jul, 2016
1 commit
-
* patchwork: (1492 commits)
[media] cec: always check all_device_types and features
[media] cec: poll should check if there is room in the tx queue
[media] vivid: support monitor all mode
[media] cec: fix test for unconfigured adapter in main message loop
[media] cec: limit the size of the transmit queue
[media] cec: zero unused msg part after msg->len
[media] cec: don't set fh to NULL in CEC_TRANSMIT
[media] cec: clear all status fields before transmit and always fill in sequence
[media] cec: CEC_RECEIVE overwrote the timeout field
[media] cxd2841er: Reading SNR for DVB-C added
[media] cxd2841er: Reading BER and UCB for DVB-C added
[media] cxd2841er: fix switch-case for DVB-C
[media] cxd2841er: fix signal strength scale for ISDB-T
[media] cxd2841er: adjust the dB scale for DVB-C
[media] cxd2841er: provide signal strength for DVB-C
[media] cxd2841er: fix BER report via DVBv5 stats API
[media] mb86a20s: apply mask to val after checking for read failure
[media] airspy: fix error logic during device register
[media] s5p-cec/TODO: add TODO item
[media] cec/TODO: drop comment about sphinx documentation
...Signed-off-by: Mauro Carvalho Chehab
18 Jul, 2016
1 commit
-
The kernel-doc script is now broken if it doesn't find all
exported symbols documented.Signed-off-by: Mauro Carvalho Chehab
09 Jul, 2016
1 commit
-
Converts the dtt200u DVB USB driver over to the rc-core
infrastructure for its handling of IR remotes. This device can receive
generic NEC / NEC Extended signals and the switch to the newer core
enables the easy use of tools such as ir-keytable to modify the active
key map.Signed-off-by: Jonathan McDowell
Signed-off-by: Mauro Carvalho Chehab
22 Jun, 2016
1 commit
-
Add handling of remote control events coming from the HDMI CEC bus
and the new protocol required for that.Signed-off-by: Kamil Debski
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
19 Nov, 2015
1 commit
-
The RC_BIT_ constants are used in 64-bit bitmaps.
In case of > 32 RC_BIT_ constants the current code will fail
on 32-bit systems.
Therefore define the RC_BIT_ constants as unsigned long long.Signed-off-by: Heiner Kallweit
Signed-off-by: Mauro Carvalho Chehab
06 Jul, 2015
1 commit
-
The LIRC protocol was always a bad fit and if we're ever going to expose
protocol numbers in a user-space API, it'd be better to get rid of the
LIRC "protocol" first.The sysfs API is kept backwards compatible by always listing the lirc
protocol as present and enabled.Signed-off-by: David Härdeman
Signed-off-by: Mauro Carvalho Chehab
10 Jun, 2015
1 commit
-
This RC map was taken from Christoph Pinkl's patch
(http://patchwork.linuxtv.org/patch/7217/). It is used solely by the respective
mantis based card because the encoding is not known.Signed-off-by: Jan Klötzke
Signed-off-by: Mauro Carvalho Chehab