X86 platform drivers
 help / color / mirror / Atom feed
From: Murray Campbell <murray@sonology.net>
To: platform-driver-x86@vger.kernel.org
Subject: asus-wmi: wlan rfkill on eee pc 1015PEM possible regression?
Date: Thu, 7 Mar 2013 16:26:49 -0800	[thread overview]
Message-ID: <20130308002649.GA4232@wavelet> (raw)

Hi,

I have an ASUS Eee PC 1015PEM and, on upgrading from kernel 3.5.7 to
3.6.11 noticed that the rfkill behaviour stopped working the way I was
expecting.

I have git-bisect-ed it down to the following commit:

a50bd128f28cf81c1250874fc53728e113f12957

which certainly looks relevant.

I first noticed the problem because the WLAN rfkill toggle button
(Fn+F2) stopped toggling the WLAN LED.  Also, it won't enable the WLAN
if it is disabled in the BIOS.

Prior to the change 'rfkill list' would show two devices: 0: "asus-wlan"
and 1: "phy0".  Using either the button or 'rfkill (un)block all' would
toggle the blocked state from "no,no; no,no" to "yes,no; yes,yes" where
each pair is soft/hard and the first pair is the asus-wlan, the second
the phy0.  Each time the phy0 hard block status would take a second or
two to change.

This worked regardless of the state in the BIOS and would appropriately
toggle the WLAN LED.

After the commit the two devices are switched: phy0 is number 0 and
asus-wlan is number 1.  The hard block status of both devices is
impossible to change with either 'rfkill' or the button.  The asus-wlan
device is always not hard-blocked,  the phy0 hard-block always keeps the
status assigned in the BIOS.  The soft-block state changes
appropriately.  The WLAN LED never changes.

If the WLAN is disabled in the BIOS it is never possible to enable it
without a reboot and I am wondering if the device is ever switched off
properly if it is enabled in the BIOS.

Is this expected behaviour?  If not I am more than willing to
investigate further if anyone can suggest a line of enquiry.

Thank you,

Murray Campbell <murray@sonology.net>

                 reply	other threads:[~2013-03-08  0:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20130308002649.GA4232@wavelet \
    --to=murray@sonology.net \
    --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