diff options
Diffstat (limited to 'perl-install/harddrake/v4l.pm')
| -rw-r--r-- | perl-install/harddrake/v4l.pm | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/perl-install/harddrake/v4l.pm b/perl-install/harddrake/v4l.pm index a541ff8d8..bd7c649bb 100644 --- a/perl-install/harddrake/v4l.pm +++ b/perl-install/harddrake/v4l.pm @@ -85,6 +85,8 @@ my %tuners_lst = 68 => "Philips|TUV1236D ATSC/NTSC dual in", 69 => "Tena|TNF 5335 MF", 70 => "Samsung|TCPN 2121P30A", + 71 => "Xceive xc3028", + ); @@ -327,6 +329,7 @@ my $cards_lst = { "VStream|XPert DVB-T with cx22702" => 43, "KWorld|XPert DVB-T with cx22702" => 43, "DViCO|FusionHDTV DVB-T Dual Digital" => 44, + "KWorld|HardwareMpegTV XPert" => 45, }, @@ -412,7 +415,7 @@ my $cards_lst = { "LifeView|FlyTV Platinum Mini2" => 74, "AverMedia|AVerTVHD MCE A180" => 75, "SKNet|MonsterTV Mobile" => 76, - "Pinnacle|PCTV 110i (saa7133)" => 77, + "Pinnacle|PCTV 40i/50i/110i (saa7133)" => 77, "ASUSTeK P7131 Dual" => 78, "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)" => 79, "ASUS|Digimatrix TV" => 80, @@ -420,6 +423,12 @@ my $cards_lst = { 'MSI TV@Anywhere plus' => 82, "Terratec|Cinergy 250 PCI TV" => 83, "LifeView|FlyDVB Trio" => 84, + "AverTV DVB-T 777" => 85, + "LifeView|FlyDVB-T" => 86, + "ADS Instant TV Duo Cardbus PTV331" => 87, + "Tevion|DVB-T 220RF" => 88, + "ELSA|EX-VISION 700TV" => 89, + "Kworld|ATSC110" => 90, } }; @@ -440,6 +449,7 @@ sub config { my %conf = (gbuffers => 4, card => $default, tuner => -1, radio => 0, pll => -1); + return if !$cards_lst->{$driver}; my %cards_list = %{$cards_lst->{$driver}}; my %rvs_cards_list = reverse %cards_list; @@ -463,21 +473,17 @@ sub config { if ($in->ask_from("BTTV configuration", N("For most modern TV cards, the bttv module of the GNU/Linux kernel just auto-detect the rights parameters. -If your card is misdetected, you can force the right tuner and card types here. Just select your tv card parameters if needed."), +If your card is misdetected, you can force the right tuner and card types here. Just select your TV card parameters if needed."), [ { label => N("Card model:"), val => \$conf{card}, list => [ keys %cards_list ], default => -1, sort =>1, separator => '|' }, { label => N("Tuner type:"), val => \$conf{tuner}, list => [keys %tuners_lst], format => sub { $tuners_lst{$_[0]} }, sort => 1, separator => '|' }, - { label => N("Number of capture buffers:"), val => \$conf{gbuffers}, min => $min_gbuffers, max => $max_gbuffers, sort => 1, default => 0, type => 'range', advanced => 1, help => N("number of capture buffers for mmap'ed capture") }, - if_($driver eq 'bttv', - { label => N("PLL setting:"), val => \$conf{pll}, list => [keys %pll_lst], format => sub { $pll_lst{$_[0]} }, sort => 1, default => 0, advanced =>1 }, - { label => N("Radio support:"), val => \$conf{radio}, type => "bool", text => N("enable radio support") }), ] )) { $conf{card} = $cards_list{$conf{card}}; if (my $options = join(' ', if_($driver eq 'bttv', 'radio=' . ($conf{radio} ? 1 : 0)), map { if_($conf{$_} ne -1, "$_=$conf{$_}") } qw(card pll tuner gbuffers))) { log::l(qq([harddrake::v4l] set "$options" options for $driver)); -# log::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone; +# log::explanations("modified file /etc/modprobe.conf ($options)") if $::isStandalone; $modules_conf->set_options($driver, $options); } return 1; |
