| Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind). |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-21-2013, 07:53 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Rep:
|
resuming after pm-suspend produce an rfkill hard block on WLAN0
I tried pm-suspend on my Dell Inspiron 17R laptop running Slackware 14. After resuming, most everything was fine, except that wlan0 has a hard block. If I do rfkill list, I get:
0: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
I tried "rfkill unblock wlan" and even "rfkill unblock all", but neither work. So... at this point, I have no connection to the internet. (I'm writing this from another computer...)
This is the 1st time I've tried pm-suspend. By the way, I use wpa_supplicant to bring up wlan0. I've tried to bring restart the network but that didn't work:
/etc/rc.d/rc.inet1 restart
SIOCSIFFLAGS: Operation not possible due to RF-kill
rfkill: WLAN hard blocked
rfkill: WLAN hart blocked
Could not set interface wlan0 flats: Operation not possible due to RF-kill
...
I saw elsewhere that people had downgraded dhcpcd from 5.5.5-1 back to 5.5.4-1; haven't tried that yet. Current version of dhcpcd is 5.5.6.
Any thoughts? Thanks in advance!
|
|
|
|
01-25-2013, 06:35 PM
|
#2
|
|
LQ Newbie
Registered: Jan 2013
Location: Buenos Aires, Argentina
Distribution: Slackware
Posts: 3
Rep: 
|
Hi, i have the same problem here... I have a Dell Studio 1558 with Slackware 14.0 recently installed and i can't unblock the devices. I've tried "rfkill unblock wlan/all/0" and nothing happened, so i don't have internet on my Linux.
Any help would be appreciate..
Cheers
|
|
|
|
01-26-2013, 04:31 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Original Poster
Rep:
|
Tryptophan, first, I found that on my Dell laptop, Fn<F2> would unblock both the hard and soft blocks that rfkill did. (I had to reboot or suspend/resume for them to actually unblock.) Seems that /usr/lib/pm-utils/sleep.d/49bluetooth-generic does a 'rfkill block bluetooth', which also results in both soft and hard blocks on dell-wifi, which don't seem to be unblocked with a 'rfkill unblock ...'. So I removed the execute bit on this file: chmod -x /usr/lib/pm-utils/sleep.d/49bluetooth-generic so that it's no longer called by pm-suspend.
Next, my IT person from my previous job suggested the following:
echo 'SUSPEND_MODULES="uhci_hd button ehci_hd iwlwifi"' > /etc/pm/config.d/modules.
This will result in the wifi modules to be specifically unloaded before suspend and
reloaded after resume.
Finally, I found that although wifi (wlan0) had been properly resumed, I always have to restart dhcpcd:
dhcpcd -d -t 20 wlan0
It would be nice to have this done automatically after the wifi is resumed, but I haven't been able to figure out how to do this.
The above works for me, and I thus have added the acpi hook in /etc/acpi/acpi_handler.sh:
case "2" in
...
lid) pm-suspend
;;
Hope this helps!
|
|
|
|
01-26-2013, 07:47 AM
|
#4
|
|
LQ Newbie
Registered: Jan 2013
Location: Buenos Aires, Argentina
Distribution: Slackware
Posts: 3
Rep: 
|
Wrobertz, pressing fn+F2 was enough!!. Thank you so much for your help!!  .
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|