piclane / ptx

Earthsoft PT3 & Plex PX-Q3PE 玉手箱

Home Page:http://are.ma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DVB driver for Earthsoft PT3, PLEX PX-Q3PE ISDB-S/T PCIE cards & PX-BCUD ISDB-S USB dongle
==========================================================================================

Status: stable

Features:
1. in addition to the real frequency:
	ISDB-S : freq. channel ID
	ISDB-T : freq# (I/O# +128), ch#, ch# +64 for CATV
2. in addition to TSID:
	ISDB-S : slot#

Supported Cards & Main components:
A. EarthSoft PT3:
1. Altera	EP4CGX15BF14C8N	: customized FPGA PCI bridge
2. Toshiba	TC90522XBG	: quad demodulator (2ch OFDM + 2ch 8PSK)
3. Sharp	VA4M6JC2103	: contains 2 ISDB-S + 2 ISDB-T tuners
	ISDB-S : Sharp QM1D1C0042 RF-IC, chip ver. 0x48
	ISDB-T : MaxLinear CMOS Hybrid TV MxL301RF

B. PLEX PX-Q3PE:
1. ASICEN	ASV5220		: PCI-E bridge
2. Toshiba	TC90522XBG	: quad demodulator (2ch OFDM + 2ch 8PSK)
3. NXP Semiconductors TDA20142	: ISDB-S tuner
4. Newport Media NM120		: ISDB-T tuner
5. ASICEN	ASIE5606X8	: crypting controller

C. PLEX PX-BCUD (ISDB-S USB dongle)
1. Empia	EM28178		: USB I/F (courtesy of 長浜様)
2. Toshiba	TC90532		: demodulator (using TC90522 driver)
3. Sharp	QM1D1C0045_2	: ISDB-S RF-IC, chip ver. 0x68

Notes:
This is a complex but smartly polished driver package containing 2 (dual head)
PCI-E bridge I/F drivers, single demodulator frontend, and 4 (quad tail) tuner drivers,
plus, simplified Nagahama's patch for PLEX PX-BCUD (ISDB-S USB dongle).
Generic registration related procedures (subdevices, frontend, etc.) summarized in
ptx_common.c are very useful also for other DVB drivers, and would be very handy if
inserted into the core (e.g. dvb_frontend.c & dvb_frontend.h).

For example, currently, the entity of struct dvb_frontend is created sometimes in
demodulators, some in tuners, or even in the parent (bridge) drivers. IMHO, this entity
should be provided by dvb_core. ptx_register_fe() included in ptx_common.c simplifies
the tasks and in fact, significantly reduces coding & kernel size.

Also, currently dvb_frontend's .demodulator_priv & .tuner_priv are of type (void *).
These should be changed to (struct i2c_client *), IMHO. Private data for demodulator
or tuner should be attached under i2c_client, using i2c_set_clientdata() for instance.

FILENAME	SUPPORTED CHIPS
========	===============
tc90522.c	TC90522XBG, TC90532XBG,...
tda2014x.c	TDA20142
qm1d1c004x.c	QM1D1C0042, QM1D1C0045, QM1D1C0045_2
nm131.c		NM131, NM130, NM120
mxl301rf.c	MxL301RF
pt3_pci.c	EP4CGX15BF14C8N
pxq3pe_pci.c	ASV5220

Full package:
- URL:	https://github.com/knight-rider/ptx
- buildable as standalone, DKMS or tree embedded module
- インストール方法:
	DKMS がなければ
	# make install
	DKMS があれば(自動アップデート)
	$ chmod +x dkms.install dkms.uninstall
	$ ./dkms.install

PTx 用ツール集
============
recpt1   : 録画ツール(stz2012版)
pt3_drv  : PT3 ドライバ cdev 版(m-tsudo版にマージ済みなので開発終了)
dvb_apps : DVB アプリ集
ptx_dvb  : PX-Q3PE ドライバ cdev 版
	   PT3 ドライバ DVB 版
	   PX-Q3PE ドライバ DVB 版
	   PX-BCUD DVB ドライバ 長浜版(改)

改良点が多すぎるので、あえて記述しません。いろいろ削除しました。削りすぎたかも知れません。
DVB は良く出来たフレームワークですが、かなり重いです。チャラ版の方が軽くて早いです。
あと、PXQ3PE はどうも暗号化チップを搭載しているようです。使わない方法は分かりません。
ご存じの方は是非とも、ご教授願います。PX-Q3PE は物凄いジャジャ馬で取り扱いが難しく
R&D に1年ほどかかりまして、パソコンも1台犠牲になってしまいました (;_;)...

PX-BCUD ドライバは未検証です。他の色々なドライバに依存しているため、動かない場合があります。
その場合、このツリーのソースに習ってご自身のカーネルを pxbcud.patch で修正した方が良い
でしょう。動く筈です。

Makefile は通常は弄らない。dkms.conf 或いは下位 Makefile を編集して下さい。

ご質問はメールでどうぞ...

About

Earthsoft PT3 & Plex PX-Q3PE 玉手箱

http://are.ma


Languages

Language:C 85.2%Language:Python 8.6%Language:Shell 3.2%Language:Charity 1.5%Language:Makefile 1.4%Language:M4 0.1%Language:Awk 0.0%