SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
Εύρηκα! 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.