-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] Video for Linux Documentation
This patch synchronizes documentation from V4L CVS with current kernel release. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
- Loading branch information
Mauro Carvalho Chehab
authored and
Linus Torvalds
committed
Jun 24, 2005
1 parent
59dcd94
commit d81ef55
Showing
7 changed files
with
216 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
card=0 - UNKNOWN/GENERIC | ||
card=1 - Hauppauge WinTV 34xxx models | ||
card=2 - GDI Black Gold | ||
card=3 - PixelView | ||
card=4 - ATI TV Wonder Pro | ||
card=5 - Leadtek Winfast 2000XP Expert | ||
card=6 - AverTV Studio 303 (M126) | ||
card=7 - MSI TV-@nywhere Master | ||
card=8 - Leadtek Winfast DV2000 | ||
card=9 - Leadtek PVR 2000 | ||
card=10 - IODATA GV-VCP3/PCI | ||
card=11 - Prolink PlayTV PVR | ||
card=12 - ASUS PVR-416 | ||
card=13 - MSI TV-@nywhere | ||
card=14 - KWorld/VStream XPert DVB-T | ||
card=15 - DVICO FusionHDTV DVB-T1 | ||
card=16 - KWorld LTV883RF | ||
card=17 - DViCO - FusionHDTV 3 Gold | ||
card=18 - Hauppauge Nova-T DVB-T | ||
card=19 - Conexant DVB-T reference design | ||
card=20 - Provideo PV259 | ||
card=21 - DVICO FusionHDTV DVB-T Plus | ||
card=22 - digitalnow DNTV Live! DVB-T | ||
card=23 - pcHDTV HD3000 HDTV | ||
card=24 - Hauppauge WinTV 28xxx (Roslyn) models | ||
card=25 - Digital-Logic MICROSPACE Entertainment Center (MEC) | ||
card=26 - IODATA GV/BCTV7E | ||
card=27 - PixelView PlayTV Ultra Pro (Stereo) | ||
card=28 - DViCO - FusionHDTV 3 Gold-Q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
The controls for the mux are GPIO [0,1] for source, and GPIO 2 for muting. | ||
|
||
GPIO0 GPIO1 | ||
0 0 TV Audio | ||
1 0 FM radio | ||
0 1 Line-In | ||
1 1 Mono tuner bypass or CD passthru (tuner specific) | ||
|
||
GPIO 16(i believe) is tied to the IR port (if present). | ||
|
||
------------------------------------------------------------------------------------ | ||
|
||
>From the data sheet: | ||
Register 24'h20004 PCI Interrupt Status | ||
bit [18] IR_SMP_INT Set when 32 input samples have been collected over | ||
gpio[16] pin into GP_SAMPLE register. | ||
|
||
What's missing from the data sheet: | ||
|
||
Setup 4KHz sampling rate (roughly 2x oversampled; good enough for our RC5 | ||
compat remote) | ||
set register 0x35C050 to 0xa80a80 | ||
|
||
enable sampling | ||
set register 0x35C054 to 0x5 | ||
|
||
Of course, enable the IRQ bit 18 in the interrupt mask register .(and | ||
provide for a handler) | ||
|
||
GP_SAMPLE register is at 0x35C058 | ||
|
||
Bits are then right shifted into the GP_SAMPLE register at the specified | ||
rate; you get an interrupt when a full DWORD is recieved. | ||
You need to recover the actual RC5 bits out of the (oversampled) IR sensor | ||
bits. (Hint: look for the 0/1and 1/0 crossings of the RC5 bi-phase data) An | ||
actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment. | ||
|
||
I'm pretty sure when no IR signal is present the receiver is always in a | ||
marking state(1); but stray light, etc can cause intermittent noise values | ||
as well. Remember, this is a free running sample of the IR receiver state | ||
over time, so don't assume any sample starts at any particular place. | ||
|
||
http://www.atmel.com/dyn/resources/prod_documents/doc2817.pdf | ||
This data sheet (google search) seems to have a lovely description of the | ||
RC5 basics | ||
|
||
http://users.pandora.be/nenya/electronics/rc5/ and more data | ||
|
||
http://www.ee.washington.edu/circuit_archive/text/ir_decode.txt | ||
and even a reference to how to decode a bi-phase data stream. | ||
|
||
http://www.xs4all.nl/~sbp/knowledge/ir/rc5.htm | ||
still more info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
collecting data about the lifeview models and the config coding on | ||
gpio pins 0-9 ... | ||
================================================================== | ||
|
||
bt878: | ||
LR50 rev. Q ("PARTS: 7031505116), Tuner wurde als Nr. 5 erkannt, Eingänge | ||
SVideo, TV, Composite, Audio, Remote. CP9..1=100001001 (1: 0-Ohm-Widerstand | ||
gegen GND unbestückt; 0: bestückt) | ||
|
||
------------------------------------------------------------------------------ | ||
|
||
saa7134: | ||
/* LifeView FlyTV Platinum FM (LR214WF) */ | ||
/* "Peter Missel <peter.missel@onlinehome.de> */ | ||
.name = "LifeView FlyTV Platinum FM", | ||
/* GP27 MDT2005 PB4 pin 10 */ | ||
/* GP26 MDT2005 PB3 pin 9 */ | ||
/* GP25 MDT2005 PB2 pin 8 */ | ||
/* GP23 MDT2005 PB1 pin 7 */ | ||
/* GP22 MDT2005 PB0 pin 6 */ | ||
/* GP21 MDT2005 PB5 pin 11 */ | ||
/* GP20 MDT2005 PB6 pin 12 */ | ||
/* GP19 MDT2005 PB7 pin 13 */ | ||
/* nc MDT2005 PA3 pin 2 */ | ||
/* Remote MDT2005 PA2 pin 1 */ | ||
/* GP18 MDT2005 PA1 pin 18 */ | ||
/* nc MDT2005 PA0 pin 17 strap low */ | ||
|
||
/* GP17 Strap "GP7"=High */ | ||
/* GP16 Strap "GP6"=High | ||
0=Radio 1=TV | ||
Drives SA630D ENCH1 and HEF4052 A1 pins | ||
to do FM radio through SIF input */ | ||
/* GP15 nc */ | ||
/* GP14 nc */ | ||
/* GP13 nc */ | ||
/* GP12 Strap "GP5" = High */ | ||
/* GP11 Strap "GP4" = High */ | ||
/* GP10 Strap "GP3" = High */ | ||
/* GP09 Strap "GP2" = Low */ | ||
/* GP08 Strap "GP1" = Low */ | ||
/* GP07.00 nc */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
================================================================================= | ||
MO_OUTPUT_FORMAT (0x310164) | ||
|
||
Previous default from DScaler: 0x1c1f0008 | ||
Digit 8: 31-28 | ||
28: PREVREMOD = 1 | ||
|
||
Digit 7: 27-24 (0xc = 12 = b1100 ) | ||
27: COMBALT = 1 | ||
26: PAL_INV_PHASE | ||
(DScaler apparently set this to 1, resulted in sucky picture) | ||
|
||
Digits 6,5: 23-16 | ||
25-16: COMB_RANGE = 0x1f [default] (9 bits -> max 512) | ||
|
||
Digit 4: 15-12 | ||
15: DISIFX = 0 | ||
14: INVCBF = 0 | ||
13: DISADAPT = 0 | ||
12: NARROWADAPT = 0 | ||
|
||
Digit 3: 11-8 | ||
11: FORCE2H | ||
10: FORCEREMD | ||
9: NCHROMAEN | ||
8: NREMODEN | ||
|
||
Digit 2: 7-4 | ||
7-6: YCORE | ||
5-4: CCORE | ||
|
||
Digit 1: 3-0 | ||
3: RANGE = 1 | ||
2: HACTEXT | ||
1: HSFMT | ||
|
||
================================================================================= |