mbox series

[PATCHv2,00/16] staging/media: remove most deprecated drivers

Message ID 20230111112418.687882-1-hverkuil-cisco@xs4all.nl (mailing list archive)
Headers show
Series staging/media: remove most deprecated drivers | expand

Message

Hans Verkuil Jan. 11, 2023, 11:24 a.m. UTC
We deprecated a lot of old drivers that did not use vb2, but either
implemented buffer handling themselves, or used the old vb1 framework.

This series deletes these drivers.

After this series, the only remaining deprecated driver is the atmel
driver.

The only two drivers that still use vb1 in mainline are cx18 and bttv.

Changes since v1: split up the av7110 removal since it was too big
for the mailinglist.

Regards,

	Hans


Hans Verkuil (16):
  meye: remove this deprecated driver
  cpia2: remove deprecated driver
  fsl-viu: remove deprecated driver
  stkwebcam: remove deprecated driver
  zr364xx: remove deprecated driver
  vpfe_capture: remove deprecated davinci drivers
  tm6000: remove deprecated driver
  av7110: stop building this deprecated driver
  av7110: remove deprecated documentation
  av7110: remove av7110* sources
  av7110: remove deprecated driver
  ttpci: remove deprecated driver
  saa7146: remove deprecated drivers
  dvbdev.h: remove DVB_DEVICE_VIDEO/AUDIO/OSD
  dvb_demux.h: remove av7110-private fields
  dvb_demux.h: remove write_to_decoder

 Documentation/admin-guide/media/cpia2.rst     |  145 -
 .../admin-guide/media/dvb-drivers.rst         |    1 -
 Documentation/admin-guide/media/dvb_intro.rst |    8 +-
 Documentation/admin-guide/media/meye.rst      |   93 -
 .../admin-guide/media/other-usb-cardlist.rst  |   14 -
 .../admin-guide/media/pci-cardlist.rst        |    5 -
 .../admin-guide/media/platform-cardlist.rst   |    1 -
 .../admin-guide/media/tm6000-cardlist.rst     |   83 -
 .../admin-guide/media/usb-cardlist.rst        |    7 -
 .../admin-guide/media/v4l-drivers.rst         |    2 -
 Documentation/admin-guide/media/zr364xx.rst   |  102 -
 .../driver-api/media/drivers/cpia2_devel.rst  |   56 -
 .../driver-api/media/drivers/index.rst        |    1 -
 .../userspace-api/media/drivers/index.rst     |    1 -
 .../userspace-api/media/drivers/meye-uapi.rst |   53 -
 MAINTAINERS                                   |   34 -
 drivers/media/common/b2c2/flexcop.c           |    1 -
 drivers/media/dvb-core/dvb_demux.c            |    6 -
 drivers/media/dvb-core/dvbdev.c               |    6 -
 drivers/media/firewire/firedtv-dvb.c          |    1 -
 drivers/media/pci/bt8xx/dvb-bt8xx.c           |    1 -
 drivers/media/pci/mantis/mantis_dvb.c         |    1 -
 drivers/media/pci/ngene/ngene-dvb.c           |    1 -
 drivers/media/pci/pt1/pt1.c                   |    1 -
 drivers/media/pci/smipcie/smipcie-main.c      |    1 -
 .../st/sti/c8sectpfe/c8sectpfe-common.c       |    1 -
 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c   |    1 -
 drivers/media/usb/dvb-usb/dvb-usb-dvb.c       |    1 -
 drivers/media/usb/pvrusb2/pvrusb2-dvb.c       |    1 -
 .../media/usb/ttusb-budget/dvb-ttusb-budget.c |    1 -
 drivers/media/usb/ttusb-dec/ttusb_dec.c       |    1 -
 drivers/staging/media/Kconfig                 |    8 -
 drivers/staging/media/Makefile                |    8 -
 .../staging/media/deprecated/cpia2/Kconfig    |   13 -
 .../staging/media/deprecated/cpia2/Makefile   |    4 -
 drivers/staging/media/deprecated/cpia2/TODO   |    6 -
 .../staging/media/deprecated/cpia2/cpia2.h    |  475 ---
 .../media/deprecated/cpia2/cpia2_core.c       | 2434 --------------
 .../media/deprecated/cpia2/cpia2_registers.h  |  463 ---
 .../media/deprecated/cpia2/cpia2_usb.c        |  966 ------
 .../media/deprecated/cpia2/cpia2_v4l.c        | 1226 -------
 .../staging/media/deprecated/fsl-viu/Kconfig  |   15 -
 .../staging/media/deprecated/fsl-viu/Makefile |    2 -
 drivers/staging/media/deprecated/fsl-viu/TODO |    7 -
 .../media/deprecated/fsl-viu/fsl-viu.c        | 1599 ---------
 drivers/staging/media/deprecated/meye/Kconfig |   19 -
 .../staging/media/deprecated/meye/Makefile    |    2 -
 drivers/staging/media/deprecated/meye/TODO    |    6 -
 drivers/staging/media/deprecated/meye/meye.c  | 1814 ----------
 drivers/staging/media/deprecated/meye/meye.h  |  311 --
 .../staging/media/deprecated/saa7146/Kconfig  |    5 -
 .../staging/media/deprecated/saa7146/Makefile |    2 -
 .../media/deprecated/saa7146/av7110/Kconfig   |  106 -
 .../media/deprecated/saa7146/av7110/Makefile  |   23 -
 .../media/deprecated/saa7146/av7110/TODO      |    9 -
 .../av7110/audio-bilingual-channel-select.rst |   58 -
 .../saa7146/av7110/audio-channel-select.rst   |   57 -
 .../saa7146/av7110/audio-clear-buffer.rst     |   48 -
 .../saa7146/av7110/audio-continue.rst         |   48 -
 .../saa7146/av7110/audio-fclose.rst           |   51 -
 .../deprecated/saa7146/av7110/audio-fopen.rst |  103 -
 .../saa7146/av7110/audio-fwrite.rst           |   79 -
 .../saa7146/av7110/audio-get-capabilities.rst |   54 -
 .../saa7146/av7110/audio-get-status.rst       |   54 -
 .../deprecated/saa7146/av7110/audio-pause.rst |   49 -
 .../deprecated/saa7146/av7110/audio-play.rst  |   48 -
 .../saa7146/av7110/audio-select-source.rst    |   56 -
 .../saa7146/av7110/audio-set-av-sync.rst      |   58 -
 .../saa7146/av7110/audio-set-bypass-mode.rst  |   62 -
 .../saa7146/av7110/audio-set-id.rst           |   59 -
 .../saa7146/av7110/audio-set-mixer.rst        |   53 -
 .../saa7146/av7110/audio-set-mute.rst         |   62 -
 .../saa7146/av7110/audio-set-streamtype.rst   |   66 -
 .../deprecated/saa7146/av7110/audio-stop.rst  |   48 -
 .../media/deprecated/saa7146/av7110/audio.rst |   27 -
 .../saa7146/av7110/audio_data_types.rst       |  116 -
 .../saa7146/av7110/audio_function_calls.rst   |   30 -
 .../media/deprecated/saa7146/av7110/av7110.c  | 2919 -----------------
 .../media/deprecated/saa7146/av7110/av7110.h  |  315 --
 .../deprecated/saa7146/av7110/av7110_av.c     | 1681 ----------
 .../deprecated/saa7146/av7110/av7110_av.h     |   32 -
 .../deprecated/saa7146/av7110/av7110_ca.c     |  380 ---
 .../deprecated/saa7146/av7110/av7110_ca.h     |   15 -
 .../deprecated/saa7146/av7110/av7110_hw.c     | 1204 -------
 .../deprecated/saa7146/av7110/av7110_hw.h     |  496 ---
 .../deprecated/saa7146/av7110/av7110_ipack.c  |  404 ---
 .../deprecated/saa7146/av7110/av7110_ipack.h  |   13 -
 .../deprecated/saa7146/av7110/av7110_ir.c     |  158 -
 .../deprecated/saa7146/av7110/av7110_v4l.c    |  952 ------
 .../deprecated/saa7146/av7110/budget-patch.c  |  665 ----
 .../deprecated/saa7146/av7110/dvb_filter.c    |  115 -
 .../deprecated/saa7146/av7110/dvb_filter.h    |  242 --
 .../media/deprecated/saa7146/av7110/sp8870.c  |  609 ----
 .../media/deprecated/saa7146/av7110/sp8870.h  |   37 -
 .../saa7146/av7110/video-clear-buffer.rst     |   54 -
 .../saa7146/av7110/video-command.rst          |   96 -
 .../saa7146/av7110/video-continue.rst         |   57 -
 .../saa7146/av7110/video-fast-forward.rst     |   72 -
 .../saa7146/av7110/video-fclose.rst           |   51 -
 .../deprecated/saa7146/av7110/video-fopen.rst |  111 -
 .../saa7146/av7110/video-freeze.rst           |   61 -
 .../saa7146/av7110/video-fwrite.rst           |   79 -
 .../saa7146/av7110/video-get-capabilities.rst |   61 -
 .../saa7146/av7110/video-get-event.rst        |  105 -
 .../saa7146/av7110/video-get-frame-count.rst  |   65 -
 .../saa7146/av7110/video-get-pts.rst          |   69 -
 .../saa7146/av7110/video-get-size.rst         |   69 -
 .../saa7146/av7110/video-get-status.rst       |   72 -
 .../deprecated/saa7146/av7110/video-play.rst  |   57 -
 .../saa7146/av7110/video-select-source.rst    |   76 -
 .../saa7146/av7110/video-set-blank.rst        |   64 -
 .../av7110/video-set-display-format.rst       |   60 -
 .../saa7146/av7110/video-set-format.rst       |   82 -
 .../saa7146/av7110/video-set-streamtype.rst   |   61 -
 .../saa7146/av7110/video-slowmotion.rst       |   72 -
 .../saa7146/av7110/video-stillpicture.rst     |   61 -
 .../deprecated/saa7146/av7110/video-stop.rst  |   74 -
 .../saa7146/av7110/video-try-command.rst      |   66 -
 .../media/deprecated/saa7146/av7110/video.rst |   36 -
 .../saa7146/av7110/video_function_calls.rst   |   35 -
 .../deprecated/saa7146/av7110/video_types.rst |  248 --
 .../media/deprecated/saa7146/common/Kconfig   |   10 -
 .../media/deprecated/saa7146/common/Makefile  |    6 -
 .../media/deprecated/saa7146/common/saa7146.h |  472 ---
 .../deprecated/saa7146/common/saa7146_core.c  |  578 ----
 .../deprecated/saa7146/common/saa7146_fops.c  |  658 ----
 .../deprecated/saa7146/common/saa7146_hlp.c   | 1046 ------
 .../deprecated/saa7146/common/saa7146_i2c.c   |  421 ---
 .../deprecated/saa7146/common/saa7146_vbi.c   |  498 ---
 .../deprecated/saa7146/common/saa7146_video.c | 1286 --------
 .../deprecated/saa7146/common/saa7146_vv.h    |  266 --
 .../media/deprecated/saa7146/saa7146/Kconfig  |   48 -
 .../media/deprecated/saa7146/saa7146/Makefile |    6 -
 .../media/deprecated/saa7146/saa7146/TODO     |    7 -
 .../saa7146/saa7146/hexium_gemini.c           |  425 ---
 .../deprecated/saa7146/saa7146/hexium_orion.c |  496 ---
 .../media/deprecated/saa7146/saa7146/mxb.c    |  873 -----
 .../media/deprecated/saa7146/ttpci/Kconfig    |   95 -
 .../media/deprecated/saa7146/ttpci/Makefile   |   13 -
 .../media/deprecated/saa7146/ttpci/TODO       |    7 -
 .../deprecated/saa7146/ttpci/budget-av.c      | 1622 ---------
 .../deprecated/saa7146/ttpci/budget-ci.c      | 1574 ---------
 .../deprecated/saa7146/ttpci/budget-core.c    |  603 ----
 .../media/deprecated/saa7146/ttpci/budget.c   |  883 -----
 .../media/deprecated/saa7146/ttpci/budget.h   |  129 -
 .../media/deprecated/stkwebcam/Kconfig        |   18 -
 .../media/deprecated/stkwebcam/Makefile       |    5 -
 .../staging/media/deprecated/stkwebcam/TODO   |   12 -
 .../media/deprecated/stkwebcam/stk-sensor.c   |  587 ----
 .../media/deprecated/stkwebcam/stk-webcam.c   | 1434 --------
 .../media/deprecated/stkwebcam/stk-webcam.h   |  123 -
 .../staging/media/deprecated/tm6000/Kconfig   |   37 -
 .../staging/media/deprecated/tm6000/Makefile  |   14 -
 drivers/staging/media/deprecated/tm6000/TODO  |    7 -
 .../media/deprecated/tm6000/tm6000-alsa.c     |  440 ---
 .../media/deprecated/tm6000/tm6000-cards.c    | 1397 --------
 .../media/deprecated/tm6000/tm6000-core.c     |  916 ------
 .../media/deprecated/tm6000/tm6000-dvb.c      |  454 ---
 .../media/deprecated/tm6000/tm6000-i2c.c      |  317 --
 .../media/deprecated/tm6000/tm6000-input.c    |  503 ---
 .../media/deprecated/tm6000/tm6000-regs.h     |  588 ----
 .../media/deprecated/tm6000/tm6000-stds.c     |  623 ----
 .../media/deprecated/tm6000/tm6000-usb-isoc.h |   38 -
 .../media/deprecated/tm6000/tm6000-video.c    | 1703 ----------
 .../staging/media/deprecated/tm6000/tm6000.h  |  396 ---
 .../media/deprecated/vpfe_capture/Kconfig     |   58 -
 .../media/deprecated/vpfe_capture/Makefile    |    4 -
 .../media/deprecated/vpfe_capture/TODO        |    7 -
 .../deprecated/vpfe_capture/ccdc_hw_device.h  |   80 -
 .../deprecated/vpfe_capture/dm355_ccdc.c      |  934 ------
 .../deprecated/vpfe_capture/dm355_ccdc.h      |  308 --
 .../deprecated/vpfe_capture/dm355_ccdc_regs.h |  297 --
 .../deprecated/vpfe_capture/dm644x_ccdc.c     |  879 -----
 .../deprecated/vpfe_capture/dm644x_ccdc.h     |  171 -
 .../vpfe_capture/dm644x_ccdc_regs.h           |  140 -
 .../media/deprecated/vpfe_capture/isif.c      | 1127 -------
 .../media/deprecated/vpfe_capture/isif.h      |  518 ---
 .../media/deprecated/vpfe_capture/isif_regs.h |  256 --
 .../deprecated/vpfe_capture/vpfe_capture.c    | 1902 -----------
 .../staging/media/deprecated/zr364xx/Kconfig  |   18 -
 .../staging/media/deprecated/zr364xx/Makefile |    3 -
 drivers/staging/media/deprecated/zr364xx/TODO |    7 -
 .../media/deprecated/zr364xx/zr364xx.c        | 1635 ---------
 include/media/davinci/ccdc_types.h            |   30 -
 include/media/dvb_demux.h                     |   13 -
 include/media/dvbdev.h                        |   11 -
 include/uapi/linux/meye.h                     |   65 -
 include/uapi/linux/v4l2-controls.h            |    8 +-
 188 files changed, 7 insertions(+), 53789 deletions(-)
 delete mode 100644 Documentation/admin-guide/media/cpia2.rst
 delete mode 100644 Documentation/admin-guide/media/meye.rst
 delete mode 100644 Documentation/admin-guide/media/tm6000-cardlist.rst
 delete mode 100644 Documentation/admin-guide/media/zr364xx.rst
 delete mode 100644 Documentation/driver-api/media/drivers/cpia2_devel.rst
 delete mode 100644 Documentation/userspace-api/media/drivers/meye-uapi.rst
 delete mode 100644 drivers/staging/media/deprecated/cpia2/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/cpia2/Makefile
 delete mode 100644 drivers/staging/media/deprecated/cpia2/TODO
 delete mode 100644 drivers/staging/media/deprecated/cpia2/cpia2.h
 delete mode 100644 drivers/staging/media/deprecated/cpia2/cpia2_core.c
 delete mode 100644 drivers/staging/media/deprecated/cpia2/cpia2_registers.h
 delete mode 100644 drivers/staging/media/deprecated/cpia2/cpia2_usb.c
 delete mode 100644 drivers/staging/media/deprecated/cpia2/cpia2_v4l.c
 delete mode 100644 drivers/staging/media/deprecated/fsl-viu/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/fsl-viu/Makefile
 delete mode 100644 drivers/staging/media/deprecated/fsl-viu/TODO
 delete mode 100644 drivers/staging/media/deprecated/fsl-viu/fsl-viu.c
 delete mode 100644 drivers/staging/media/deprecated/meye/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/meye/Makefile
 delete mode 100644 drivers/staging/media/deprecated/meye/TODO
 delete mode 100644 drivers/staging/media/deprecated/meye/meye.c
 delete mode 100644 drivers/staging/media/deprecated/meye/meye.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/saa7146/Makefile
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/Makefile
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/TODO
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-bilingual-channel-select.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-channel-select.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-clear-buffer.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-continue.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-fclose.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-fopen.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-fwrite.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-get-capabilities.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-get-status.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-pause.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-play.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-select-source.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-av-sync.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-bypass-mode.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-id.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-mixer.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-mute.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-set-streamtype.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio-stop.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio_data_types.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/audio_function_calls.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_av.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_av.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_ca.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_ca.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_hw.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_hw.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_ipack.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_ipack.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_ir.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/av7110_v4l.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/budget-patch.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/dvb_filter.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/dvb_filter.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/sp8870.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/sp8870.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-clear-buffer.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-command.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-continue.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-fast-forward.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-fclose.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-fopen.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-freeze.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-fwrite.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-capabilities.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-event.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-frame-count.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-pts.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-size.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-get-status.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-play.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-select-source.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-set-blank.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-set-display-format.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-set-format.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-set-streamtype.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-slowmotion.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-stillpicture.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-stop.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video-try-command.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video_function_calls.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/av7110/video_types.rst
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/Makefile
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_core.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_fops.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_hlp.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_i2c.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_vbi.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_video.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/common/saa7146_vv.h
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/Makefile
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/TODO
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/hexium_gemini.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/hexium_orion.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/saa7146/mxb.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/Makefile
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/TODO
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/budget-av.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/budget-ci.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/budget-core.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/budget.c
 delete mode 100644 drivers/staging/media/deprecated/saa7146/ttpci/budget.h
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/Makefile
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/TODO
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/stk-sensor.c
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/stk-webcam.c
 delete mode 100644 drivers/staging/media/deprecated/stkwebcam/stk-webcam.h
 delete mode 100644 drivers/staging/media/deprecated/tm6000/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/tm6000/Makefile
 delete mode 100644 drivers/staging/media/deprecated/tm6000/TODO
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-alsa.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-cards.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-core.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-dvb.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-i2c.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-input.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-regs.h
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-stds.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-usb-isoc.h
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000-video.c
 delete mode 100644 drivers/staging/media/deprecated/tm6000/tm6000.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/Makefile
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/TODO
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/ccdc_hw_device.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm355_ccdc.c
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm355_ccdc.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm355_ccdc_regs.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm644x_ccdc.c
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm644x_ccdc.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/dm644x_ccdc_regs.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/isif.c
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/isif.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/isif_regs.h
 delete mode 100644 drivers/staging/media/deprecated/vpfe_capture/vpfe_capture.c
 delete mode 100644 drivers/staging/media/deprecated/zr364xx/Kconfig
 delete mode 100644 drivers/staging/media/deprecated/zr364xx/Makefile
 delete mode 100644 drivers/staging/media/deprecated/zr364xx/TODO
 delete mode 100644 drivers/staging/media/deprecated/zr364xx/zr364xx.c
 delete mode 100644 include/media/davinci/ccdc_types.h
 delete mode 100644 include/uapi/linux/meye.h

Comments

Corinna Vinschen Jan. 16, 2023, 9:53 a.m. UTC | #1
Hi Hans,

I only learned about this yesterday, so I hope I'm not too late.

Please don't do that.  You're about to remove working drivers used by a
lot of people.

If you remove them from the Linux kernel, you will leave *lots* of DVB-C
and DVB-S card users behind.  They will update their TV recording
machines to a newer system at one point and suddenly their ability to
record from TV is gone forever.

I'm personally affected by this as well.  We're using a machine with
four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
the VDR package.  This card is apparently handled by the code under
drivers/staging/media/deprecated/saa7146.

If this code goes away, we will have to keep the machine running on
an old kernel for a long time.

I'm fortunate that I even learned about this developement, being a
developer myself, but how's a normal user to know that a Linux driver
they are using every day is about to be removed from the kernel?  Again,
please don't break the equipment of us users of these DVB-C and DVB-S
cards for the future.  


Thanks for listening,
Corinna
Rudy Zijlstra Jan. 16, 2023, 10:05 a.m. UTC | #2
Hans,



On 16-01-2023 10:53, Corinna Vinschen wrote:
> Hi Hans,
>
> I only learned about this yesterday, so I hope I'm not too late.
>
> Please don't do that.  You're about to remove working drivers used by a
> lot of people.
>
> If you remove them from the Linux kernel, you will leave *lots* of DVB-C
> and DVB-S card users behind.  They will update their TV recording
> machines to a newer system at one point and suddenly their ability to
> record from TV is gone forever.
>
> I'm personally affected by this as well.  We're using a machine with
> four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
> the VDR package.  This card is apparently handled by the code under
> drivers/staging/media/deprecated/saa7146.

This being the case (from another user), should those drivers be deprecated?


Cheers


Rudy
Hans Verkuil Jan. 16, 2023, 10:08 a.m. UTC | #3
Hi Corinna,

On 16/01/2023 10:53, Corinna Vinschen wrote:
> Hi Hans,
> 
> I only learned about this yesterday, so I hope I'm not too late.
> 
> Please don't do that.  You're about to remove working drivers used by a
> lot of people.
> 
> If you remove them from the Linux kernel, you will leave *lots* of DVB-C
> and DVB-S card users behind.  They will update their TV recording
> machines to a newer system at one point and suddenly their ability to
> record from TV is gone forever.
> 
> I'm personally affected by this as well.  We're using a machine with
> four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
> the VDR package.  This card is apparently handled by the code under
> drivers/staging/media/deprecated/saa7146.
> 
> If this code goes away, we will have to keep the machine running on
> an old kernel for a long time.
> 
> I'm fortunate that I even learned about this developement, being a
> developer myself, but how's a normal user to know that a Linux driver
> they are using every day is about to be removed from the kernel?  Again,
> please don't break the equipment of us users of these DVB-C and DVB-S
> cards for the future.  

I've dropped the PR for now. Is the concern specifically for the saa7146
based hardware?

I.e., from Red Hat's point of view, are there any concerns about removing
vpfe_capture, tm6000, zr364xx, stkwebcam, fsl-viu, cpia2 and meye?

The core problem with saa7146 (and the other deprecated drivers) is that
it is using the old videobuf framework, which has known problems and we
want (need!) to get rid of it, either by dropping drivers or converting
them.

One partial solution would be to drop analog video support from saa7146,
since that's the bit that uses this framework. DVB would remain working,
but analog video support would die, unless someone steps up to do the
conversion from vb1 to vb2.

So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
for the other DVB devices it would stay alive.

I'm honestly quite surprised that these old DVB PCI cards are still in
use, I did not expect that.

Regards,

	Hans
Corinna Vinschen Jan. 16, 2023, 1:35 p.m. UTC | #4
Hi Hans,

On Jan 16 11:08, Hans Verkuil wrote:
> Hi Corinna,
> 
> On 16/01/2023 10:53, Corinna Vinschen wrote:
> > Hi Hans,
> > 
> > I only learned about this yesterday, so I hope I'm not too late.
> > 
> > Please don't do that.  You're about to remove working drivers used by a
> > lot of people.
> > 
> > If you remove them from the Linux kernel, you will leave *lots* of DVB-C
> > and DVB-S card users behind.  They will update their TV recording
> > machines to a newer system at one point and suddenly their ability to
> > record from TV is gone forever.
> > 
> > I'm personally affected by this as well.  We're using a machine with
> > four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
> > the VDR package.  This card is apparently handled by the code under
> > drivers/staging/media/deprecated/saa7146.
> > 
> > If this code goes away, we will have to keep the machine running on
> > an old kernel for a long time.
> > 
> > I'm fortunate that I even learned about this developement, being a
> > developer myself, but how's a normal user to know that a Linux driver
> > they are using every day is about to be removed from the kernel?  Again,
> > please don't break the equipment of us users of these DVB-C and DVB-S
> > cards for the future.  
> 
> I've dropped the PR for now.

I'm really glad to read that.

> Is the concern specifically for the saa7146
> based hardware?
> 
> I.e., from Red Hat's point of view, are there any concerns about removing
> vpfe_capture, tm6000, zr364xx, stkwebcam, fsl-viu, cpia2 and meye?

I'm not part of the Red Hat media team, so I can't answer that, sorry.  

The problem is that there are no usage numbers anywhere.  I don't know
which of these drivers are still in use and which aren't.  I only know
for certain for our saa7146 based cards @home.  Terratec was the market
leader for quite some time, so there are lots of Terratec cards and
budget cards from third party vendors in the wild.

> The core problem with saa7146 (and the other deprecated drivers) is that
> it is using the old videobuf framework, which has known problems and we
> want (need!) to get rid of it, either by dropping drivers or converting
> them.
> 
> One partial solution would be to drop analog video support from saa7146,
> since that's the bit that uses this framework. DVB would remain working,
> but analog video support would die, unless someone steps up to do the
> conversion from vb1 to vb2.

Maybe I'm biased, but who has actually still access to analog TV?  I'm
not sure about that, but in Germany, analog TV over terrestrial antenna
has been dropped about 2005.  Analog satellite has gone 2012.  Analog
cable took until 2019.  I don't know about other regions.

> So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
> for the other DVB devices it would stay alive.

So, yeah, from my POV this might be an option.

> I'm honestly quite surprised that these old DVB PCI cards are still in
> use, I did not expect that.

There isn't a really well-working alternative, unless you plug in lots
of USB devices instead.  Even more important these days, the cards are
still working, despite their age.  There's really no good reason to
throw them into the dustbin and buy something new, instead of trying to
use working equipment as long as possible to save waste.


Thanks,
Corinna
Hans Verkuil Jan. 16, 2023, 2:39 p.m. UTC | #5
On 16/01/2023 14:35, Corinna Vinschen wrote:
> Hi Hans,
> 
> On Jan 16 11:08, Hans Verkuil wrote:
>> Hi Corinna,
>>
>> On 16/01/2023 10:53, Corinna Vinschen wrote:
>>> Hi Hans,
>>>
>>> I only learned about this yesterday, so I hope I'm not too late.
>>>
>>> Please don't do that.  You're about to remove working drivers used by a
>>> lot of people.
>>>
>>> If you remove them from the Linux kernel, you will leave *lots* of DVB-C
>>> and DVB-S card users behind.  They will update their TV recording
>>> machines to a newer system at one point and suddenly their ability to
>>> record from TV is gone forever.
>>>
>>> I'm personally affected by this as well.  We're using a machine with
>>> four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
>>> the VDR package.  This card is apparently handled by the code under
>>> drivers/staging/media/deprecated/saa7146.
>>>
>>> If this code goes away, we will have to keep the machine running on
>>> an old kernel for a long time.
>>>
>>> I'm fortunate that I even learned about this developement, being a
>>> developer myself, but how's a normal user to know that a Linux driver
>>> they are using every day is about to be removed from the kernel?  Again,
>>> please don't break the equipment of us users of these DVB-C and DVB-S
>>> cards for the future.  
>>
>> I've dropped the PR for now.
> 
> I'm really glad to read that.
> 
>> Is the concern specifically for the saa7146
>> based hardware?
>>
>> I.e., from Red Hat's point of view, are there any concerns about removing
>> vpfe_capture, tm6000, zr364xx, stkwebcam, fsl-viu, cpia2 and meye?
> 
> I'm not part of the Red Hat media team, so I can't answer that, sorry.  
> 
> The problem is that there are no usage numbers anywhere.  I don't know
> which of these drivers are still in use and which aren't.  I only know
> for certain for our saa7146 based cards @home.  Terratec was the market
> leader for quite some time, so there are lots of Terratec cards and
> budget cards from third party vendors in the wild.
> 
>> The core problem with saa7146 (and the other deprecated drivers) is that
>> it is using the old videobuf framework, which has known problems and we
>> want (need!) to get rid of it, either by dropping drivers or converting
>> them.
>>
>> One partial solution would be to drop analog video support from saa7146,
>> since that's the bit that uses this framework. DVB would remain working,
>> but analog video support would die, unless someone steps up to do the
>> conversion from vb1 to vb2.
> 
> Maybe I'm biased, but who has actually still access to analog TV?  I'm
> not sure about that, but in Germany, analog TV over terrestrial antenna
> has been dropped about 2005.  Analog satellite has gone 2012.  Analog
> cable took until 2019.  I don't know about other regions.

Analog TV is almost certainly still used in places.

But it's not so much about TV as it is about analog video in general, so
also capturing from S-Video or composite connectors. That's definitely
still used.

> 
>> So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
>> for the other DVB devices it would stay alive.
> 
> So, yeah, from my POV this might be an option.
> 
>> I'm honestly quite surprised that these old DVB PCI cards are still in
>> use, I did not expect that.
> 
> There isn't a really well-working alternative, unless you plug in lots
> of USB devices instead.  Even more important these days, the cards are
> still working, despite their age.  There's really no good reason to
> throw them into the dustbin and buy something new, instead of trying to
> use working equipment as long as possible to save waste.

OK, I'll make a new PR that keeps the saa7146 for now, and work on removing
analog video support from saa7146.

Regards,

	Hans
Corinna Vinschen Jan. 16, 2023, 5:17 p.m. UTC | #6
On Jan 16 15:39, Hans Verkuil wrote:
> On 16/01/2023 14:35, Corinna Vinschen wrote:
> > On Jan 16 11:08, Hans Verkuil wrote:
> >> On 16/01/2023 10:53, Corinna Vinschen wrote:
> >>> I only learned about this yesterday, so I hope I'm not too late.
> >>>
> >>> Please don't do that.  You're about to remove working drivers used by a
> >>> lot of people.
> >>> [...]
> >>> I'm fortunate that I even learned about this developement, being a
> >>> developer myself, but how's a normal user to know that a Linux driver
> >>> they are using every day is about to be removed from the kernel?  Again,
> >>> please don't break the equipment of us users of these DVB-C and DVB-S
> >>> cards for the future.  
> >>
> >> I've dropped the PR for now.
> > 
> > I'm really glad to read that.
> > 
> >> [...]
> >> One partial solution would be to drop analog video support from saa7146,
> >> since that's the bit that uses this framework. DVB would remain working,
> >> but analog video support would die, unless someone steps up to do the
> >> conversion from vb1 to vb2.
> > 
> > Maybe I'm biased, but who has actually still access to analog TV?  I'm
> > not sure about that, but in Germany, analog TV over terrestrial antenna
> > has been dropped about 2005.  Analog satellite has gone 2012.  Analog
> > cable took until 2019.  I don't know about other regions.
> 
> Analog TV is almost certainly still used in places.
> 
> But it's not so much about TV as it is about analog video in general, so
> also capturing from S-Video or composite connectors. That's definitely
> still used.

Ok.  I was too TV focused, apparently.  Yeah, S-Video recording still
makes sense.

> >> So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
> >> for the other DVB devices it would stay alive.
> > 
> > So, yeah, from my POV this might be an option.
> > 
> >> I'm honestly quite surprised that these old DVB PCI cards are still in
> >> use, I did not expect that.
> > 
> > There isn't a really well-working alternative, unless you plug in lots
> > of USB devices instead.  Even more important these days, the cards are
> > still working, despite their age.  There's really no good reason to
> > throw them into the dustbin and buy something new, instead of trying to
> > use working equipment as long as possible to save waste.
> 
> OK, I'll make a new PR that keeps the saa7146 for now, and work on removing
> analog video support from saa7146.

That sounds great to me.  Thanks for your understanding!


Best,
Corinna
Tomasz Maciej Nowak Jan. 17, 2023, 3:38 p.m. UTC | #7
Hi.

W dniu 16.01.2023 o 15:39, Hans Verkuil pisze:
> On 16/01/2023 14:35, Corinna Vinschen wrote:
>> Hi Hans,
>>
>> On Jan 16 11:08, Hans Verkuil wrote:
>>> Hi Corinna,
>>>
>>> On 16/01/2023 10:53, Corinna Vinschen wrote:
>>>> Hi Hans,
>>>>
>>>> I only learned about this yesterday, so I hope I'm not too late.
>>>>
>>>> Please don't do that.  You're about to remove working drivers used by a
>>>> lot of people.
>>>>
>>>> If you remove them from the Linux kernel, you will leave *lots* of DVB-C
>>>> and DVB-S card users behind.  They will update their TV recording
>>>> machines to a newer system at one point and suddenly their ability to
>>>> record from TV is gone forever.
>>>>
>>>> I'm personally affected by this as well.  We're using a machine with
>>>> four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
>>>> the VDR package.  This card is apparently handled by the code under
>>>> drivers/staging/media/deprecated/saa7146.
>>>>
>>>> If this code goes away, we will have to keep the machine running on
>>>> an old kernel for a long time.
>>>>
>>>> I'm fortunate that I even learned about this developement, being a
>>>> developer myself, but how's a normal user to know that a Linux driver
>>>> they are using every day is about to be removed from the kernel?  Again,
>>>> please don't break the equipment of us users of these DVB-C and DVB-S
>>>> cards for the future.  
>>>
>>> I've dropped the PR for now.
>>
>> I'm really glad to read that.

Thanks from me as well.

>>> Is the concern specifically for the saa7146
>>> based hardware?
>>>
>>> I.e., from Red Hat's point of view, are there any concerns about removing
>>> vpfe_capture, tm6000, zr364xx, stkwebcam, fsl-viu, cpia2 and meye?
>>
>> I'm not part of the Red Hat media team, so I can't answer that, sorry.  
>>
>> The problem is that there are no usage numbers anywhere.  I don't know
>> which of these drivers are still in use and which aren't.  I only know
>> for certain for our saa7146 based cards @home.  Terratec was the market
>> leader for quite some time, so there are lots of Terratec cards and
>> budget cards from third party vendors in the wild.

I've got six of saa7146 based DVB-S2 budget cards still in use.
Apparently You can still buy a new one[1] which is supported by budget
driver.

>>> The core problem with saa7146 (and the other deprecated drivers) is that
>>> it is using the old videobuf framework, which has known problems and we
>>> want (need!) to get rid of it, either by dropping drivers or converting
>>> them.
>>>
>>> One partial solution would be to drop analog video support from saa7146,
>>> since that's the bit that uses this framework. DVB would remain working,
>>> but analog video support would die, unless someone steps up to do the
>>> conversion from vb1 to vb2.

There is ongoing discussion in VDR community about converting to vb2,
albeit it's very slow and I don't know yet if it'll reach a conclusion.
And, as proposed, keeping it in staging area or keeping the driver with
stripped analog video capabilities would definitely help.

>> Maybe I'm biased, but who has actually still access to analog TV?  I'm
>> not sure about that, but in Germany, analog TV over terrestrial antenna
>> has been dropped about 2005.  Analog satellite has gone 2012.  Analog
>> cable took until 2019.  I don't know about other regions.
> 
> Analog TV is almost certainly still used in places.
> 
> But it's not so much about TV as it is about analog video in general, so
> also capturing from S-Video or composite connectors. That's definitely
> still used.
> 
>>
>>> So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
>>> for the other DVB devices it would stay alive.
>>
>> So, yeah, from my POV this might be an option.
>>
>>> I'm honestly quite surprised that these old DVB PCI cards are still in
>>> use, I did not expect that.
>>
>> There isn't a really well-working alternative, unless you plug in lots
>> of USB devices instead.  Even more important these days, the cards are
>> still working, despite their age.  There's really no good reason to
>> throw them into the dustbin and buy something new, instead of trying to
>> use working equipment as long as possible to save waste.
> 
> OK, I'll make a new PR that keeps the saa7146 for now, and work on removing
> analog video support from saa7146.

Thank You, that would certainly make me satisfied. Would that mean that
after removing analog video support, driver would go out of staging, back
to maintained area?

Best Regards

1. https://www.omicom.info/PayPal_Omicom_S2_PCIr3.html
Hans Verkuil Jan. 17, 2023, 3:48 p.m. UTC | #8
On 17/01/2023 16:38, Tomasz Maciej Nowak wrote:
> Hi.
> 
> W dniu 16.01.2023 o 15:39, Hans Verkuil pisze:
>> On 16/01/2023 14:35, Corinna Vinschen wrote:
>>> Hi Hans,
>>>
>>> On Jan 16 11:08, Hans Verkuil wrote:
>>>> Hi Corinna,
>>>>
>>>> On 16/01/2023 10:53, Corinna Vinschen wrote:
>>>>> Hi Hans,
>>>>>
>>>>> I only learned about this yesterday, so I hope I'm not too late.
>>>>>
>>>>> Please don't do that.  You're about to remove working drivers used by a
>>>>> lot of people.
>>>>>
>>>>> If you remove them from the Linux kernel, you will leave *lots* of DVB-C
>>>>> and DVB-S card users behind.  They will update their TV recording
>>>>> machines to a newer system at one point and suddenly their ability to
>>>>> record from TV is gone forever.
>>>>>
>>>>> I'm personally affected by this as well.  We're using a machine with
>>>>> four Technotrend S2-3200 Budget DVB-S2 cards for TV recordings using
>>>>> the VDR package.  This card is apparently handled by the code under
>>>>> drivers/staging/media/deprecated/saa7146.
>>>>>
>>>>> If this code goes away, we will have to keep the machine running on
>>>>> an old kernel for a long time.
>>>>>
>>>>> I'm fortunate that I even learned about this developement, being a
>>>>> developer myself, but how's a normal user to know that a Linux driver
>>>>> they are using every day is about to be removed from the kernel?  Again,
>>>>> please don't break the equipment of us users of these DVB-C and DVB-S
>>>>> cards for the future.  
>>>>
>>>> I've dropped the PR for now.
>>>
>>> I'm really glad to read that.
> 
> Thanks from me as well.
> 
>>>> Is the concern specifically for the saa7146
>>>> based hardware?
>>>>
>>>> I.e., from Red Hat's point of view, are there any concerns about removing
>>>> vpfe_capture, tm6000, zr364xx, stkwebcam, fsl-viu, cpia2 and meye?
>>>
>>> I'm not part of the Red Hat media team, so I can't answer that, sorry.  
>>>
>>> The problem is that there are no usage numbers anywhere.  I don't know
>>> which of these drivers are still in use and which aren't.  I only know
>>> for certain for our saa7146 based cards @home.  Terratec was the market
>>> leader for quite some time, so there are lots of Terratec cards and
>>> budget cards from third party vendors in the wild.
> 
> I've got six of saa7146 based DVB-S2 budget cards still in use.
> Apparently You can still buy a new one[1] which is supported by budget
> driver.
> 
>>>> The core problem with saa7146 (and the other deprecated drivers) is that
>>>> it is using the old videobuf framework, which has known problems and we
>>>> want (need!) to get rid of it, either by dropping drivers or converting
>>>> them.
>>>>
>>>> One partial solution would be to drop analog video support from saa7146,
>>>> since that's the bit that uses this framework. DVB would remain working,
>>>> but analog video support would die, unless someone steps up to do the
>>>> conversion from vb1 to vb2.
> 
> There is ongoing discussion in VDR community about converting to vb2,
> albeit it's very slow and I don't know yet if it'll reach a conclusion.
> And, as proposed, keeping it in staging area or keeping the driver with
> stripped analog video capabilities would definitely help.
> 
>>> Maybe I'm biased, but who has actually still access to analog TV?  I'm
>>> not sure about that, but in Germany, analog TV over terrestrial antenna
>>> has been dropped about 2005.  Analog satellite has gone 2012.  Analog
>>> cable took until 2019.  I don't know about other regions.
>>
>> Analog TV is almost certainly still used in places.
>>
>> But it's not so much about TV as it is about analog video in general, so
>> also capturing from S-Video or composite connectors. That's definitely
>> still used.
>>
>>>
>>>> So support for the old MXB, Hexium Gemini and Hexium Orion would die, but
>>>> for the other DVB devices it would stay alive.
>>>
>>> So, yeah, from my POV this might be an option.
>>>
>>>> I'm honestly quite surprised that these old DVB PCI cards are still in
>>>> use, I did not expect that.
>>>
>>> There isn't a really well-working alternative, unless you plug in lots
>>> of USB devices instead.  Even more important these days, the cards are
>>> still working, despite their age.  There's really no good reason to
>>> throw them into the dustbin and buy something new, instead of trying to
>>> use working equipment as long as possible to save waste.
>>
>> OK, I'll make a new PR that keeps the saa7146 for now, and work on removing
>> analog video support from saa7146.
> 
> Thank You, that would certainly make me satisfied. Would that mean that
> after removing analog video support, driver would go out of staging, back
> to maintained area?

Yes, since there is no reason to keep it in staging once that's done.

Regards,

	Hans

> 
> Best Regards
> 
> 1. https://www.omicom.info/PayPal_Omicom_S2_PCIr3.html
>
Stefan Herdler Jan. 18, 2023, 2:06 a.m. UTC | #9
- Some user feedback about ttpci and ttbudget removal...


Hi everyone.

First I have to apologize for the late reaction and hope it is not too
late now.
I'm primary a user and normally not subscribed to this list.
I just got aware of the possible removal of the ttpci and ttbudget
driver by a thread in the german "vdr-portal.de" forum (1).

I own a several different of the SAA7146 based cards and use them daily
in my VDR-system.

In germany many channels are free-to-air in the DVB-S version only.
DVB-S-Cards are still useful today, at least in combination with a
DVB-S2 Card.
Just like DVB-C and DVB-S2 Cards, AFAIK are their capabilities still up
to date.
Only the DVB-T cards are already obsolete (al least in germany).

My system contains different types of DVB-S/S2 cards, SAA7146 based and
others. All carefully selected to have mainline kernel support.
I never expected the tt* drivers will be removed so early.

Replacing the SAA7146 is not a real option.
DVB-cards with kernel support are rare, still expensive and now a days
hard to obtain too. And I don't want to scrap working hardware.
My plans are to use this cards as long as the DVB-S situation doesn't
change. That will be at least 2 more years.

The SAA7146 cards were very popular in the VDR-Community, there must be
more users out there.
I suspect, most of them will notice the driver removal, when the cards
stop working after a update.

Initially I thought an API upgrade is not a big deal, but it seems to be
a mayor change to the driver. Unfortunately that exceeds my skills.
But I may provide help with testing on the DVB-S FF and budget-cards if
desired.



Best Regards