[Pkg-acpi-devel] Bug#571703: acpi-support: Check for Asus laptop fails in asus-wireless.sh

Jakub Adam jakub.adam at ktknet.cz
Sat Feb 27 11:04:52 UTC 2010

Subject: acpi-support: Check for Asus laptop fails in asus-wireless.sh
Package: acpi-support
Version: 0.132-2
Severity: important
Tags: patch


on some (older?) Asus laptops, DMI table manufacturer string contains "ASUSTeK Computer Inc.", so the newly introduced 
check fails. Code in /etc/acpi/asus-wireless.sh should be changed to something like

if [ -x /usr/sbin/dmidecode ]; then
	VENDOR=`dmidecode -s system-manufacturer`

	# On some systems, DMI tables contain manufacturer string
	# with trailing space characters. Strip them here.
	VENDOR=`echo $VENDOR | sed 's/ *^//g'`

	test "$VENDOR" = "Asus" \
		|| test "$VENDOR" = "ASUSTeK Computer Inc." \
		|| exit 0

Observed on Asus A3AC.

Best regards

Jakub Adam

-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base            0.132-2     scripts for handling base ACPI eve
ii  acpid                        1:2.0.2-1   Advanced Configuration and Power I
ii  libc6                        2.10.2-2    GNU C Library: Shared libraries
ii  lsb-base                     3.2-23      Linux Standard Base 3.2 init scrip
ii  pm-utils                     1.3.0~rc3-2 utilities and scripts for power ma
ii  x11-xserver-utils            7.5+1+b1    X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.20-2   simple interprocess messaging syst
ii  dmidecode                     2.9-1.2    Dump Desktop Management Interface
ii  gnome-screensaver             2.28.0-2   GNOME screen saver and locker
ii  hal                           0.5.14-2   Hardware Abstraction Layer
pn  radeontool                    <none>     (no description available)
ii  vbetool                       1.1-2      run real-mode video BIOS code to a

Versions of packages acpi-support suggests:
ii  rfkill                        0.4-1      tool for enabling and disabling wi
pn  toshset                       <none>     (no description available)
ii  xinput                        1.5.0-2    Runtime configuration and test of

-- no debconf information

More information about the Pkg-acpi-devel mailing list