Comment 4 for bug 26181

Revision history for this message
Paul Sladen (sladen) wrote : ipw2200 power/state

Patching '/etc/acpi/wireless.sh':

--- /etc/acpi/wireless.sh~ 2005-09-02 20:12:42.000000000 +0300
+++ /etc/acpi/wireless.sh 2006-01-16 01:22:18.000000000 +0200
@@ -5 +5,2 @@
- if [ -d $DEVICE/wireless ]; then
+ if [ -d $DEVICE/wireless ] ||
+ grep -qa "^ *$(basename $DEVICE): " /proc/net/wireless; then

fixes that for the moment. But the following command that attempts to put the wireless card to sleep hangs (for the ipw2200):

echo -n 3 > $DEVICE/device/power/state

doing:

modprobe -r ipw2200

works.