diff options
-rw-r--r-- | perl-install/detect_devices.pm | 1 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 9cd990c68..192901043 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1046,6 +1046,7 @@ sub isLaptop() { arch() =~ /ppc/ ? get_mac_model() =~ /Book/ : computer_info()->{isLaptop} + || glob_("/sys/bus/acpi/devices/PNP0C0D:*") #- ACPI lid button || (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') || diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 406bb7d13..46a795f05 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -12,6 +12,8 @@ Version 10.21 - 25 March 2008 - use umask=0 by default on vfat (#39315) - root/user password: o force the password to be utf8 (#23273) +- detect as laptop systems with ACPI lid button + (i.e. if /sys/bus/acpi/devices/PNP0C0D:* exists) Version 10.19 - 21 March 2008 |