You are not logged in.

#1 2013-08-02 18:17:53

sberghel
Member
Registered: 2013-02-23
Posts: 20

rfkill blocks my wifi card on suspend

When I put my laptop in suspend for the first time since booting it, rfkill blocks my wireless card. If I rfkill unblock it, then it stays unblocked (until I shut down, start up, and suspend again). Is there a way to keep it from blocking my card at all?

The laptop is an Acer Aspire S3.


Arch machines: Acer Aspire S3, Frankendesktop, netbook, obsolete Thinkpad

Offline

#2 2013-12-08 05:33:49

ddreamer
Member
Registered: 2013-06-21
Posts: 11

Re: rfkill blocks my wifi card on suspend

Hi, I used Acer Aspire S3-391

First run rfkill list
Example output of mine is

0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes
1: acer-wireless: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

To unblock, run
rfkill unblock 0
rfkill unblock 1

Of course you should run this command as root

Offline

#3 2013-12-08 07:02:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: rfkill blocks my wifi card on suspend

It shouldn't do this whatsoever and unless you have done something really funky that hasn't been indicated in your first post, this would probably constitute a bug.  In what, I am not quite sure.  I know that on my Thinkpad the thinkpad_acpi module seems to have some kind of influence over rfkill status.  So maybe acer-wmi?  Just a guess.

But in the mean time, you can use the /usr/lib/systemd/system-sleep directory to work around this.  See systemd-sleep(8) for info on how that works.  But you can basically drop a super short script in there to have it run rfkill for you upon every wake.

Offline

#4 2013-12-15 02:24:51

sberghel
Member
Registered: 2013-02-23
Posts: 20

Re: rfkill blocks my wifi card on suspend

No, I haven't done anything out of the ordinary for an Arch install. I even had to install the rfkill utility so that I could unblock my wifi; it wasn't installed the first time I suspended my computer.


Arch machines: Acer Aspire S3, Frankendesktop, netbook, obsolete Thinkpad

Offline

Board footer

Powered by FluxBB