summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-30 13:27:21 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-30 13:27:21 +0000
commit749b2b0413b87ea429488f4c23c052abc01d2284 (patch)
treeefedfa9c02631d6ef61e07aae786f4dc21a6896c /perl-install/detect_devices.pm
parenta95d8ff3b513327dd0bd365c4f1727b65a7cd9c5 (diff)
downloaddrakx-749b2b0413b87ea429488f4c23c052abc01d2284.tar
drakx-749b2b0413b87ea429488f4c23c052abc01d2284.tar.gz
drakx-749b2b0413b87ea429488f4c23c052abc01d2284.tar.bz2
drakx-749b2b0413b87ea429488f4c23c052abc01d2284.tar.xz
drakx-749b2b0413b87ea429488f4c23c052abc01d2284.zip
assume system is a laptop if it contains some "Intel Corporation|Mobile" devices (fix Samsung Q1U detection, #32967)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index c66706858..7857ead77 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1042,6 +1042,7 @@ sub isLaptop() {
|| (matching_desc__regexp('C&T.*655[45]\d') || matching_desc__regexp('C&T.*68554') ||
matching_desc__regexp('Neomagic.*Magic(Media|Graph)') ||
matching_desc__regexp('ViRGE.MX') || matching_desc__regexp('S3.*Savage.*[IM]X') ||
+ matching_desc__regexp('Intel Corporation\|Mobile') ||
matching_desc__regexp('ATI.*(Mobility|LT)'))
|| cat_('/proc/cpuinfo') =~ /\bmobile\b/i
|| probe_unique_name("Type") eq 'laptop'