From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 459B3138330 for ; Tue, 13 Sep 2016 12:08:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 506B7E0B1B; Tue, 13 Sep 2016 12:08:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E864BE0A61 for ; Tue, 13 Sep 2016 12:08:46 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id B61B533FD3F for ; Tue, 13 Sep 2016 12:08:45 +0000 (UTC) Subject: Re: [gentoo-user] Wlan disappeared after suspend To: gentoo-user@lists.gentoo.org References: <20160913082326.GA38638@becker.bs.l> From: Michael Orlitzky Message-ID: <72ddea8d-cf3d-74a3-3700-9ce6397be500@gentoo.org> Date: Tue, 13 Sep 2016 08:08:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20160913082326.GA38638@becker.bs.l> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: e2f07175-11ae-4e49-a86c-67bcbe1f6fba X-Archives-Hash: 8573773e95847f61c03b1f4f0e34b961 On 09/13/2016 04:23 AM, Bertram Scharpf wrote: > Hi, > > after suspend, my wlan is dead and it cannot be restarted.... > > What do I have to try? I had this same problem with the ath5k driver (still do, I bet) on my Thinkpad x61s. What happens if you run "sudo rfkill list" after you resume from suspend? Does it show that the wireless is "hard blocked"? In my case, it was, so I tried something stupid. I patched my kernel to answer "no" to the question "is rfkill enabled?"... and it worked! --- a/drivers/net/wireless/ath/ath5k/rfkill.c 2012-05-28 21:16:04.000000000 -0400 +++ b/drivers/net/wireless/ath/ath5k/rfkill.c 2012-05-28 21:17:17.000000000 -0400 @@ -66,10 +66,8 @@ static bool ath5k_is_rfkill_set(struct ath5k_hw *ah) { - /* configuring GPIO for input for some reason disables rfkill */ - /*ath5k_hw_set_gpio_input(ah, ah->rf_kill.gpio);*/ - return ath5k_hw_get_gpio(ah, ah->rf_kill.gpio) == - ah->rf_kill.polarity; + /* Hard code this to work around a stupid bug. */ + return 0; } static void Maybe you can do the same thing for your driver, if rfkill is actually the issue. I have a possibly outdated writeup of the issue here: http://michael.orlitzky.com/articles/thinkpad_x61s_ath5k_rfkill_issues.php