I am getting this issue on my new Acer laptop. The configuration is as 
follows:

 * Linux 3.6 (linux-image-3.6-trunk-amd64) which is needed for the 
   HD4000 graphics card
 * pm-utils 1.4.1-9
 * An Atheros wireless card running with the atk9k driver
   03:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless 
Network Adapter (rev 01)

And like for the original reporter, there is no 'wireless' directory in 
wlan0:

$ ls -l /sys/class/net/wlan0
lrwxrwxrwx 1 root root 0 Nov 16 01:55 /sys/class/net/wlan0 -> 
../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0

$ ls -l /sys/class/net/wlan0/
-r--r--r-- 1 root root 4096 Nov 17 21:01 addr_assign_type
-r--r--r-- 1 root root 4096 Nov 16 01:55 addr_len
-r--r--r-- 1 root root 4096 Nov 16 01:55 address
-r--r--r-- 1 root root 4096 Nov 17 21:01 broadcast
-r--r--r-- 1 root root 4096 Nov 17 21:01 carrier
-r--r--r-- 1 root root 4096 Nov 17 21:01 dev_id
lrwxrwxrwx 1 root root    0 Nov 16 01:55 device -> ../../../0000:03:00.0
-r--r--r-- 1 root root 4096 Nov 17 21:01 dormant
-r--r--r-- 1 root root 4096 Nov 17 21:01 duplex
-rw-r--r-- 1 root root 4096 Nov 17 21:01 flags
-rw-r--r-- 1 root root 4096 Nov 17 21:01 ifalias
-r--r--r-- 1 root root 4096 Nov 16 01:55 ifindex
-r--r--r-- 1 root root 4096 Nov 17 21:01 iflink
-r--r--r-- 1 root root 4096 Nov 17 21:01 link_mode
-rw-r--r-- 1 root root 4096 Nov 17 21:01 mtu
-rw-r--r-- 1 root root 4096 Nov 17 21:01 netdev_group
-r--r--r-- 1 root root 4096 Nov 17 21:01 operstate
lrwxrwxrwx 1 root root    0 Nov 16 01:55 phy80211 -> ../../ieee80211/phy0
drwxr-xr-x 2 root root    0 Nov 17 21:01 power
drwxr-xr-x 7 root root    0 Nov 17 21:01 queues
-r--r--r-- 1 root root 4096 Nov 17 21:01 speed
drwxr-xr-x 2 root root    0 Nov 17 21:01 statistics
lrwxrwxrwx 1 root root    0 Nov 16 01:55 subsystem -> 
../../../../../../class/net
-rw-r--r-- 1 root root 4096 Nov 17 21:01 tx_queue_len
-r--r--r-- 1 root root 4096 Nov 16 01:55 type
-rw-r--r-- 1 root root 4096 Nov 16 01:55 uevent


Note that one side-effect of the power-save mode is frequent high 
latency when using ssh. So it would be nice to at least avoid that while 
on A/C power.

For now I simply removed the 'wireless' directory check from the script.

-- 
Francois Gouget <fgou...@free.fr>              http://fgouget.free.fr/
A particle is an irreducible representation of the Poincaré Group - Eugene 
Wigner

Reply via email to