linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: linux-wireless@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: Rfkill always soft/hard blocked upon boot
Date: Sun, 30 Jan 2011 14:46:57 +0200	[thread overview]
Message-ID: <4D455DC1.6010909@pardus.org.tr> (raw)

Hi,

How to fix or debug the $subject? You always have to press Fn+F2 to hard 
unblock the rfkill after every boot on a local brand laptop.

If the rfkill switch is really a switch which can be toggled on/off, 
this makes sense. If you keep it Off, it will come as blocked. But it 
seems that on this machine Fn+F2 controls the hard block state.

It should either be saved in somewhere (I've read that there is a 
persistent knob for rfkill drivers in sysfs which tells whether the 
state is kept in a non-volatile space across boots or not) or all soft 
and this kind of Fn+Fx hard blocks should be explicitly disabled by 
kernel during boots.

I don't have direct access to the machine but the owner will help if you 
need any output, etc.

After booting:

0: hci0: Bluetooth
         Soft blocked: no
         Hard blocked: no
1: phy0: Wireless LAN
         Soft blocked: no
         Hard blocked: yes

After pressing Fn+F2:
0: phy0: Wireless LAN
         Soft blocked: no
         Hard blocked: no
1: hci0: Bluetooth
         Soft blocked: no
         Hard blocked: no

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) (rev 01)
         Subsystem: Device 1a3b:1089
         Flags: bus master, fast devsel, latency 0, IRQ 17
         Memory at f1d00000 (64-bit, non-prefetchable) [size=64K]
         Capabilities: [40] Power Management version 3
         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [60] Express Legacy Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Virtual Channel
         Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
         Capabilities: [170] Power Budgeting <?>
         Kernel driver in use: ath9k
         Kernel modules: ath9k

This is on 2.6.37. I'm waiting for the dmesg output.

-- 
Pardus Linux
http://www.pardus.org.tr/eng

             reply	other threads:[~2011-01-30 12:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30 12:46 Ozan Çağlayan [this message]
2011-01-30 18:51 ` Rfkill always soft/hard blocked upon boot Larry Finger
2011-01-30 19:09   ` Ozan Çağlayan
2011-01-31  2:08     ` Joey Lee
2011-01-31  9:03       ` Ozan Çağlayan
2011-01-31 10:21         ` Joey Lee
2011-01-31 11:04           ` Ozan Çağlayan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D455DC1.6010909@pardus.org.tr \
    --to=ozan@pardus.org.tr \
    --cc=linux-wireless@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).