From 341dbb85e7e447dad25770e316aba660db64afa3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 16 Oct 2002 11:51:51 +0000 Subject: -add cpus detection - update todo list - perl_checker fix --- perl-install/harddrake/TODO | 6 ++++++ perl-install/harddrake/data.pm | 3 +++ perl-install/harddrake/ui.pm | 4 ++-- perl-install/harddrake/v4l.pm | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/TODO b/perl-install/harddrake/TODO index 02e4bcff2..71cbc1d2d 100644 --- a/perl-install/harddrake/TODO +++ b/perl-install/harddrake/TODO @@ -1,7 +1,13 @@ -*- outline -*- +* drakxtools +** drakxtools* need XF-{75,100}fonts that requires XFree86 + * Harddrake TODO: ** fixes +*** configure at boot : +**** configure usb interfaces +**** switch nvidia-nv in /etc/X11/XF86Config *** non needed stuff to run X must be posponed after X11 startup **** eg: scanner/audio/printer/floppy/cdrom/tape/tv/webcam/joystick/ ... *** enable the user to force a module (isa, isapnp, ...) diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index f34d3a7a9..e39b1d3ae 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -38,6 +38,9 @@ our @tree = ["AUDIO","Soundcard", "sound.png", "$sbindir/draksound", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_AUDIO' } @devices}, 0 ], ["WEBCAM","Webcam", "webcam.png", "", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_VIDEO' && $_->{bus} ne 'PCI'} @devices }, 0 ], + ["CPU","Processors", "cpu.png", "", sub { + detect_devices::getCPUs(); + }, 0 ], ["ETHERNET","Ethernetcard", "hw_network.png", "$sbindir/drakconnect", sub { #- generic NIC detection for USB seems broken (class, subclass, #- protocol report are not accurate) so I'll need to verify against diff --git a/perl-install/harddrake/ui.pm b/perl-install/harddrake/ui.pm index b6c361cd1..4e3ba7b73 100644 --- a/perl-install/harddrake/ui.pm +++ b/perl-install/harddrake/ui.pm @@ -2,8 +2,7 @@ package harddrake::ui; use strict; -use harddrake::data; -use harddrake::sound; +require harddrake::data; use common; use my_gtk qw(:helpers :wrappers :various); use interactive; @@ -126,6 +125,7 @@ sub detect { $_->{bus_location} = join ':', map { sprintf("%lx", $i->{$_} ) } qw(bus id); } if ($Ident eq "AUDIO") { + require harddrake::sound; my $alter = harddrake::sound::get_alternative($_->{driver}); $_->{alternative_drivers} = join(':', @$alter) if $alter->[0] ne 'unknown'; } diff --git a/perl-install/harddrake/v4l.pm b/perl-install/harddrake/v4l.pm index 5e00b668d..fccce9a46 100644 --- a/perl-install/harddrake/v4l.pm +++ b/perl-install/harddrake/v4l.pm @@ -218,7 +218,7 @@ If your card is misdetected, you can force the right tuner and card types here. ] )) { - $conf{card}=$cards_lst->{$driver}{$conf{card}}; + $conf{card} = $cards_lst->{$driver}{$conf{card}}; my $options = 'radio=' . ($conf{radio} ? 1 : 0) . ' '. -- cgit v1.2.1