Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) pxrc - PhoenixRC Flight Controller Adapter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) :Author: Marcus Folkesson <marcus.folkesson@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) This driver let you use your own RC controller plugged into the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) adapter that comes with PhoenixRC [1]_ or other compatible adapters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) The adapter supports 7 analog channels and 1 digital input switch.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) =====
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Many RC controllers is able to configure which stick goes to which channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) This is also configurable in most simulators, so a matching is not necessary.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) The driver is generating the following input event for analog channels:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) | Channel |      Event     |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) +=========+================+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) |     1   |  ABS_X         |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) |     2   |  ABS_Y         |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) |     3   |  ABS_RX        |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) |     4   |  ABS_RY        |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) |     5   |  ABS_RUDDER    |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) |     6   |  ABS_THROTTLE  |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) |     7   |  ABS_MISC      |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) +---------+----------------+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) The digital input switch is generated as an `BTN_A` event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Manual Testing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) ==============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) To test this driver's functionality you may use `input-event` which is part of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) the `input layer utilities` suite [2]_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) For example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)     > modprobe pxrc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)     > input-events <devnr>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) To print all input events from input `devnr`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) References
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) .. [1] http://www.phoenix-sim.com/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) .. [2] https://www.kraxel.org/cgit/input/