요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
새 card 지원
cx88.rst:28-58Kernel log, `cx88-cards.c`, subsystem ID와 tuner 정보를 이용하는 절차를 설명합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
The cx88 driver
===============
Author: Gerd Hoffmann
This is a v4l2 device driver for the cx2388x chip.
Current status
--------------
video
- Works.
- Overlay isn't supported.
audio
- Works. The TV standard detection is made by the driver, as the
hardware has bugs to auto-detect.
- audio data dma (i.e. recording without loopback cable to the
sound card) is supported via cx88-alsa.
vbi
- Works.
How to add support for new cards
--------------------------------
The driver needs some config info for the TV cards. This stuff is in
cx88-cards.c. If the driver doesn't work well you likely need a new
entry for your card in that file. Check the kernel log (using dmesg)
to see whenever the driver knows your card or not. There is a line
like this one:
.. code-block:: none
cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \
34xxx models [card=1,autodetected]
If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to
the driver. What to do then?
1) Try upgrading to the latest snapshot, maybe it has been added
meanwhile.
2) You can try to create a new entry yourself, have a look at
cx88-cards.c. If that worked, mail me your changes as unified
diff ("diff -u").
3) Or you can mail me the config information. We need at least the
following information to add the card:
- the PCI Subsystem ID ("0070:3400" from the line above,
"lspci -v" output is fine too).
- the tuner type used by the card. You can try to find one by
trial-and-error using the tuner=<n> insmod option. If you
know which one the card has you can also have a look at the
list in CARDLIST.tuner
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
cx2388x V4L2 driver 상태
1-27작성자: Gerd Hoffmann
`cx88`은 cx2388x chip용 V4L2 device driver입니다.
| 기능 | 현재 상태 |
|---|---|
| Video | 동작합니다. Overlay는 지원하지 않습니다. |
| Audio | 동작합니다. Hardware의 자동 감지 bug 때문에 TV standard는 driver가 감지합니다. Sound card로 loopback cable을 연결하지 않는 audio-data DMA recording은 `cx88-alsa`가 지원합니다. |
| VBI | 동작합니다. |
새 card 지원 추가
28-58Driver가 TV card를 설정하는 데 필요한 정보는 `cx88-cards.c`에 있습니다. Card가 제대로 동작하지 않으면 이 파일에 새 entry가 필요할 가능성이 큽니다.
`dmesg`로 kernel log를 확인해 driver가 card를 아는지 판단합니다. 정상적으로 자동 감지된 예는 다음과 같습니다.
cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \
34xxx models [card=1,autodetected]
`board: UNKNOWN/GENERIC`으로 표시되면 driver가 알지 못하는 card입니다. 먼저 최신 snapshot으로 upgrade해 그 사이 지원이 추가됐는지 확인합니다.
직접 `cx88-cards.c`에 entry를 작성해 동작했다면 변경을 unified diff(`diff -u`)로 maintainer에게 보낼 수 있습니다.
설정 정보를 보낼 때는 최소한 PCI Subsystem ID와 tuner type이 필요합니다. 위 예에서는 `0070:3400`이 subsystem ID이며 `lspci -v` 출력도 사용할 수 있습니다.
Tuner type은 `tuner=<n>` insmod option으로 trial-and-error 방식으로 찾을 수 있습니다. 실제 tuner를 안다면 `CARDLIST.tuner` 목록과 대조할 수도 있습니다.
Driver 상태
cx88.rst:1-27Video, audio DMA, VBI 지원 상태를 정리합니다.