summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
Commit message (Collapse)AuthorAgeFilesLines
* (getIDE) don't provide information when we don't have it (vendor, description)Thierry Vignaud2003-01-291-1/+1
|
* (getModem) it always return an empy hash, thus confusing harddrakeThierry Vignaud2003-01-291-1/+1
|
* software raid (mdX) can go up to md31Pascal Rigaux2003-01-291-1/+1
|
* get back serial modem detectionDamien Chaumette2003-01-241-1/+1
|
* Improve association of printers with database entries (preparation forTill Kamppeter2003-01-201-4/+11
| | | | | | | | | | | non-interactive print queue generation): - Make use of device ID strings in the Foomatic database - Association of generic printers when PDL (PCL, PCL-XL, PostScript) could be auto-detected - Cleaned up entries from manufacturer-supplied PPDs for PostScript printers to try to match model names of Foomatic entries - Bug fixes on previous association mechanism
* replace occurences of "$foo ? $foo : $bar" with "$foo || $bar"Pascal Rigaux2003-01-161-1/+1
|
* - factorize snd devices listing in detect_devices::getSoundDevices()Thierry Vignaud2003-01-151-0/+4
| | | | | | | | so that each caller is ppc aware - factorize sound slots configuration into harddrake::sound::configure_sound_slots() so that harddrake service will eventually set them at bootstrapping time
* add update-ldetect-lst after install_addons.Francois Pons2003-01-091-3/+6
|
* added install_addons to install pcitable or usbtable addons.Francois Pons2003-01-081-0/+12
|
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-3/+3
| | | | "every", "partition"
* drop hasUltra66 (unused)Pascal Rigaux2002-12-131-16/+0
|
* do not use "local my $F, ...", use "local(my $F, ...) insteadPascal Rigaux2002-12-031-2/+2
|
* do not use "local *F", use run_program::get_stdout() or "local $F" insteadPascal Rigaux2002-12-031-24/+18
|
* add getSagem() to detect Sagem USB ADSL Modem.Francois Pons2002-11-251-0/+3
|
* remove doblesThierry Vignaud2002-11-251-2/+0
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-8/+5
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* fix vendor/model spliting when there's neither space nor separatorThierry Vignaud2002-11-131-1/+1
|
* - replace ... =~ 'foo' with ... =~ /foo/Pascal Rigaux2002-11-111-1/+1
| | | | | - remove unneeded parentheses for things like ... if (...)
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-4/+4
|
* - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵Pascal Rigaux2002-11-111-2/+1
| | | | | | | | instead (only pb are functions called in {...} that could use $var, none found except in commands.pm) - various small syntax enhancements to please perl_checker
* - getCPUs() : fix cpu fields parsingThierry Vignaud2002-11-071-1/+1
| | | | | | | - harddrake::detect : o describe most cpu fields o print value of skipped fields
* perl checker fixesThierry Vignaud2002-11-071-2/+2
|
* - harddrake : don't display modem when there're noneThierry Vignaud2002-11-071-6/+3
| | | | | | | | - getModem() : o simplify o remove unused variables - getSerialModem() : indent
* - have "local *FILEHANDLE" before each "open FILEHANDLE, ..."Pascal Rigaux2002-11-061-0/+1
| | | | | - use some "cat_" and "output" where possible
* make perl_checker happyPascal Rigaux2002-11-061-1/+1
|
* replace complex "unless"s with "if"sPascal Rigaux2002-11-061-1/+1
|
* please perl_checker:Pascal Rigaux2002-11-061-2/+2
| | | | | | | - local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless
* s#$_->{driver} eq 'Bad:www.linmodems.org'#$_->{driver} =~ ↵Damien Chaumette2002-10-281-1/+1
| | | | /www.linmodems.org/# to fit with ldetect
* fix "poulpy sux"Thierry Vignaud2002-10-231-3/+3
|
* change dumb return values s/@pci_modems, $serial_modem/$serial_modem, ↵Damien Chaumette2002-10-181-10/+1
| | | | @pci_modems/ (thanks to pixel)
* add some comments to getCPUsThierry Vignaud2002-10-171-1/+11
|
* getCPUs() : fix multiples cpu detectionThierry Vignaud2002-10-161-5/+3
|
* -add cpus detectionThierry Vignaud2002-10-161-38/+13
| | | | | | | - update todo list - perl_checker fix
* add Pioneer to vendors listThierry Vignaud2002-10-151-0/+42
|
* - move serial modem detection to detect_devices.pmDamien Chaumette2002-10-101-0/+42
| | | | | | - add speedtouch USB detection - add winmodem detection
* fix raidAutoStartRaidtab crushing /etc/raidtabPascal Rigaux2002-09-241-2/+4
|
* Made the association of model names obtained by auto-detection and ofTill Kamppeter2002-09-121-0/+5
| | | | | the model names in the printer database much more reliable.
* (isRemovableDrive): usb with class "Floppy (UFI)" are removable even if they ↵Pascal Rigaux2002-08-291-1/+1
| | | | are not media_type fd
* (isRemovableUsb): using "Floppy (UFI)" usb media_type is no good, use ↵Pascal Rigaux2002-08-291-10/+18
| | | | | | | | magical usb2removable instead (usb_description2removable): more entries (suggest_mount_point): use new function usb2removable
* - why did hds() did return removable drives in standalone? changing this ↵Pascal Rigaux2002-08-281-13/+70
| | | | | | | | | | | | | (this was written in 1999 so no good reason must stand) - remove the ugly isFloppyOrHD - new function get_usb_storage_info which magically links /proc/scsi/scsi entries to /proc/bus/usb/devices & usbtable one :) - new function usb_description2removable which tries to categorize the removables - new function removables returning various things - new function isRemovableUsb using usb class - new function isFloppyUsb using the usbtable "Removable:floppy" - suggest_mount_point use "Removable:xxx" entries from usbtable, or usb_description2removable()
* create detect_devices::suggest_mount_point and use it instead of doing it in ↵Pascal Rigaux2002-08-281-0/+16
| | | | fs::set_removable_mntpoints
* use mkdir_p instead of mkdirPascal Rigaux2002-08-281-1/+1
|
* set {prefix} for rd/ida/cciss/... (instead of doing it in fsedit::hds)Pascal Rigaux2002-08-271-4/+5
|
* dev_is_devfs always return false during installPascal Rigaux2002-08-261-1/+1
|
* avoid using serial_probe on non terminal device (ttyxx or ttySxx).Francois Pons2002-08-261-2/+6
|
* Let command line tools for network scanning run under "chroot $refix", ↵Till Kamppeter2002-08-241-244/+1
| | | | | | | otherwise they take ages during installation. Moved network scanning functions from "detect_devices.pm" to "printer.pm" so that they have access to the "$prefix" variable.
* add scsi Optical Device recognition (thanks to Michael Riss)Pascal Rigaux2002-08-191-1/+1
| | | | | | (without this, a hard drive following the optical device gets assigned sda whereas sda is the optical device and the hard drive really is sdb)
* (floppies): module "floppy" can fail to insmod, in that case it meansPascal Rigaux2002-08-111-1/+2
| | | | | | there's no floppy controller, so don't try fd0 & fd1 which may cause havoc (esp. segfault) (thanks to rcc)
* Scanning network for printers did not work during installation. Fixed.Till Kamppeter2002-08-101-26/+24
|
* explain the fscking "Processor" needThierry Vignaud2002-08-081-0/+2
|