22 Aug, 2019

7 commits


14 Aug, 2019

1 commit


23 Jul, 2019

1 commit


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 version

    extracted 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

    Thomas Gleixner
     

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

    Matthias Reichl
     

01 Mar, 2019

1 commit


19 Feb, 2019

1 commit


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

    Benjamin Valentin
     

21 Mar, 2018

2 commits


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

    Sean Young
     

31 Oct, 2017

1 commit


27 Oct, 2017

2 commits


12 Oct, 2017

1 commit


20 Aug, 2017

2 commits


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

    Sean Young
     
  • 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

    Sean Young
     

31 Jan, 2017

1 commit


30 Jan, 2017

4 commits


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

    Sean Young
     

09 Sep, 2016

2 commits


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

    Mauro Carvalho Chehab
     

18 Jul, 2016

1 commit


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

    Jonathan McDowell
     

22 Jun, 2016

1 commit


19 Nov, 2015

1 commit


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

    David Härdeman
     

10 Jun, 2015

1 commit