; $Id: CX2388xCards.ini,v 1.13 2007-01-01 20:21:39 to_see Exp $
;
; CX2388x card list.
;
; ***** Defining a card: *****
; see SAA713xCards.ini


[Conexant CX23880 TV/FM EVK]
DefaultTuner = philips_ntsc
AutoDetectID =0x006614f1

Input ( "Tuner", tuner)
	MuxSelect = 0

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2

Input ( "Colour Bars", colourbars )
	MuxSelect = 0


[Conexant CX23880 TV/FM EVK (PAL)]
AutoDetectID =0x016614f1
DefaultTuner = philips_pal

Input ( "Tuner", tuner)
	MuxSelect = 0

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2

Input ( "Colour Bars", colourbars )
	MuxSelect = 0


[Holo 3d Graph]
CardMode ( H3D )
DefaultTuner = absent

Input ( "Component", ccir)
	MuxSelect = 3

Input ( "RGsB", ccir)
	MuxSelect = 3

Input ( "S-Video", ccir)
	MuxSelect = 3

Input ( "SDI", ccir)
	MuxSelect = 3

Input ( "Composite G", ccir)
	MuxSelect = 3

Input ( "Composite B", ccir)
	MuxSelect = 3

Input ( "Composite R", ccir)
	MuxSelect = 3

Input ( "Composite BNC", ccir)
	MuxSelect = 3

Input ( "PDI", ccir)
	MuxSelect = 3


[PixelView XCapture]
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2


[MSI TV@nywhere (NTSC)]
;v4l card: #13
DefaultTuner = mt2032

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x00008040, 0x0000fc1f )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc08 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )


[MSI TV@nywhere (PAL)]
;v4l card: #13
DefaultTuner = mt2032_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x00008040, 0x0000fc1f )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc08 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x00000000, 0x00008000, 0x0000ff80 )
	; not sure about that GPIO's.
	; v4l2 uses:
	; GPIOSet ( 0x00000fbf, 0x00000000, 0x0000fc68 )


[MSI TV@nywhere Master]
;Comments:
;Don't use DSaler 4.1.9. It corruptes your eeprom.
;
;If your eeprom is corrupted typical symthoms are that
;your software that came with the card does not work
;anymore after using DScaler 4.1.9. Then search for the
;"Reflasher" app in Support Forum and reflash your eeprom.
;
;Please close your PVR and IR apps in system tray to
;get audio before you start DScaler.

;Thanks Hans Schroeder
;Thanks Michal Pytasz
;Thanks Wesley Ward
;v4l card: #7
AutoDetectID = 0x86061462
DefaultTuner = mt2050_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000040bf, 0x000080c0, 0x0000ff40 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000040bf, 0x000080c0, 0x0000ff20 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000040bf, 0x000080c0, 0x0000ff20 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x000040bf, 0x000080c0, 0x0000ff20 )

UseTDA9887 ()
	SetModes ( pal-bg  ) = { OutputPort2 = active  }                      ; OK
	SetModes ( pal-i   ) = { OutputPort2 = active, TakeOverPoint = 0x0e } ; OK
	SetModes ( pal-dk  ) = { OutputPort2 = active  }                      ; OK
	SetModes ( ntsc-m  ) = { intercarrier, OutputPort1 = active }         ; OK
	SetModes ( ntsc-jp ) = { intercarrier, OutputPort1 = active }         ; ???


[Asus TV Tuner 880 (NTSC)]
AutoDetectID =0x48201043
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000080ff, 0x000001ff, 0x000000ff )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000ff00, 0x0000ff00, 0x0000ff00 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x0000ff00, 0x0000ff00, 0x0000ff00 )


[Prolink PlayTV HD]
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ff00 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000ff1 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000ff1 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x00000ff1 )


[Hauppauge WinTV 34xxx models]
;Comments:
;Many cards with the same name but different hardware
;(tuners, with/without IR remote...)
;
;If no tuner is autodetected, try all in the list
;and post to support forum.
;
;Please close your PVR and IR apps in system tray to
;get audio before you start DScaler.
;
;Thanks Tom Zoerner
;
;v4l card: #1
AutoDetectID = 0x34010070, 0x34000070
DefaultTuner = auto

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ff00 )

;debug only
Input ( "Tuner (Mono Audio)", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ff01 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000ff02 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000ff02 )

Input ( "Composite Over S-Video", composite )
	MuxSelect = 2
	GPIOSet ( 0x0000ff02 )

Final ()
    MuxSelect = 1
    GPIOSet ( 0x0000ff04 )

UseTDA9887 ()

[PixelView XCapture With PDI Mod]
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2

Input ( "PDI", ccir )
	MuxSelect = 3


[Leadtek WinFast TV2000 XP Expert (Pal)]
;Comments:
;Card variant with Pal-Tuner
;
;Please close your PVR and IR apps in system tray to
;get audio before you start DScaler.

;Thanks Sorin Siron
;Thanks Daniel Wojcik
;Thanks Brian Bennefeld
;Thanks Hervé
;v4l card: #5
AutoDetectID = 0x6611107d
DefaultTuner = philips_fm1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00f5e700, 0x00003004, 0x00f5e700, 0x02000000 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00f5c700, 0x00003004, 0x00f5c700, 0x02000000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00f5c700, 0x00003004, 0x00f5c700, 0x02000000 )

Final ()
	MuxSelect = 0
	GPIOSet ( 0x00f5e704, 0x00003004, 0x00f5e704, 0x02000000 )

UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active } ; OK
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active } ; ???
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active } ; OK
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }         ; ???
	SetModes ( secam-l  ) = { OutputPort2 = active }                       ; OK


[Leadtek WinFast TV2000 XP Expert (Ntsc)]
;Comments:
;Card variant with Ntsc-Tuner
;
;Please close your PVR and IR apps in system tray to
;get audio before you start DScaler.

;Thanks Alan Erickson
;v4l card: #5
AutoDetectID = 0x6613107D
DefaultTuner = philips_4in1

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00f5e700, 0x00003004, 0x00f5e700, 0x02000000 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00f5c700, 0x00003004, 0x00f5c700, 0x02000000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00f5c700, 0x00003004, 0x00f5c700, 0x02000000 )

Final ()
	MuxSelect = 0
	GPIOSet ( 0x00f5e704, 0x00003004, 0x00f5e704, 0x02000000 )

UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active } ; OK
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active } ; ???
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active } ; OK
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }         ; ???
	SetModes ( secam-l  ) = { OutputPort2 = active }                       ; OK


[ATI TV Wonder Pro]
;Thanks Allen Ly
;v4l card: #4
AutoDetectID = 0x00f81002
DefaultTuner = philips_4in1

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000003ff )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000003fe )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000003fe )

UseTDA9887 ()
	SetModes ( pal-bg  ) = { OutputPort1 = active }               ; ???
	SetModes ( pal-i   ) = { OutputPort1 = active }               ; ???
	SetModes ( pal-dk  ) = { OutputPort1 = active }               ; ???
	SetModes ( ntsc-m  ) = { intercarrier, OutputPort1 = active } ; OK


[PixelView PlayTV Ultra (Mono Tuner Sound)]
;Comments:
;Card variant with onboard TDA9874 audio decoder.
;Only mono audio direct from tuner supported.
;
;Thanks Denis Love
;v4l card: #3, #11, #27
AutoDetectID = 0x48111554
DefaultTuner = philips_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ff00 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000ff1 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000ff1 )


[PixelView PlayTV Ultra]
;Comments:
;Card variant without onboard TDA9874 audio decoder.
;Stereo audio should be ok.
;
;Please close your PVR and IR apps in system tray to
;get audio before you start DScaler.
;v4l card: #3, #11, #27
AutoDetectID = 0x48111554
DefaultTuner = philips_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000bff1 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000bff3 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000bff3 )


[K-World DV/AV Expert TV Stereo]
;Comments:
;The report I have is that this card does not have an
;eeprom or it is corrupted from 4.1.9. But in driver .inf
;file 2 SubID's are mentioned.

;Thanks Triantafillos Paradas
AutoDetectID = 0x088217de, 0x088317de
DefaultTuner = philips_fm1216me_mk3  ;not sure

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000007f8 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000004ff )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000004ff )


[AverTV Studio 303 (M126)]
;Thanks Zbigniew Pluta
;Thanks deky
;v4l card: #6
AutoDetectID = 0x000b1461, 0x000a1461
DefaultTuner = philips_fm1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x0000e09f, 0x000000d1 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000000ff, 0x0000e05f, 0x000000d1 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000000ff, 0x0000e05f, 0x000000d1 )

Final ()
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x000020ff, 0x000000d1 )

UseTDA9887 ()
	SetModes ( pal-bg  ) = { OutputPort1 = active, OutputPort2 = active } ; ???
	SetModes ( pal-i   ) = { OutputPort1 = active, OutputPort2 = active } ; ???
	SetModes ( pal-dk  ) = { OutputPort1 = active, OutputPort2 = active } ; OK
	SetModes ( ntsc-m  ) = { intercarrier }                               ; ???


[GDI Black Gold]
;from v4l, card #2
AutoDetectID = 0x010614c7, 0x010614c7
DefaultTuner = absent

Input ( "Composite1", composite )
	MuxSelect = 0

Input ( "Composite2", composite )
	MuxSelect = 1

Input ( "S-Video",    svideo )
	MuxSelect = 2


[IODATA GV-VCP3/PCI]
;from v4l, card #10
AutoDetectID = 0xd00310fc
DefaultTuner = absent

Input ( "Composite1", composite )
	MuxSelect = 0

Input ( "Composite2", composite )
	MuxSelect = 1

Input ( "S-Video",    svideo )
	MuxSelect = 2


[IODATA GV/BCTV7E]
;from v4l, card #26
AutoDetectID = 0xd03510fc
DefaultTuner = philips_fq1286

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000e03f )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000e07f )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000e07f )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Leadtek WinFast DV2000]
;from v4l, card #8
AutoDetectID = 0x6620107D
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0035e700, 0x00003004, 0x0035e700, 0x02000000 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0035c700, 0x00003004, 0x0035c700, 0x02000000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0035c700, 0x00003004, 0x0035c700, 0x02000000 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Leadtek WinFast PVR2000]
;from v4l2, card #9
AutoDetectID = 0x663B107D, 0x663C107D,
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000bde2 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000bde6 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000bde6 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Asus PVR-416]
;from v4l (analog part only), card #12
;Blackbird PVR Card with HW MPEG Encoder
AutoDetectID = 0x48231043
DefaultTuner = philips_fm1236_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000fde6 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000fde6 ) ; 0x0000fda6 L,R RCA audio in?

UseTDA9887 ()


[K-World/V-Stream XPert DVB-T]
;from v4l (analog part only), card #14
;Todo: reset code on GPIO's
AutoDetectID = 0x08a617de
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )


[DViCO FusionHDTV DVB-T1]
;from v4l (analog part only), card #15
;Todo: GPIO0:0 is hooked to mt352 reset pin
AutoDetectID = 0xd81018ac
DefaultTuner = absent

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000fde6 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000027df )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000027df )


[K-World LTV883RF]
;from v4l card #16
;seems to have no eeprom
;AutoDetectID =
DefaultTuner = tnf_8831bgff

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000007f8 )

;debug only
Input ( "Tuner (Mono Audio)", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000007f9 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000007fa )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000007fa )


[DViCO FusionHDTV 3 Gold-Q]
;from v4l (analog part only), card #17
AutoDetectID = 0xd81018ac
;Todo: Add new tuner
;DefaultTuner = TUNER_MICROTUNE_4042FI5
DefaultTuner = absent
;
;TODO: Handle GPIO's:
;GPIO[0] resets DT3302 DTV receiver
;0 - reset asserted
;1 - normal operation
;GPIO[1] mutes analog audio output connector
;0 - enable selected source
;1 - mute
;GPIO[2] selects source for analog audio output connector
;0 - analog audio input connector on tab
;1 - analog DAC output from CX23881 chip
;GPIO[3] selects RF input connector on tuner module
;0 - RF connector labeled CABLE
;1 - RF connector labeled ANT
;GPIO[4] selects high RF for QAM256 mode
;0 - normal RF
;1 - high RF

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000f0d )

;TODO
;Input ( "Cable", cable)
;	MuxSelect = 0
;	GPIOSet ( 0x00000f05 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000f00 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000f00 )


[Provideo PV259]
;from v4l (analog part only), card #20 
;Blackbird PVR Card with HW MPEG Encoder
AutoDetectID = 0x25801540
DefaultTuner = philips_multi

Input ( "Tuner", tuner)
	MuxSelect = 0


[DViCO FusionHDTV DVB-T Plus]
;from v4l (analog part only), card #21 
;Todo: GPIO0:0 is hooked to mt352 reset pin
AutoDetectID = 0xd81018ac
DefaultTuner = absent ; No analog tuner

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000027df )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000027df )


[10Moon TVBaby3]
;Thanks Allan Zhou
AutoDetectID = 0x35041131
DefaultTuner = lg_tapcnew_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00ff8fff, 0x00007000, 0x00ff8fff, 0x02000000 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00ffafff, 0x00007000, 0x00ffafff, 0x02000000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00ffafff, 0x00007000, 0x00ffafff, 0x02000000 )


[PowerColor RA330]
;v4l card #62
;Thanks ranieri from forum
AutoDetectID =0xea3d14f1
;Note: correct tuner model is "Xceive xc3028", not supported atm.
;Todo: add new tuner device
; ..tuner settings seems to work too.. see forum.
DefaultTuner = hitachi_ntsc 

Input ( "Tuner", tuner)
    MuxSelect = 0
    GPIOSet ( 0x000000ff, 0x0000f35d, 0x00000019, 0x00000000 )

Input ( "Composite", composite )
    MuxSelect = 1
    GPIOSet ( 0x000000ff, 0x0000f37d, 0x00000019, 0x00000000 )

Input ( "S-Video", svideo )
    MuxSelect = 2
    GPIOSet ( 0x000000ff, 0x0000f37d, 0x00000019, 0x00000000 )


[pcHDTV HD3000 HDTV]
;from v4l (analog part only), card #22 
AutoDetectID = 0x30007063
;Note: correct tuner model is "Thomson DTT761x", not supported atm.
;Todo: add new tuner device, hope mk3's settings are working
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
    MuxSelect = 0
    GPIOSet ( 0x00008484 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00008400 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00008400 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[digitalnow DNTV Live! DVB-T]
;from v4l (analog part only), card #23 
;Todo: reset code on GPIO's
AutoDetectID = 0xa8a617de
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000700, 0x00000101 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000700, 0x00000101 )


[Hauppauge WinTV 28xxx (Roslyn) models]
;from v4l (analog part only), card #24 
AutoDetectID = 0x28010070
DefaultTuner = auto

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ed1a, 0x00000000, 0x000000ff )

;debug only
Input ( "Tuner (Mono Audio)", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000ff01 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000ff02, 0x00000000, 0x000000ff )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000ed92, 0x00000000, 0x000000ff )


[Digital-Logic MICROSPACE Entertainment Center (MEC)]
;from v4l (analog part only), card #25 
;Blackbird PVR Card with HW MPEG Encoder
;Todo: ext. ADC
AutoDetectID = 0xd03510fc
DefaultTuner = philips_fm1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00009d80 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00009d76 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00009d76 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[DViCO FusionHDTV 3 Gold-T]
;from v4l (analog part only), card #28 
AutoDetectID = 0xd82018ac
;Note: correct tuner model is "Thomson DTT761x", not supported atm.
;Todo: add new tuner device, hope mk3's settings are working
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000097ed )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000097e9 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000097e9 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[ADS Tech Instant TV DVB-T PCI]
;from v4l (analog part only), card #29 
AutoDetectID = 0x03341421
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )


[DViCO FusionHDTV 5 Gold]
;from v4l (analog part only), card #31 
AutoDetectID = 0xd50018ac
;Todo: add new tuner device: TUNER_LG_TDVS_H06XF-H062F
DefaultTuner = absent

Input ( "Tuner", tuner)
	MuxSelect = 0
    GPIOSet ( 0x000087fd )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000087f9 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000087f9 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[AverMedia UltraTV Media Center PCI 550]
;from v4l (analog part only), card #32 
;Blackbird PVR Card with HW MPEG Encoder
;Todo: ext. ADC
AutoDetectID = 0x80111461
DefaultTuner = philips_fm1236_mk3

Input ( "Tuner", tuner)
    ;3 (no typo) ?!
	MuxSelect = 3
	GPIOSet ( 0x0000cdb3 )

Input ( "Composite", composite )
    ;0 (no typo) ?!
	MuxSelect = 0
	GPIOSet ( 0x0000cd73 )

Input ( "S-Video", svideo )
    ;0 (no typo) ?!
	MuxSelect = 0
	GPIOSet ( 0x0000cd73 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[K-World/V-Stream Xpert DVD]
;from v4l (analog part only), card #33
;no Eeprom 
;AutoDetectID = 
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x03000000, 0x01000000, 0x02000000, 0x00100000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x03000000, 0x01000000, 0x02000000, 0x00100000 )


[ATI HDTV Wonder]
;from v4l (analog part only), card #34
AutoDetectID = 0xa1011002
;Todo: reset code on GPIO's + new tuner device TUNER_PHILIPS_TUV1236D
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000ff7, 0x000000ff, 0x00000001 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000ffe, 0x000000ff, 0x00000001 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000ffe, 0x000000ff, 0x00000001 )


[Hauppauge Nova-S-Plus DVB-S]
;from v4l (analog part only), card #37
AutoDetectID = 0x92010070, 0x92020070
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2


[K-World DVB-S 100]
;from v4l (analog part only), card #39
AutoDetectID = 0x08b217de
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2


[Hauppauge WinTV-HVR1100 DVB-T/Hybrid]
;from v4l (analog part only), card #40
AutoDetectID = 0x94020070, 0x94000070
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Hauppauge WinTV-HVR1100 DVB-T/Hybrid  (Low Profile)]
;from v4l (analog part only), card #41
AutoDetectID = 0x98020070, 0x98000070
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0

Input ( "Composite", composite )
	MuxSelect = 1

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[digitalnow DNTV Live! DVB-T Pro]
;from v4l (analog part only), card #42
AutoDetectID = 0x00251822
;Todo: update tuner init, reset code on GPIO's, secondary I2C bus with vp3054
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00f80808 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00f80808 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00f80808 )

;TDA9887 settings not tested
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { OutputPort1 = active, OutputPort2 = active, intercarrier }
	SetModes ( secam-l  ) = { OutputPort1 = active, OutputPort2 = active }


[K-World/V-Stream XPert DVB-T with cx22702]
;from v4l (analog part only), card #43
AutoDetectID = 0x08a117de
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000700, 0x00000000, 0x00000101 )


[DViCO FusionHDTV DVB-T Dual Digital]
;from v4l (analog part only), card #44
AutoDetectID = 0xdb5018ac, 0xdb5418ac
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000067df )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000067df )


[K-World HardwareMpegTV XPert]
;from v4l (analog part only), card #45
;Blackbird PVR Card with HW MPEG Encoder
AutoDetectID = 0x084017de, 0x03051421
;Todo: update tuner code
DefaultTuner = philips_tda8275

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00003de2, 0x00000000, 0x000000ff )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00003de6, 0x00000000, 0x000000ff )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00003de6, 0x00000000, 0x000000ff )


[DViCO FusionHDTV DVB-T Hybrid]
;from v4l (analog part only), card #46
AutoDetectID = 0xdb4018ac, 0xdb4418ac
;Todo: update tuner code TUNER_THOMSON_FE6600
DefaultTuner = absent

;Input ( "Tuner", tuner)
;	MuxSelect = 0
;	GPIOSet ( 0x0000a75f )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000a75b )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000a75b )


[pcHDTV HD5500 HDTV]
;from v4l (analog part only), card #47
AutoDetectID = 0x55007063
;Todo: reset code on GPIO's, add new tuner device: TUNER_LG_TDVS_H06XF-H062F
DefaultTuner = absent

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000087fd )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000087f9 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000087f9 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[K-World MCE 200 Deluxe]
;from v4l (analog part only), card #48
;Blackbird PVR Card with HW MPEG Encoder
AutoDetectID = 0x084117de
DefaultTuner = tena_9533_di

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000bde6 )

;FIXME: tested TV input only, disabled composite,
;svideo and radio until they can be tested also.

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000bde6 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000bde6 )


[PixelView PlayTV P7000]
;from v4l (analog part only), card #49
;Blackbird PVR Card with HW MPEG Encoder
AutoDetectID = 0x48131554
DefaultTuner = philips_fm1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00005da6 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00005da4 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00005da5 )

;TDA9887 settings not tested
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { OutputPort1 = active, OutputPort2 = active, intercarrier }
	SetModes ( secam-l  ) = { OutputPort1 = active, OutputPort2 = active }


[NPG Tech Real TV FM Top 10]
;from v4l, card #50
AutoDetectID = 0x084214f1
;Todo: add/update TUNER_TNF_5335MF / TNF9535
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000788 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000078b )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000078b )


[Leadtek WinFast DTV2000H]
;from v4l (analog part only), card #51
AutoDetectID = 0x665e107d
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00017304, 0x00008203, 0x00017304, 0x02000000 )

;video inputs and radio still in testing

Input ( "Composite", composite )
	MuxSelect = 1

Input ( "S-Video", svideo )
	MuxSelect = 2

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Geniatech DVB-S]
;from v4l (analog part only), card #52
AutoDetectID = 0x008414f1
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1


[Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T]
;from v4l (analog part only), card #53
;Todo: update DS's parser class for four AutoDetectID's: 0x14040070 is here missing
AutoDetectID = 0x14000070, 0x14010070, 0x14020070
;Todo: update tuner init
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000084bf )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000084bf )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000084bf )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Norwood Micro TV Tuner]
;from v4l, card #54
;no Eeprom 
;AutoDetectID = 
;Todo: add new tuner device TUNER_TNF_5335MF
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000709 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000070b )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000070b )


[Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann OEM]
;from v4l, card #55
AutoDetectID = 0xc980c180
DefaultTuner = lg_tapcnew_pal

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x003fffff, 0x00e00000, 0x003fffff, 0x02000000 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x003fffff, 0x00e00000, 0x003fffff, 0x02000000 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x003fffff, 0x00e00000, 0x003fffff, 0x02000000 )


[Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder]
;from v4l (analog part only), card #56
;Blackbird PVR Card with HW MPEG Encoder
;Todo: add AUDIO_CHIP_WM8775
AutoDetectID = 0x96000070, 0x96010070, 0x96020070
DefaultTuner = auto

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000e780 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000e780 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000e780 )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[ADS Tech Instant Video PCI]
;from v4l, card #57
AutoDetectID = 0x03901421
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000007fa )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000007fa )


[Pinnacle PCTV HD 800i]
;from v4l (analog part only), card #58
AutoDetectID = 0x005111bd
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000004fb, 0x000010ef )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000004fb, 0x000010ef )


[DViCO FusionHDTV 5 PCI nano]
;from v4l (analog part only), card #59
;Todo: Audio route
AutoDetectID = 0xd53018ac
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000027df )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000027df )


[Pinnacle Hybrid PCTV]
;from v4l (analog part only), card #60
AutoDetectID = 0x178812ab
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000004ff, 0x000010ff, 0x00000001 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000004fb, 0x000010ef )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000004fb, 0x000010ef )


[Winfast TV2000 XP Global]
;from v4l (analog part only), card #61
AutoDetectID = 0x6f18107d
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000400, 0x00000000, 0x00000800 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000400, 0x00000000, 0x00000808 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000400, 0x00000000, 0x00000808 )


[Geniatech X8000-MT DVBT]
;from v4l (analog part only), card #63
AutoDetectID = 0x885214f1
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x00000000, 0x00e3e341 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x00000000, 0x00e3e361 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x00000000, 0x00e3e361 )


[DViCO FusionHDTV DVB-T PRO]
;from v4l (analog part only), card #64
AutoDetectID = 0xdb3018ac
DefaultTuner = absent

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000067df )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000067df )


[DViCO FusionHDTV 7 Gold]
;from v4l (analog part only), card #65
AutoDetectID = 0xd61018ac
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000010df )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000016d9 )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000016d9 )


[Prolink Pixelview MPEG 8000GT]
;from v4l (analog part only), card #66
AutoDetectID = 0x49351554
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x00000000, 0x00000cfb )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000000ff, 0x00000000, 0x00000cfb )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000000ff, 0x00000000, 0x00000cfb )


[Kworld PlusTV HD PCI 120 (ATSC 120)]
;from v4l (analog part only), card #67
AutoDetectID = 0x08c117de
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000000ff, 0x0000f35d )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000000ff, 0x0000f37e )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000000ff, 0x0000f37e )


[Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid]
;from v4l (analog part only), card #68
;Todo: WM8775 ADC audio
AutoDetectID = 0x69000070, 0x69040070, 0x69020070
DefaultTuner = philips_fmd1216me_mk3

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x0000c4bf )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x0000c4bf )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x0000c4bf )

;TDA9887 settings not tested - just copied from Leadtek WinFast TV2000 XP Expert
UseTDA9887 ()
	SetModes ( pal-bg   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-i    ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( pal-dk   ) = { OutputPort1 = active, OutputPort2 = active }
	SetModes ( ntsc-m   ) = { intercarrier, OutputPort1 = active }
	SetModes ( secam-l  ) = { OutputPort2 = active }


[Terratec Cinergy HT PCI MKII]
;from v4l (analog part only), card #78
AutoDetectID = 0x1177153b
DefaultTuner = setup

Input ( "Tuner", tuner)
	MuxSelect = 0
	GPIOSet ( 0x000004ff, 0x000010ff, 0x00000001 )

Input ( "Composite", composite )
	MuxSelect = 1
	GPIOSet ( 0x000004fb, 0x000010ef )

Input ( "S-Video", svideo )
	MuxSelect = 2
	GPIOSet ( 0x000004fb, 0x000010ef )


; ***** Tuner list: (as at July 2005) *****
; auto                        -2
; setup                       -1
; absent                      0
; philips_pal_i               1
; philips_ntsc                2
; philips_secam               3
; philips_pal                 4
; temic_4002fh5_pal           5
; temic_4032fy5_ntsc          6
; temic_4062fy5_pal_i         7
; temic_4036fy5_ntsc          8
; alps_tsbh1_ntsc             9
; alps_tsbe1_pal              10
; alps_tsbb5_pal_i            11
; alps_tsbe5_pal              12
; alps_tsbc5_pal              13
; temic_4006fh5_pal           14
; philips_1236d_ntsc_input1   15
; philips_1236d_ntsc_input2   16
; alps_tsch6_ntsc             17
; temic_4016fy5_pal           18
; philips_mk2_ntsc            19
; temic_4066fy5_pal_i         20
; temic_4006fn5_pal           21
; temic_4009fr5_pal           22
; temic_4039fr5_ntsc          23
; temic_4046fm5_multi         24
; philips_pal_dk              25
; philips_multi               26
; lg_i001d_pal_i              27
; lg_i701d_pal_i              28
; lg_r01f_ntsc                29
; lg_b01d_pal                 30
; lg_b11d_pal                 31
; temic_4009fn5_pal           32
; mt2032                      33
; sharp_2u5jf5540_ntsc        34
; lg_tapch701p_ntsc           35
; samsung_pal_tcpm9091pd27    36
; temic_4106fh5               37
; temic_4012fy5               38
; temic_4136fy5               39
; lg_tapcnew_pal              40
; philips_fm1216me_mk3        41
; lg_tapcnew_ntsc             42
; mt2032_pal                  43
; philips_fi1286_ntsc_m_j     44
; mt2050                      45
; mt2050_pal                  46
; philips_4in1                47
; tcl_2002n                   48
; hitachi_ntsc                49
; philips_pal_mk              50
; philips_fm1236_mk3          51
; lg_ntsc_tape                52
; tnf_8831bgff                53
; philips_fm1256_ih3          54
; philips_fq1286              55
; lg_pal_tape                 56
; philips_fq1216ame_mk4       57
; philips_fq1236a_mk4         58
; philips_tda8275             59
; ymec_tvf_8531mf             60
; ymec_tvf_5533mf             61
; tena_9533_di                62
; philips_fmd1216me_mk3       63
;
