From 9e6d5347318da13047abc379cfc0ddf65c87b628 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 31 Jul 2002 09:20:36 +0000 Subject: - bump version number - fix pcmcia network card detection (no more unknown) - fix scsi detection : o fix SCSI controllers detection (no more unknown) o fix misdetection of scsi devices as scsi host adapter o fix double scsi devices detection (both unknown and real category) - update TODO list --- perl-install/harddrake/TODO | 18 +++++++++++------- perl-install/harddrake/data.pm | 8 ++++---- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/TODO b/perl-install/harddrake/TODO index 9f5edc147..71f54aad4 100644 --- a/perl-install/harddrake/TODO +++ b/perl-install/harddrake/TODO @@ -3,6 +3,7 @@ * Harddrake TODO: ** fixes *** timeout on dialogs in service +*** kill config tool on exit ! ** wishes *** non needed stuff to run X must be posponed after X11 startup @@ -16,12 +17,6 @@ *** config module (module options configuration button) => expert only *** embedded mode *** add updfstab as in kudzu -*** detect pcimcia: - - foreach (detect_devices::pcmcia_probe()) { - printf "m: %-15s t: %-20s d: %-12s d: %s\n", - $_->{driver}, $_->{type}, $_->{device}, $_->{description} - } *** detect isapnp devices *** window with sliders so that we can resize *** check4modem @@ -93,8 +88,17 @@ sub disconnect($$) { "Unknown/Others", +* #################################################################### + +* Suggestions +** a dialog in harddrake to select the driver of choice. +easy way: greping pcitable for all known oss modules and alsa' snd-* +ones, then build a hand hash (oss<->alsa modules names) that enable to +get alsa or (respectively oss) module from oss (respectively alsa) +module. +then offering a window to switch from alsa to oss. -* Suggestion +** various Subject: Re: [Cooker] Optional ALSA Support for SB Live! From: Fabrice FACORAT To: cooker@linux-mandrake.com diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 24df932d9..f0fbcc2a3 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -6,13 +6,13 @@ use MDK::Common; use class_discard; our (@ISA, @EXPORT_OK) = (qw(Exporter), (qw(version tree))); -our ($version, $sbindir, $bindir) = ("1.1.6", "/usr/sbin", "/usr/bin"); +our ($version, $sbindir, $bindir) = ("1.1.7", "/usr/sbin", "/usr/bin"); my @devices = detect_devices::probeall(1); # Update me each time you handle one more devices class (aka configurator) sub unknown { - grep { ($_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_IDE|BRIDGE|NETWORK/) && ($_->{driver} ne 'scanner') } @devices; + grep { ($_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_(IDE|SCSI)|BRIDGE|NETWORK/) && ($_->{driver} ne 'scanner') && $_->{type} ne 'network'} @devices; } @@ -47,7 +47,7 @@ our @tree = my @usbnet = qw/CDCEther catc kaweth pegasus usbnet/; # should be taken from detect_devices.pm or modules.pm. it's identical - grep { $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) } @devices}], + grep { $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) || $_->{type} eq 'network' } @devices}], # ["","Tokenring cards", "Ethernetcard.png", "", \&detect_devices::getNet], # ["","FDDI cards", "Ethernetcard.png", "", \&detect_devices::getNet], # ["","Modem", "Modem.png", "", \&detect_devices::getNet], @@ -66,7 +66,7 @@ our @tree = ["JOYSTICK","Joystick", "joystick.png", "", sub {}], ["ATA_STORAGE","(E)IDE/ATA controllers", "ide_hd.png", "", sub {grep { $_->{media_type} =~ 'STORAGE_IDE' } @devices}], - ["SCSI_CONTROLLER","SCSI controllers", "scsi.png", "", \&detect_devices::getSCSI], + ["SCSI_CONTROLLER","SCSI controllers", "scsi.png", "", sub {grep { $_->{media_type} =~ 'STORAGE_SCSI' } @devices}], ["USB_CONTROLLER","USB controllers", "usb.png", "", sub {grep { $_->{media_type} =~ 'SERIAL_USB' } @devices}], ["SMB_CONTROLLER","SMBus controllers", "usb.png", "", sub {grep { $_->{media_type} =~ 'SERIAL_SMBUS' } @devices}], ); -- cgit v1.2.1