summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* remove '-' before description for IBM eide hard disksThierry Vignaud2002-07-231-1/+1
|
* g Move 2: partition table: hierarchyThierry Vignaud2002-07-231-2/+2
|
* when $::noauto, hardwire no probing in detect_devices::probeall to ensure no ↵Pascal Rigaux2002-07-221-0/+3
| | | | probing is never done
* help perl_checkerPascal Rigaux2002-07-191-1/+1
|
* handling devfs names for cdrom/hds on ide/scsi (needs testing)Pascal Rigaux2002-07-191-7/+34
|
* remove debugging info that slipped inPascal Rigaux2002-07-111-4/+1
|
* cleanup usbMicePascal Rigaux2002-07-111-3/+6
|
* cleanupPascal Rigaux2002-07-101-40/+34
|
* enhance cohenrency: step 1Thierry Vignaud2002-07-101-9/+47
| | | | | | | | | | | | | | - ide and scsi devices use channel rather than bus to store their physical connection, which is more logic (at least for eide) - all devices have their connection bus in bus field, not in bus for {pci,usb,...} and interface_type for {scsi,eide,other_block_devices} - detect_devices:getIDE() : add eide_hds hash in order to be able to split info field between model and vendor - harddrake::ui : code reduction allowed by the above changes
* rewrite getSCSI, now handling scannersPascal Rigaux2002-07-091-26/+30
|
* smarter raidAutoStartRaidtabPascal Rigaux2002-07-071-4/+7
|
* great new raidAutoStartRaidtab allowing to handle existing software raidsPascal Rigaux2002-07-071-8/+20
| | | | | | even when RAID_AUTORUN is not supported by kernel (which is the case for us since md.o is a not builtin the kernel)
* remove detect_devices::check (including the annoying log about no modules ↵Pascal Rigaux2002-07-071-7/+0
| | | | for the pci entry)
* adapt to new modules.pmPascal Rigaux2002-07-041-11/+2
|
* add tapes() for harddrake2Thierry Vignaud2002-07-041-0/+1
|
* updated usbMice to take care of device declared as Mouse:USB in usbtable (wasFrancois Pons2002-04-261-1/+2
| | | | | not the case !)
* Reverted parts of the last change, they broke in non-DevFS environments (e. ↵Till Kamppeter2002-03-111-69/+51
| | | | g. during installation).
* Made USB printer auto-detection more stable and reliable.Till Kamppeter2002-03-101-46/+69
|
* (zips__faking_ide_scsi): fix returned value in standalonePascal Rigaux2002-03-071-10/+9
| | | | | (getSCSI): don't call isFloppyOrHD for ZIPs (lowers the number of kernel error when there is no floppy)
* better jaz detection (thanks to Randy Welch)Pascal Rigaux2002-03-021-1/+1
|
* fix ide zip name when there are already some other SCSI drivesPascal Rigaux2002-03-021-3/+4
|