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) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) The cx88 driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) ===============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Author:  Gerd Hoffmann
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) This is a v4l2 device driver for the cx2388x chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Current status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) video
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	- Works.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	- Overlay isn't supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) audio
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	- Works. The TV standard detection is made by the driver, as the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	  hardware has bugs to auto-detect.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	- audio data dma (i.e. recording without loopback cable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	  sound card) is supported via cx88-alsa.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) vbi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	- Works.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) How to add support for new cards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) --------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) The driver needs some config info for the TV cards.  This stuff is in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) cx88-cards.c.  If the driver doesn't work well you likely need a new
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) entry for your card in that file.  Check the kernel log (using dmesg)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) to see whenever the driver knows your card or not.  There is a line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) like this one:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) .. code-block:: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		34xxx models [card=1,autodetected]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) the driver.  What to do then?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 1) Try upgrading to the latest snapshot, maybe it has been added
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)    meanwhile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 2) You can try to create a new entry yourself, have a look at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)    cx88-cards.c.  If that worked, mail me your changes as unified
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)    diff ("diff -u").
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 3) Or you can mail me the config information.  We need at least the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)    following information to add the card:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)      - the PCI Subsystem ID ("0070:3400" from the line above,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)        "lspci -v" output is fine too).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)      - the tuner type used by the card.  You can try to find one by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)        trial-and-error using the tuner=<n> insmod option.  If you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)        know which one the card has you can also have a look at the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)        list in CARDLIST.tuner