Atheros Wifi Card turning itself off when the laptop is off

Hi guys.

So, I keep having more than usual problems with wifi. Anyway, very often, my wifi is running normally, but then, I turn the laptop of (shutdown), and unplug the power chord, and when i turn the laptop on in the morning, the wifi card is non-existent. The system doesn’t recognize it + wifi on/off hotkeys (fn+hotkey keyboard shortcut), are pretty much the only ones that don’t work. The volume & brightness ones do. When the wifi card is in such state (as in off, not recognized, whatever), not even lspci can recognize it, otherwise it finds it. It just projects it ‘dead’, as if it’s not in at all. Now, this problem was a really big pest on pre 3.2 kernels, and i haven’t had this issue often until recently, so i don’t know what’s causing it, because my wifi card should be supported with the ath5k driver. Anyway, here’s my hardware info:

openSUSE:/home/nenad # lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
04:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 11)
08:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
08:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
08:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
08:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
08:00.4 System peripheral: JMicron Technology Corp. xD Host Controller


And here’s the boot log…

  OK  ] Started Show Plymouth Boot Screen.   OK  ] Reached target Paths.   OK  ] Reached target Basic System.   OK  ] Found device Hitachi_HTS54505.   OK  ] Started dracut initqueue hook.          Starting dracut pre-mount hook...   OK  ] Reached target Remote File Systems (Pre).   OK  ] Reached target Remote File Systems.   OK  ] Started dracut pre-mount hook.          Starting File System Check on /dev/disk/by-uuid/3e0d1ebb-cb90-46e2-bd9d-b658fdef563f...   OK  ] Started File System Check on /dev/disk/by-uuid/3e0d1ebb-cb90-46e2-bd9d-b658fdef563f.          Mounting /sysroot...   OK  ] Mounted /sysroot.   OK  ] Reached target Initrd Root File System.          Starting Reload Configuration from the Real Root...   OK  ] Started Reload Configuration from the Real Root.   OK  ] Reached target Initrd File Systems.   OK  ] Reached target Initrd Default Target.  Welcome to openSUSE 13.2 (Harlequin) (x86_64)!    OK  ] Stopped Switch Root.   OK  ] Stopped target Switch Root.   OK  ] Stopped target Initrd File Systems.          Stopping File System Check on /dev/disk/by-uuid/3e0d1ebb-cb90-46e2-bd9d-b658fdef563f...   OK  ] Stopped File System Check on /dev/disk/by-uuid/3e0d1ebb-cb90-46e2-bd9d-b658fdef563f.   OK  ] Stopped target Initrd Root File System.          Starting Collect Read-Ahead Data...          Starting Replay Read-Ahead Data...   OK  ] Created slice system-getty.slice.   OK  ] Created slice User and Session Slice.   OK  ] Reached target System Time Synchronized.   OK  ] Reached target Remote File Systems (Pre).          Starting Create dynamic rule for /dev/root link...   OK  ] Reached target Slices.   OK  ] Listening on /dev/initctl Compatibility Named Pipe.   OK  ] Listening on Delayed Shutdown Socket.   OK  ] Set up automount Arbitrary Executable File Formats File System Automount Point.          Mounting Debug File System...   OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.   OK  ] Reached target Remote File Systems.          Stopping Journal Service...   OK  ] Stopped Journal Service.          Starting Journal Service...   OK  ] Started Journal Service.          Mounting POSIX Message Queue File System...   OK  ] Reached target Paths.          Starting Create list of required static device nodes for the current kernel...          Mounting Huge Pages File System...   OK  ] Listening on Device-mapper event daemon FIFOs.          Starting Device-mapper event daemon...   OK  ] Listening on LVM2 metadata daemon socket.          Starting LVM2 metadata daemon...          Expecting device dev-disk-by\x2duuid-1224b806\x2d1714\x2d4b32\x2d911e\x2d059b3f7f6396.device...   OK  ] Listening on udev Kernel Socket.   OK  ] Listening on udev Control Socket.          Starting udev Coldplug all Devices...          Expecting device dev-disk-by\x2duuid-008d4a19\x2da15d\x2d4155\x2da9ae\x2dc5fed93f7c42.device...   OK  ] Started Collect Read-Ahead Data.   OK  ] Started Create list of required static device nodes for the current kernel.          Starting Create static device nodes in /dev...   OK  ] Started Replay Read-Ahead Data.          Starting Load Kernel Modules...          Starting File System Check on Root Device...   OK  ] Started Device-mapper event daemon.   OK  ] Started LVM2 metadata daemon.   OK  ] Started udev Coldplug all Devices.          Starting udev Wait for Complete Device Initialization...   OK  ] Started Load Kernel Modules.          Starting Apply Kernel Variables...   OK  ] Started Apply Kernel Variables.   OK  ] Mounted Debug File System.   OK  ] Mounted POSIX Message Queue File System.   OK  ] Mounted Huge Pages File System.   OK  ] Started Create dynamic rule for /dev/root link.   OK  ] Started File System Check on Root Device.          Starting Remount Root and Kernel File Systems...   OK  ] Started Create static device nodes in /dev.          Starting udev Kernel Device Manager...   OK  ] Started udev Kernel Device Manager.   OK  ] Started Remount Root and Kernel File Systems.          Starting Load/Save Random Seed...   OK  ] Reached target Local File Systems (Pre).   OK  ] Started udev Wait for Complete Device Initialization.          Starting Activation of LVM2 logical volumes...   OK  ] Created slice system-systemd\x2dbacklight.slice.          Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...   OK  ] Started Load/Save Random Seed.          Starting Entropy Daemon based on the HAVEGE algorithm...   OK  ] Started Entropy Daemon based on the HAVEGE algorithm.   OK  ] Started Load/Save Screen Backlight Brightness of backlight:acpi_video0.   OK  ] Created slice system-systemd\x2drfkill.slice.          Starting Load/Save RF Kill Switch Status of rfkill0...          Starting Load/Save RF Kill Switch Status of rfkill1...   OK  ] Reached target Bluetooth.   OK  ] Reached target Sound Card.   OK  ] Started Load/Save RF Kill Switch Status of rfkill0.   OK  ] Started Load/Save RF Kill Switch Status of rfkill1.          Starting Load/Save RF Kill Switch Status of rfkill2...   OK  ] Started Load/Save RF Kill Switch Status of rfkill2.   OK  ] Started Activation of LVM2 logical volumes.   OK  ] Reached target Encrypted Volumes.          Starting Activation of LVM2 logical volumes...   OK  ] Started Activation of LVM2 logical volumes.   OK  ] Found device Hitachi_HTS54505.          Activating swap /dev/disk/by-uuid/1224b806-1714-4b32-911e-059b3f7f6396...   OK  ] Activated swap /dev/disk/by-uuid/1224b806-1714-4b32-911e-059b3f7f6396.   OK  ] Reached target Swap.   OK  ] Found device Hitachi_HTS54505.          Starting File System Check on /dev/disk/by-uuid/008d4a19-a15d-4155-a9ae-c5fed93f7c42...   OK  ] Started File System Check on /dev/disk/by-uuid/008d4a19-a15d-4155-a9ae-c5fed93f7c42.          Mounting /home...   OK  ] Mounted /home.   OK  ] Reached target Local File Systems.          Starting Shadow /etc/init.d/boot.localfs...   OK  ] Started Shadow /etc/init.d/boot.localfs.          Starting LSB: Set default boot entry if called...          Starting Trigger Flushing of Journal to Persistent Storage...          Starting Tell Plymouth To Write Out Runtime Data...          Starting Create Volatile Files and Directories...   OK  ] Started Trigger Flushing of Journal to Persistent Storage.   OK  ] Started LSB: Set default boot entry if called.   OK  ] Started Tell Plymouth To Write Out Runtime Data.   OK  ] Started Create Volatile Files and Directories.          Starting LSB: AppArmor initialization...          Starting Security Auditing Service...   OK  ] Started Security Auditing Service.          Starting Update UTMP about System Reboot/Shutdown...   OK  ] Started Update UTMP about System Reboot/Shutdown.   OK  ] Started LSB: AppArmor initialization.   OK  ] Reached target System Initialization.   OK  ] Listening on D-Bus System Message Bus Socket.   OK  ] Listening on Open-iSCSI iscsid Socket.   OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.   OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.   OK  ] Reached target Sockets.   OK  ] Reached target Timers.          Starting Restore Sound Card State...   OK  ] Reached target Basic System.          Starting Machine Check Exception Logging Daemon...   OK  ] Started Machine Check Exception Logging Daemon.          Starting Avahi mDNS/DNS-SD Stack...          Starting Permit User Sessions...          Starting WPA Supplicant daemon...          Starting Modem Manager...          Starting Name Service Cache Daemon...          Starting irqbalance daemon...   OK  ] Started irqbalance daemon.          Starting /etc/init.d/boot.local Compatibility...          Starting D-Bus System Message Bus...   OK  ] Started D-Bus System Message Bus.   OK  ] Started Avahi mDNS/DNS-SD Stack.   OK  ] Started WPA Supplicant daemon.          Starting SuSEfirewall2 phase 1...   OK  ] Started Restore Sound Card State.   OK  ] Started Permit User Sessions.   OK  ] Started Name Service Cache Daemon.   OK  ] Started /etc/init.d/boot.local Compatibility.          Starting Authorization Manager...   OK  ] Reached target User and Group Name Lookups.          Starting Login Service...   OK  ] Reached target Host and Network Name Lookups.          Starting Getty on tty1...   OK  ] Started Getty on tty1.   OK  ] Reached target Login Prompts.          Starting /etc/init.d/after.local Compatibility...   OK  ] Started /etc/init.d/after.local Compatibility.          Starting X Display Manager...   OK  ] Started Login Service.   OK  ] Started Authorization Manager.   OK  ] Started Modem Manager.          Starting Locale Service...   OK  ] Started Locale Service.          Starting Accounts Service...   OK  ] Started Accounts Service.

Now, is there any way to analyze the situation when the wifi card is dead?

And i forgot to add - to make the wifi card work (for the system to turn it on) i have to do a hard reset, and pulling the power chord and battery out of the laptop, while it’s off. If i fail to do any of those two, the system doesn’t boot the wifi card.
Thanks in advance for all your tips.
REgar
ds,