TODO RC: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Minor bugs/improvement ==
Investigation needed:
* if driver depends on RC_CORE, change this to select RC_CORE, depends on INPUT? OR use a patch like https://patchwork.linuxtv.org/patch/40601/ and remove "depends on RC_CORE".
* struct ir_raw_event_ctrl member prev_ev. Investigate if this can be removed.
* mceusb can do wakeups. Allow this to be configured
* serial_ir tx w/ softcarrier, does it work on 32 bit? "new_duty_cycle * NSEC_PER_SEC" > 2^32.
* ir-keytable should display and allow you to configure wakeup protocol and scancode (protocol?)
* Kconfig RC_CORE should not depend on MEDIA_SUPPORT
* Can sir_ir and/or serial_ir use serdev
* depends on RC_COREC -> select RC_CORE, depends on INPUT?
* Make the kernel mapping rc_proto:scancode -> keycode, not just scancode. This should reduce the number of possible conflicts.
* RC device RC_DRIVER_IR_RAW_TX leaks dev->raw on rc_unregister_device()?
* ir-ctl should list available devices if run without any argument and allow to select device based on rc (based on /sys/class/rc/).
* Unplug iguanair with lirc chardev open causes kernel to go bang
* bpf ir decoders need a way of specifying minimum timeout and repeat period
* Compile kernel with KASAN. mceusb says:
* driver for sasem remote controller
[ 56.365080] BUG: KASAN: slab-out-of-bounds in mceusb_dev_printdata+0xdc/0x830 [mceusb] at addr ffff8801df071d0a
* test if pwm-ir-tx can replace ir-rx51.c driver on n900 hardware
* saa7134 should add trailing space (timeout handling). Once this is fixed, implement the following item.
* ir_raw_event_store_edge() should not use REP_DELAY.

Worked needed:
* ir-spi says "Unspecified device" in dmesg since ir-spi does not set input_name; rename input_name to device_name for all RC devices.
* pwm gpio transmitter needed (Sean Young working on this)
* bitbang gpio transmitter needed (Sean Young working on this)
* lirc_zilog rc core driver (Sean Young working on this)
* Once lirc_zilog is removed, remove lirc kapi.

ir-keytable changes needed.
* Cannot list RC core devices if one of them is of type RC_DRIVER_IR_RAW_TX
* Without CONFIG_INPUT_EVDEV ir-keytable goes bang
* "ir-ctl -S rc6_mce:0x800f0410" does not work on 32-bit

Latest revision as of 15:32, 21 September 2018

Minor bugs/improvement

  • if driver depends on RC_CORE, change this to select RC_CORE, depends on INPUT? OR use a patch like https://patchwork.linuxtv.org/patch/40601/ and remove "depends on RC_CORE".
  • mceusb can do wakeups. Allow this to be configured
  • ir-keytable should display and allow you to configure wakeup protocol and scancode (protocol?)
  • Can sir_ir and/or serial_ir use serdev
  • Make the kernel mapping rc_proto:scancode -> keycode, not just scancode. This should reduce the number of possible conflicts.
  • ir-ctl should list available devices if run without any argument and allow to select device based on rc (based on /sys/class/rc/).
  • bpf ir decoders need a way of specifying minimum timeout and repeat period
  • driver for sasem remote controller
  • test if pwm-ir-tx can replace ir-rx51.c driver on n900 hardware