[Debian-eeepc-devel] Bug#485236: eeepc-acpi-scripts: Fn+F2 sometimes fails to switch wireless on
Niccolo Rigacci
niccolo at rigacci.org
Sun Jun 8 19:04:05 UTC 2008
Package: eeepc-acpi-scripts
Version: 1.0.2
Severity: normal
Tags: patch
Sometimes - when you hit Fn+F2 to switch the wireless on - the
led blinks for a moment and then goes back to off.
I solved the problem adding a "sleep 1" after the modprobe command
in the /etc/acpi/actions/wireless.sh script:
...
modprobe ath_pci
sleep 1
if ! ifconfig ath0 up; then exec $0 off; fi
...
A more elegant solution will be a loop while ifconfig fails, with
a longer timeout.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-eeepc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages eeepc-acpi-scripts depends on:
ii acpi-support-base 0.109-1 scripts for handling base ACPI eve
ii acpid 1.0.6-9 Utilities for using ACPI power man
ii alsa-utils 1.0.16-1 ALSA utilities
ii pm-utils 1.1.0-1 utilities and scripts for power ma
eeepc-acpi-scripts recommends no packages.
-- no debconf information
More information about the Debian-eeepc-devel
mailing list