You are not logged in.

#1 2014-01-04 20:14:00

sguertin
Member
Registered: 2013-12-23
Posts: 20

[SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

I've got a Lenovo Thinkpad X220 Tablet. Wireless works great and connects automatically when I turn it on, but doesn't reconnect after I suspend or hibernate, nor have I managed to restore it in any way except rebooting my machine. I think (mostly because of the note at https://wiki.archlinux.org/index.php/Th … 230#Kernel , and also from a few threads I found a while ago) that this is because of iwlwifi.

I'm using netctl and netctl-auto mostly. I also have wicd installed, but I don't think It's getting used. I haven't used wifi-menu since installation (a couple of weeks ago). I have not used network manager at all.

My interface name is wlp3s0.

I've mostly been using systemctl suspend, but the problem still happens for pm-utils.

I have not tried connecting to any wired networks since I installed, so I have no idea if the problem occurs there, too.

--

Here are some of the things I've tried so far:

Disconnecting form the network before sleeping, and trying to reconnect after.

Based on the note on the X230 page, I installed linux-ck.

I followed somebody's solution here: http://ubuntuforums.org/showthread.php?t=1840116&page=3 (There's an Arch user who solved this problem down the page a bit.) I tested this with pm-suspend as well as systemctl suspend.

I found out how to execute arbitrary code on sleep/wake up (scripts put in  /usr/lib/systemd/system-sleep, as explained in man systemd-sleep), but unless I figure out what commands to run to restore the wireless this isn't really useful.

--

What commands/outputs/files I should post here to give the best information?

Last edited by sguertin (2014-01-07 00:30:28)

Offline

#2 2014-01-05 03:32:11

dr.dissector
Member
Registered: 2014-01-01
Posts: 6

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

Hello sguertin,

Could you please provide the output of the following  dmesg | grep firmware

as a starting point.


I got this working OK on X230T

X220 should be very similar.

I will compare available info in the meantime.


Cheers,

dr.d

Offline

#3 2014-01-05 03:34:53

sguertin
Member
Registered: 2013-12-23
Posts: 20

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

$ dmesg | grep -i firmware
[    0.092561] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.131965] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    8.376487] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   15.022282] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3

Offline

#4 2014-01-05 06:01:55

dr.dissector
Member
Registered: 2014-01-01
Posts: 6

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

Thanks for that

X230T is configured with firmware rtlwifi/rtl8192cfw.bin

You may have an issue in the first two lines.

Have a look at this link:

http://forums.lenovo.com/t5/X-Series-Ta … 033/page/3

Discussion is related to another OS. However, the outcome seems to be that you can upgrade BIOS and see if that fixes the issue.


Cheers,

dr.d

Offline

#5 2014-01-05 18:35:20

sguertin
Member
Registered: 2013-12-23
Posts: 20

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

So before I upgrade my BIOS, which I'm seeing warnings about, I should point out that I have not and do not have this problem in any other operating systems on this computer. (I'm currently dual booting Arch/Windows7, and used to dual boot Fedora/Windows7.) This makes me think it's a problem with my Arch install, rather than the computer or BIOS. Is there some reason that an outdated bios would cause a problem with only Arch, and not Windows?

Here's some information about the BIOS:

 UEFI BIOS Version    8DET63WW (1.33 )
UEFI BIOS Date (Y-M-D)    2012-07-19
Embedded Controller Version    8DHT31WW (1.21 )

That's strange, the BIOS date is after I got the computer, and I don't think I ever upgraded it...

Offline

#6 2014-01-05 22:19:15

dr.dissector
Member
Registered: 2014-01-01
Posts: 6

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

Arch is a rolling distro and the packages used (including drivers) are a lot newer than in other distros. Hence the (possible) mismatch between driver and BIOS versions.

So, the answer is yes.

BIOS can be upgraded from Windows (should you wish to pursue that adventure). I believe this is very easily done from Lenovo System Centre or similar.

All you can do is try and see what happens (there is no guarantee).

I had a number of machines (Lenovo and otherwise) with similar issues. Upgrading BIOS when moving to a new system usually helps resolve these issues.

I hope this helps,

dr.d

Offline

#7 2014-01-06 22:39:37

sguertin
Member
Registered: 2013-12-23
Posts: 20

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

It worked!

I upgraded my bios (via Windows and the Lenovo website) to version 1.39, which was released in July of 2013, I think. Before testing, though I also removed the stuff I put in /etc/pm and /usr/lib/systemd/system-sleep.

Offline

#8 2014-01-07 00:39:40

dr.dissector
Member
Registered: 2014-01-01
Posts: 6

Re: [SOLVED] Wireless doesn't work after suspend/hibernate. (iwlwifi)

Excellent!

I am glad I could be of assistance!

Enjoy Arch!

dr.d

Offline

Board footer

Powered by FluxBB