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) ======================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Avermedia DVB-T on BT878 Release Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) ======================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) February 14th 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)    Several other Avermedia devices are supported. For a more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)    broader and updated content about that, please check:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)    https://linuxtv.org/wiki/index.php/AVerMedia
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) The Avermedia DVB-T
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) ~~~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) The Avermedia DVB-T is a budget PCI DVB card. It has 3 inputs:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) * RF Tuner Input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * Composite Video Input (RCA Jack)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * SVIDEO Input (Mini-DIN)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) The  RF  Tuner  Input  is the input to the tuner module of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) card.  The  Tuner  is  otherwise known as the "Frontend" . The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Frontend of the Avermedia DVB-T is a Microtune 7202D. A timely
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) post  to  the  linux-dvb  mailing  list  ascertained  that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Microtune  7202D  is  supported  by the sp887x driver which is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) found in the dvb-hw CVS module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) The  DVB-T card is based around the BT878 chip which is a very
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) common multimedia bridge and often found on Analogue TV cards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) There is no on-board MPEG2 decoder, which means that all MPEG2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) decoding  must  be done in software, or if you have one, on an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) MPEG2 hardware decoding card or chipset.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Getting the card going
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ~~~~~~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) At  this  stage,  it  has  not  been  able  to  ascertain  the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) functionality  of the remaining device nodes in respect of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Avermedia  DVBT.  However,  full  functionality  in respect of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) tuning,  receiving  and  supplying  the  MPEG2  data stream is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) possible  with the currently available versions of the driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) It  may be possible that additional functionality is available
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) from  the  card  (i.e.  viewing the additional analogue inputs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) that  the card presents), but this has not been tested yet. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) I get around to this, I'll update the document with whatever I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) find.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) To  power  up  the  card,  load  the  following modules in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) following order:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) * modprobe bttv (normally loaded automatically)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) * modprobe dvb-bt8xx (or place dvb-bt8xx in /etc/modules)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) Insertion  of  these  modules  into  the  running  kernel will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) activate the appropriate DVB device nodes. It is then possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) to start accessing the card with utilities such as scan, tzap,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) dvbstream etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) The frontend module sp887x.o, requires an external   firmware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Please use  the  command "get_dvb_firmware sp887x" to download
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) it. Then copy it to /usr/lib/hotplug/firmware or /lib/firmware/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) (depending on configuration of firmware hotplug).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Known Limitations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) ~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) At  present  I can say with confidence that the frontend tunes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) via /dev/dvb/adapter{x}/frontend0 and supplies an MPEG2 stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) via   /dev/dvb/adapter{x}/dvr0.   I   have   not   tested  the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) functionality  of any other part of the card yet. I will do so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) over time and update this document.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) There  are some limitations in the i2c layer due to a returned
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) error message inconsistency. Although this generates errors in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) dmesg  and  the  system logs, it does not appear to affect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) ability of the frontend to function correctly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Further Update
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) ~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) dvbstream  and  VideoLAN  Client on windows works a treat with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) DVB,  in  fact  this  is  currently  serving as my main way of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) viewing  DVB-T  at  the  moment.  Additionally, VLC is happily
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) decoding  HDTV  signals,  although  the PC is dropping the odd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) frame here and there - I assume due to processing capability -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) as all the decoding is being done under windows in software.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) Many  thanks to Nigel Pearson for the updates to this document
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) since the recent revision of the driver.