.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Custom Dummy USBVision Device",
},
[XANBOO] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Xanboo",
},
[BELKIN_VIDEOBUS_II] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Belkin USB VideoBus II Adapter",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Belkin Components USB VideoBus",
},
[BELKIN_USB_VIDEOBUS_II] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Belkin USB VideoBus II",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "echoFX InterView Lite",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "USBGear USBG-V1 resp. HAMA USB",
},
[D_LINK_V100] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "D-Link V100",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "X10 USB Camera",
},
[HPG_WINTV_LIVE_PAL_BG] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Live (PAL B/G)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Live Pro (NTSC M/N)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Zoran Co. PMD (Nogatech) AV-grabber Manhattan",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = 20,
- .Dvi_yuv = -1,
.ModelString = "Nogatech USB-TV (NTSC) FM",
},
[PNY_USB_TV_NTSC_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = 20,
- .Dvi_yuv = -1,
.ModelString = "PNY USB-TV (NTSC) FM",
},
[PV_PLAYTV_USB_PRO_PAL_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "PixelView PlayTv-USB PRO (PAL) FM",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "ZTV ZT-721 2.4GHz USB A/V Receiver",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = 20,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (NTSC M/N)",
},
[HPG_WINTV_PAL_BG] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL B/G)",
},
[HPG_WINTV_PAL_I] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL I)",
},
[HPG_WINTV_PAL_SECAM_L] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_SECAM,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL/SECAM L)",
},
[HPG_WINTV_PAL_D_K] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL D/K)",
},
[HPG_WINTV_NTSC_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (NTSC FM)",
},
[HPG_WINTV_PAL_BG_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL B/G FM)",
},
[HPG_WINTV_PAL_I_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL I FM)",
},
[HPG_WINTV_PAL_D_K_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTV USB (PAL D/K FM)",
},
[HPG_WINTV_PRO_NTSC_MN] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_MICROTUNE_4049FM5,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (NTSC M/N)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_MICROTUNE_4049FM5,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (NTSC M/N) V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_FM1216ME_MK3,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL/SECAM B/G/I/D/K/L)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (NTSC M/N) V3",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL B/G)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL I)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_SECAM,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL/SECAM L)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL D/K)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_SECAM,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL/SECAM BGDK/I/L)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_SECAM,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL/SECAM BGDK/I/L) V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_ALPS_TSBE1_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL B/G) V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_ALPS_TSBE1_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL B/G,D/K)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL I,D/K)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (NTSC M/N FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL B/G FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL I FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL D/K FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_MICROTUNE_4049FM5,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (Temic PAL/SECAM B/G/I/D/K/L FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_MICROTUNE_4049FM5,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (Temic PAL B/G FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_FM1216ME_MK3,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (PAL/SECAM B/G/I/D/K/L FM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Hauppauge WinTV USB Pro (NTSC M/N FM) V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 5,
.Y_Offset = 5,
- .Dvi_yuv = -1,
.ModelString = "Camtel Technology USB TV Genie Pro FM Model TVB330",
},
[DIGITAL_VIDEO_CREATOR_I] = {
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Digital Video Creator I",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 82,
.Y_Offset = 20,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Global Village GV-007 (NTSC)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Dazzle Fusion Model DVC-50 Rev 1 (NTSC)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Dazzle Fusion Model DVC-80 Rev 1 (PAL)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Dazzle Fusion Model DVC-90 Rev 1 (SECAM)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_FM1216ME_MK3,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Eskape Labs MyTV2Go",
},
.vbi = 0,
.Tuner = 1,
.TunerType = TUNER_TEMIC_4066FY5_PAL_I,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Pinnacle Studio PCTV USB (PAL)",
},
[PINNA_PCTV_USB_SECAM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_SECAM,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Pinnacle Studio PCTV USB (SECAM)",
},
[PINNA_PCTV_USB_PAL_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 128,
.Y_Offset = 23,
- .Dvi_yuv = -1,
.ModelString = "Pinnacle Studio PCTV USB (PAL) FM",
},
[MIRO_PCTV_USB] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Miro PCTV USB",
},
[PINNA_PCTV_USB_NTSC_FM] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Pinnacle Studio PCTV USB (NTSC) FM",
},
[PINNA_PCTV_USB_PAL_FM_V2] = {
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_TEMIC_4009FR5_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle Studio PCTV USB (PAL) FM V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_TEMIC_4039FR5_NTSC,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle Studio PCTV USB (NTSC) FM V2",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_TEMIC_4009FR5_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle Studio PCTV USB (PAL) FM V3",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle Studio Linx Video input cable (NTSC)",
},
.vbi = 1,
.Tuner = 0,
.TunerType = 0,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle Studio Linx Video input cable (PAL)",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_TEMIC_4009FR5_PAL,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = 0,
.Y_Offset = 3,
+ .Dvi_yuv_override = 1,
.Dvi_yuv = 7,
.ModelString = "Pinnacle PCTV Bungee USB (PAL) FM",
},
.vbi = 1,
.Tuner = 1,
.TunerType = TUNER_PHILIPS_NTSC_M,
- .Vin_Reg1 = -1,
- .Vin_Reg2 = -1,
.X_Offset = -1,
.Y_Offset = -1,
- .Dvi_yuv = -1,
.ModelString = "Hauppauge WinTv-USB",
},
};
model = usbvision->DevModel;
usbvision->palette = usbvision_v4l2_format[2]; // V4L2_PIX_FMT_RGB24;
- if (usbvision_device_data[usbvision->DevModel].Vin_Reg2 >= 0) {
- usbvision->Vin_Reg2_Preset = usbvision_device_data[usbvision->DevModel].Vin_Reg2 & 0xff;
+ if (usbvision_device_data[usbvision->DevModel].Vin_Reg2_override) {
+ usbvision->Vin_Reg2_Preset = usbvision_device_data[usbvision->DevModel].Vin_Reg2;
} else {
usbvision->Vin_Reg2_Preset = 0;
}
if(CustomDevice)
{
char *parse=CustomDevice;
+ int tmp;
PDEBUG(DBG_PROBE, "CustomDevice=%s", CustomDevice);
sscanf(parse,"%d",&usbvision_device_data[0].Interface);
goto2next(parse);
PDEBUG(DBG_PROBE, "Interface=%d", usbvision_device_data[0].Interface);
- sscanf(parse,"%d",&usbvision_device_data[0].Codec);
+ sscanf(parse,"%hd",&usbvision_device_data[0].Codec);
goto2next(parse);
PDEBUG(DBG_PROBE, "Codec=%d", usbvision_device_data[0].Codec);
- sscanf(parse,"%d",&usbvision_device_data[0].VideoChannels);
+ sscanf(parse,"%d",&tmp);
+ usbvision_device_data[0].VideoChannels = tmp;
goto2next(parse);
PDEBUG(DBG_PROBE, "VideoChannels=%d", usbvision_device_data[0].VideoChannels);
}
goto2next(parse);
- sscanf(parse,"%d",&usbvision_device_data[0].AudioChannels);
+ sscanf(parse,"%d",&tmp);
+ usbvision_device_data[0].AudioChannels = tmp;
goto2next(parse);
PDEBUG(DBG_PROBE, "AudioChannels=%d", usbvision_device_data[0].AudioChannels);
sscanf(parse,"%d",&radio);
usbvision_device_data[0].Tuner=(tuner?1:0);
goto2next(parse);
PDEBUG(DBG_PROBE, "Tuner=%d", usbvision_device_data[0].Tuner);
- sscanf(parse,"%d",&usbvision_device_data[0].TunerType);
+ sscanf(parse,"%hhu",&usbvision_device_data[0].TunerType);
goto2next(parse);
PDEBUG(DBG_PROBE, "TunerType=%d", usbvision_device_data[0].TunerType);
- sscanf(parse,"%d",&usbvision_device_data[0].Vin_Reg1);
+ sscanf(parse,"%d",&tmp);
+ if(tmp>0) {
+ usbvision_device_data[0].Vin_Reg1_override = 1;
+ usbvision_device_data[0].Vin_Reg1 = tmp&0xff;
+ }
goto2next(parse);
PDEBUG(DBG_PROBE, "Vin_Reg1=%d", usbvision_device_data[0].Vin_Reg1);
- sscanf(parse,"%d",&usbvision_device_data[0].Vin_Reg2);
+ sscanf(parse,"%d",&tmp);
+ if(tmp>0) {
+ usbvision_device_data[0].Vin_Reg2_override = 1;
+ usbvision_device_data[0].Vin_Reg2 = tmp&0xff;
+ }
goto2next(parse);
PDEBUG(DBG_PROBE, "Vin_Reg2=%d", usbvision_device_data[0].Vin_Reg2);
- sscanf(parse,"%d",&usbvision_device_data[0].X_Offset);
+ sscanf(parse,"%hd",&usbvision_device_data[0].X_Offset);
goto2next(parse);
PDEBUG(DBG_PROBE, "X_Offset=%d", usbvision_device_data[0].X_Offset);
- sscanf(parse,"%d",&usbvision_device_data[0].Y_Offset);
+ sscanf(parse,"%hd",&usbvision_device_data[0].Y_Offset);
goto2next(parse);
PDEBUG(DBG_PROBE, "Y_Offset=%d", usbvision_device_data[0].Y_Offset);
- sscanf(parse,"%d",&usbvision_device_data[0].Dvi_yuv);
+ sscanf(parse,"%d",&tmp);
+ if(tmp>0) {
+ usbvision_device_data[0].Dvi_yuv_override = 1;
+ usbvision_device_data[0].Dvi_yuv = tmp&0xff;
+ }
PDEBUG(DBG_PROBE, "Dvi_yuv=%d", usbvision_device_data[0].Dvi_yuv);
//add to usbvision_table also