⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bttv-cards.c

📁 一个2.4.21版本的嵌入式linux内核
💻 C
📖 第 1 页 / 共 5 页
字号:
	.muxsel		= { 2,3,1,1,-1 },	.digital_mode   = DIGITAL_MODE_CAMERA,	.audiomux	= { 0x20000, 0, 0x80000, 0x80000, 0xa8000, 0x46000  },	.no_msp34xx	= 1,	.pll		= PLL_28,	.tuner_type	= TUNER_PHILIPS_PAL_I,	/* GPIO wiring: (different from Rev.4C !)		GPIO17: U4.A0 (first hef4052bt)		GPIO19: U4.A1		GPIO20: U5.A1 (second hef4052bt)		GPIO21: U4.nEN		GPIO22: BT832 Reset Line		GPIO23: A5,A0, U5,nEN	   Note: At i2c=0x8a is a Bt832 chip, which changes to 0x88 after being reset via GPIO22	 */},{	.name           = "Eagle Wireless Capricorn2 (bt878A)",	.video_inputs   = 4,	.audio_inputs   = 1,	.tuner          = 0,	.svhs           = 2,	.gpiomask       = 7,	.muxsel         = { 2, 0, 1, 1},	.audiomux       = { 0, 1, 2, 3, 4},	.pll            = PLL_28,	.tuner_type     = -1 /* TUNER_ALPS_TMDH2_NTSC */,},{/* ---- card 0x34 ---------------------------------- */	/* David H鋜deman <david@2gen.com> */	.name           = "Pinnacle PCTV Studio Pro",	.video_inputs   = 3,	.audio_inputs   = 1,	.tuner          = 0,	.svhs           = 3,	.gpiomask       = 0x03000F,	.muxsel		= { 2, 3, 1, 1},	.audiomux	= { 1, 0xd0001, 0, 0, 10},			/* sound path (5 sources):			   MUX1 (mask 0x03), Enable Pin 0x08 (0=enable, 1=disable)				0= ext. Audio IN				1= from MUX2				2= Mono TV sound from Tuner				3= not connected			   MUX2 (mask 0x30000):				0,2,3= from MSP34xx				1= FM stereo Radio from Tuner */	.needs_tvaudio  = 1,	.pll            = PLL_28,	.tuner_type     = -1,},{	/* Claas Langbehn <claas@bigfoot.com>,	   Sven Grothklags <sven@upb.de> */	.name		= "Typhoon TView RDS + FM Stereo / KNC1 TV Station RDS",	.video_inputs	= 3,	.audio_inputs	= 3,	.tuner		= 0,	.svhs		= 2,	.gpiomask	= 0x1c,	.muxsel		= { 2, 3, 1, 1},	.audiomux	= { 0, 0, 0x10, 8, 4 },	.needs_tvaudio	= 1,	.pll		= PLL_28,	.tuner_type	= TUNER_PHILIPS_PAL_I,	.has_radio	= 1,},{	/* Tim R鰏termundt <rosterm@uni-muenster.de>	   in de.comp.os.unix.linux.hardware:		options bttv card=0 pll=1 radio=1 gpiomask=0x18e0		audiomux=0x44c71f,0x44d71f,0,0x44d71f,0x44dfff		options tuner type=5 */	.name		= "Lifeview FlyVideo 2000 /FlyVideo A2/ Lifetec LT 9415 TV [LR90]",	.video_inputs	= 4,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= 2,	.gpiomask	= 0x18e0,	.muxsel		= { 2, 3, 1, 1},	.audiomux	= { 0x0000,0x0800,0x1000,0x1000,0x18e0 },		       /* For cards with tda9820/tda9821:			  0x0000: Tuner normal stereo			  0x0080: Tuner A2 SAP (second audio program = Zweikanalton)			  0x0880: Tuner A2 stereo */	.pll		= PLL_28,	.tuner_type	= -1,},{	/* Miguel Angel Alvarez <maacruz@navegalia.com>	   old Easy TV BT848 version (model CPH031) */	.name           = "Askey CPH031/ BESTBUY Easy TV",	.video_inputs	= 4,	.audio_inputs   = 1,	.tuner          = 0,	.svhs           = 2,	.gpiomask       = 0xF,	.muxsel         = { 2, 3, 1, 0},	.audiomux       = { 2, 0, 0, 0, 10},	.needs_tvaudio  = 0,	.pll		= PLL_28,	.tuner_type	= TUNER_TEMIC_PAL,},{/* ---- card 0x38 ---------------------------------- */	/* Gordon Heydon <gjheydon@bigfoot.com ('98) */	.name           = "Lifeview FlyVideo 98FM LR50",	.video_inputs   = 4,	.audio_inputs   = 3,	.tuner          = 0,	.svhs           = 2,	.gpiomask       = 0x1800,	.muxsel         = { 2, 3, 1, 1},	.audiomux       = { 0, 0x800, 0x1000, 0x1000, 0x1800, 0 },	.pll            = PLL_28,	.tuner_type     = 5,},{	/* This is the ultimate cheapo capture card 	 * just a BT848A on a small PCB!	 * Steve Hosgood <steve@equiinet.com> */	.name           = "GrandTec 'Grand Video Capture' (Bt848)",	.video_inputs   = 2,	.audio_inputs   = 0,	.tuner          = -1,	.svhs           = 1,	.gpiomask       = 0,	.muxsel         = { 3, 1 },	.audiomux       = { 0 },	.needs_tvaudio  = 0,	.no_msp34xx     = 1,	.pll            = PLL_35,	.tuner_type     = -1,},{        /* Daniel Herrington <daniel.herrington@home.com> */        .name           = "Askey CPH060/ Phoebe TV Master Only (No FM)",        .video_inputs   = 3,        .audio_inputs   = 1,        .tuner          = 0,        .svhs           = 2,        .gpiomask       = 0xe00,        .muxsel         = { 2, 3, 1, 1},        .audiomux       = { 0x400, 0x400, 0x400, 0x400, 0x800, 0x400 },        .needs_tvaudio  = 1,        .pll            = PLL_28,        .tuner_type     = TUNER_TEMIC_4036FY5_NTSC,},{	/* Matti Mottus <mottus@physic.ut.ee> */	.name		= "Askey CPH03x TV Capturer",	.video_inputs	= 4,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= 2,        .gpiomask       = 0x03000F,	.muxsel		= { 2, 3, 1, 0},        .audiomux       = { 2,0,0,0,1 },	.pll            = PLL_28,	.tuner_type	= 0,},{/* ---- card 0x3c ---------------------------------- */	/* Philip Blundell <philb@gnu.org> */	.name           = "Modular Technology MM100PCTV",	.video_inputs   = 2,	.audio_inputs   = 2,	.tuner		= 0,	.svhs		= -1,	.gpiomask       = 11,	.muxsel         = { 2, 3, 1, 1},	.audiomux       = { 2, 0, 0, 1, 8},	.pll            = PLL_35,	.tuner_type     = TUNER_TEMIC_PAL,},{	/* Adrian Cox <adrian@humboldt.co.uk */	.name	        = "AG Electronics GMV1",	.video_inputs   = 2,	.audio_inputs   = 0,	.tuner	        = -1,	.svhs	        = 1,	.gpiomask       = 0xF,	.muxsel	        = { 2, 2},	.audiomux       = { },	.no_msp34xx     = 1,	.needs_tvaudio  = 0,	.pll	        = PLL_28,	.tuner_type     = -1,},{	/* Miguel Angel Alvarez <maacruz@navegalia.com>	   new Easy TV BT878 version (model CPH061) 	   special thanks to Informatica Mieres for providing the card */	.name           = "Askey CPH061/ BESTBUY Easy TV (bt878)",	.video_inputs	= 3,	.audio_inputs   = 2,	.tuner          = 0,	.svhs           = 2,	.gpiomask       = 0xFF,	.muxsel         = { 2, 3, 1, 0},	.audiomux       = { 1, 0, 4, 4, 9},	.needs_tvaudio  = 0,	.pll		= PLL_28,	.tuner_type	= TUNER_PHILIPS_PAL,},{	/* Lukas Gebauer <geby@volny.cz> */	.name		= "ATI TV-Wonder",	.video_inputs	= 3,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= 2,	.gpiomask	= 0xf03f,	.muxsel		= { 2, 3, 1, 0 },	.audiomux	= { 0xbffe, 0, 0xbfff, 0, 0xbffe},	.pll		= PLL_28,	.tuner_type	= TUNER_TEMIC_4006FN5_MULTI_PAL,},{/* ---- card 0x40 ---------------------------------- */	/* Lukas Gebauer <geby@volny.cz> */	.name		= "ATI TV-Wonder VE",	.video_inputs	= 2,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= -1,	.gpiomask	= 1,	.muxsel		= { 2, 3, 0, 1},	.audiomux	= { 0, 0, 1, 0, 0},	.no_msp34xx	= 1,	.pll		= PLL_28,	.tuner_type	= TUNER_TEMIC_4006FN5_MULTI_PAL,},{	/* DeeJay <deejay@westel900.net (2000S) */	.name           = "Lifeview FlyVideo 2000S LR90",	.video_inputs   = 3,	.audio_inputs   = 3,	.tuner          = 0,	.svhs           = 2,	.gpiomask	= 0x18e0,	.muxsel		= { 2, 3, 0, 1},			/* Radio changed from 1e80 to 0x800 to make			   FlyVideo2000S in .hu happy (gm)*/			/* -dk-???: set mute=0x1800 for tda9874h daughterboard */	.audiomux	= { 0x0000,0x0800,0x1000,0x1000,0x1800, 0x1080 },	.audio_hook	= fv2000s_audio,	.no_msp34xx	= 1,	.no_tda9875	= 1,	.needs_tvaudio  = 1,	.pll            = PLL_28,	.tuner_type     = 5,},{	.name		= "Terratec TValueRadio",	.video_inputs	= 3,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= 2,	.gpiomask	= 0xffff00,	.muxsel		= { 2, 3, 1, 1},	.audiomux	= { 0x500, 0x500, 0x300, 0x900, 0x900},	.needs_tvaudio	= 1,	.pll		= PLL_28,	.tuner_type	= TUNER_PHILIPS_PAL,	.has_radio	= 1,},{	/* TANAKA Kei <peg00625@nifty.com> */	.name           = "IODATA GV-BCTV4/PCI",	.video_inputs   = 3,	.audio_inputs   = 1,	.tuner          = 0,	.svhs           = 2,	.gpiomask       = 0x010f00,	.muxsel         = {2, 3, 0, 0},	.audiomux       = {0x10000, 0, 0x10000, 0, 0, 0},	.no_msp34xx     = 1,	.pll            = PLL_28,	.tuner_type     = TUNER_SHARP_2U5JF5540_NTSC,	.audio_hook     = gvbctv3pci_audio,},{/* ---- card 0x44 ---------------------------------- */        .name           = "3Dfx VoodooTV FM (Euro), VoodooTV 200 (USA)",	// try "insmod msp3400 simple=0" if you have	// sound problems with this card.        .video_inputs   = 4,        .audio_inputs   = 1,        .tuner          = 0,        .svhs           = -1,        .gpiomask       = 0x4f8a00,	// 0x100000: 1=MSP enabled (0=disable again)	// 0x010000: Connected to "S0" on tda9880 (0=Pal/BG, 1=NTSC)        .audiomux       = {0x947fff, 0x987fff,0x947fff,0x947fff, 0x947fff},	// tvtuner, radio,   external,internal, mute,  stereo	/* tuner, Composit, SVid, Composit-on-Svid-adapter*/        .muxsel         = { 2, 3 ,0 ,1},        .tuner_type     = TUNER_MT2032,	.pll		= PLL_28,	.has_radio	= 1,},{	/* Philip Blundell <pb@nexus.co.uk> */	.name           = "Active Imaging AIMMS",	.video_inputs   = 1,	.audio_inputs   = 0,	.tuner          = -1,	.tuner_type     = -1,	.pll            = PLL_28,	.muxsel         = { 2 },	gpiomask:       0},{        /* Tomasz Pyra <hellfire@sedez.iq.pl> */        .name           = "Prolink Pixelview PV-BT878P+ (Rev.4C,8E)",        .video_inputs   = 3,        .audio_inputs   = 4,        .tuner          = 0,        .svhs           = 2,        .gpiomask       = 15,        .muxsel         = { 2, 3, 1, 1},        .audiomux       = { 0, 0, 11, 7, 13, 0}, // TV and Radio with same GPIO !        .needs_tvaudio  = 1,        .pll            = PLL_28,        .tuner_type     = 25,	/* GPIO wiring:		GPIO0: U4.A0 (hef4052bt)		GPIO1: U4.A1		GPIO2: U4.A1 (second hef4052bt)		GPIO3: U4.nEN, U5.A0, A5.nEN		GPIO8-15: vrd866b ?	 */},{	.name		= "Lifeview FlyVideo 98EZ (capture only) LR51",	.video_inputs	= 4,	.audio_inputs   = 0,	.tuner		= -1,	.svhs		= 2,	.muxsel		= { 2, 3, 1, 1}, // AV1, AV2, SVHS, CVid adapter on SVHS	.pll		= PLL_28,	.no_msp34xx	= 1,},{/* ---- card 0x48 ---------------------------------- */	/* Dariusz Kowalewski <darekk@automex.pl> */	.name		= "Prolink Pixelview PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM)",	.video_inputs	= 4,	.audio_inputs	= 1,	.tuner		= 0,	.svhs		= 2,	.gpiomask	= 0x3f,	.muxsel		= { 2, 3, 1, 1 },	.audiomux	= { 0x01, 0x00, 0x03, 0x03, 0x09, 0x02 },	.needs_tvaudio  = 1,	.no_msp34xx	= 1,	.no_tda9875	= 1,	.pll		= PLL_28,	.tuner_type	= 5,	.audio_hook	= pvbt878p9b_audio, // Note: not all cards have stereo	.has_radio	= 1,  // Note: not all cards have radio	/* GPIO wiring:		GPIO0: A0 hef4052		GPIO1: A1 hef4052		GPIO3: nEN hef4052		GPIO8-15: vrd866b		GPIO20,22,23: R30,R29,R28	 */},{	/* Clay Kunz <ckunz@mail.arc.nasa.gov> */	/* you must jumper JP5 for the card to work */	.name           = "Sensoray 311",	.video_inputs   = 5,	.audio_inputs   = 0,	.tuner          = -1,	.svhs           = 4,	.gpiomask       = 0,	.muxsel         = { 2, 3, 1, 0, 0},	.audiomux       = { 0 },	.needs_tvaudio  = 0,	.tuner_type     = -1,},{	/* Miguel Freitas <miguel@cetuc.puc-rio.br> */	.name           = "RemoteVision MX (RV605)",	.video_inputs   = 16,	.audio_inputs   = 0,	.tuner          = -1,	.svhs           = -1,	.gpiomask       = 0x00,	.gpiomask2      = 0x07ff,	.muxsel         = { 0x33, 0x13, 0x23, 0x43, 0xf3, 0x73, 0xe3, 0x03,			  0xd3, 0xb3, 0xc3, 0x63, 0x93, 0x53, 0x83, 0xa3 },	.no_msp34xx     = 1,	.no_tda9875     = 1,	.tuner_type     = -1,	.muxsel_hook    = rv605_muxsel,},{        .name           = "Powercolor MTV878/ MTV878R/ MTV878F",        .video_inputs   = 3,        audio_inputs:   2, 	.tuner		= 0,        .svhs           = 2,        .gpiomask       = 0x1C800F,  // Bit0-2: Audio select, 8-12:remote control 14:remote valid 15:remote reset        .muxsel         = { 2, 1, 1, },        .audiomux       = { 0, 1, 2, 2, 4 },        .needs_tvaudio  = 0,        .tuner_type     = TUNER_PHILIPS_PAL,	.pll		= PLL_28,	.has_radio	= 1,},{/* ---- card 0x4c ---------------------------------- */        /* Masaki Suzuki <masaki@btree.org> */        .name           = "Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP)",        .video_inputs   = 3,        .audio_inputs   = 1,        .tuner          = 0,        .svhs           = 2,        .gpiomask       = 0x140007,        .muxsel         = { 2, 3, 1, 1 },        .audiomux       = { 0, 1, 2, 3, 4, 0 },        .tuner_type     = TUNER_PHILIPS_NTSC,        .audio_hook     = windvr_audio,},{        .name           = "GrandTec Multi Capture Card (Bt878)",        .video_inputs   = 4,        .audio_inputs   = 0,        .tuner          = -1,        .svhs           = -1,        .gpiomask       = 0,        .muxsel         = { 2, 3, 1, 0 },        .audiomux       = { 0 },        .needs_tvaudio  = 0,        .no_msp34xx     = 1,        .pll            = PLL_28,        .tuner_type     = -1,},{        .name           = "Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF",        .video_inputs   = 4,        audio_inputs:   3,         .tuner          = 0,        .svhs           = 2,        .gpiomask       = 7,        .muxsel         = { 2, 3, 1, 1 },   // Tuner, SVid, SVHS, SVid to SVHS connector        .audiomux       = { 0 ,0 ,4, 4,4,4},// Yes, this tuner uses the same audio output for TV and FM radio!					  // This card lacks external Audio In, so we mute it on Ext. & Int.					  // The PCB can take a sbx1637/sbx1673, wiring unknown.					  // This card lacks PCI subsystem ID, sigh.					  // audiomux=1: lower volume, 2+3: mute					  // btwincap uses 0x80000/0x80003        .needs_tvaudio  = 0,        .no_msp34xx     = 1,        .pll            = PLL_28,        .tuner_type     = 5, // Samsung TCPA9095PC27A (BG+DK), philips compatible, w/FM, stereo and			   // radio signal strength indicators work fine.	.has_radio		= 1,	/* GPIO Info:		GPIO0,1:   HEF4052 A0,A1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -