LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2012, 08:50 PM   #1
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
suspend and hibernate block wireless


Playing around with a Dell 13z... Calling suspend or hibernate (from KDE) works great, but on resume the wireless is almost entirely blocked, according to rfkill list. Unblocking it with rfkill unblock all does not remove hard blocks, so it stays off. Pressing Fn+antenna twice, though, first blocks everything, and then unblocks everything (which is the desired outcome), and wicd takes it over from there.

I can't find the place where it gets blocked. How can I have it unblocked on resume? And where is the hook for the Fn+antenna button?
 
Old 06-30-2012, 02:53 PM   #2
qweasd
Member
 
Registered: May 2010
Posts: 621

Original Poster
Rep: Reputation: Disabled
It probably won't help, but I found that Fn+antenna (Fn+F2) generates keycode 246. It does not seem to be an acpi event: I enabled event logging (in /var/log/messages), and I see things like power button and brightness buttons being pressed, but when I press Fn+antenna I just get a bunch of lines from the kernel, something from cfg80211 about updating regulatory domain, and then a bunch of frequencies. Anyway, acpid is silent. Additionally, pressing Fn+antenna also seems to disable/enable Bluetooth, although for all I care it could stay disabled.
 
Old 06-30-2012, 05:43 PM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I suggest you to use the Network Manager, it work great in combination with suspend/hibernate, as it have direct support for them via pm-utils.
 
Old 06-30-2012, 07:55 PM   #4
qweasd
Member
 
Registered: May 2010
Posts: 621

Original Poster
Rep: Reputation: Disabled
Εύρηκα! After playing with rfkill I found out that it behaves erratically when I try blocking/unblocking bluetooth. And sure enough, /usr/lib/pm-utils/sleep.d/??bluetooth* had an rfkill call to block bluetooth on sleep and unblock it on resume. The problem is, issuing either command inexplicably blocks the wireless, and the only way to fix it, as far as I can tell, is by hitting Fn+antenna.

After disabling the bluetooth hook, wireless is working on resume.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu - Can't Hibernate or Suspend orangesky Linux - Laptop and Netbook 12 01-28-2011 06:25 PM
[SOLVED] Can't suspend or hibernate 0zMe Slackware 5 06-27-2010 01:43 PM
Need to suspend or hibernate fletcher08 Linux - Newbie 1 04-18-2010 10:24 AM
Possible Suspend/HIbernate fix angryfirelord Linux - Hardware 0 07-20-2007 06:46 PM
Wireless not working after suspend/hibernate fatbeaver SUSE / openSUSE 9 04-26-2006 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration