summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
Commit message (Collapse)AuthorAgeFilesLines
* - 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
|
* old hp scanners report themselves as "Processor"s as :Thierry Vignaud2002-08-081-1/+1
| | | | | | | | - tested in hw lab - written in linux/include/scsi/scsi.h: "TYPE_PROCESSOR.*HP scanners use this" - reported by sane-find-sane: "old HP scanners use the CPU id"
* make perl_checker happyPascal Rigaux2002-08-061-3/+3
|
* s/__END__/1;Thierry Vignaud2002-08-051-1/+1
|
* kill "wonderful perl"Thierry Vignaud2002-08-051-5/+1
|
* Accelerated network scanning for printers by applying "nmap" only to ↵Till Kamppeter2002-08-041-5/+81
| | | | | | | | machines which answered to a broadcast ping before. Completed network/SMB printer auto-detection for recommended mode. Started network/SMB printer auto-detection for expert mode.
* Added facility to scan network for SMB/Windows-hosted printers.Till Kamppeter2002-08-011-9/+61
|
* make perl_checker happy again (replacing "{xx}->{yy}" by "{xx}{yy}")Pascal Rigaux2002-07-311-5/+5
|
* Added subroutines for ethernet printer auto-detection.Till Kamppeter2002-07-311-0/+117
|
* replace "$foo" with $fooPascal Rigaux2002-07-311-2/+2
|
* make new perl_checker happyPascal Rigaux2002-07-311-4/+4
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-11/+13
|
* use usb keyboard bCountryCode to choose the right keyboardPascal Rigaux2002-07-301-2/+12
|
* use add_probeall for scsi_hostadapter, not add_alias (may fix a bug reported ↵Pascal Rigaux2002-07-271-2/+2
| | | | by Jure Repinc)
* Added detection of trhe serial number of a USB printer (in preparation for ↵Till Kamppeter2002-07-261-1/+6
| | | | HPOJ 0.9 support in printerdrake).
* handle computers with no /proc/scsi/scsiPascal Rigaux2002-07-231-1/+1
|