All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Coatti <fabio.coatti@gmail.com>
To: joeyli <jlee@suse.com>
Cc: linux-kernel@vger.kernel.org, Bob Moore <robert.moore@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Feng Tang <feng.tang@intel.com>, Len Brown <len.brown@intel.com>,
	MaChen@suse.com
Subject: Re: rf kill button not working on hp folio 9470m - bisected
Date: Mon, 14 Jan 2013 08:59:55 +0100	[thread overview]
Message-ID: <1668082.DN2GrHmhxH@calvin> (raw)
In-Reply-To: <1358131527.6113.428.camel@linux-s257.site>

[-- Attachment #1: Type: text/plain, Size: 3540 bytes --]

In data lunedì 14 gennaio 2013 10:45:27, joeyli ha scritto:

> > Hi all,
> > on my laptop (hp folio 9470m), the rfkill button works fine on 3.6.10
> 
> Does rfkill button means Fn+F12 key on your machine?

No, it is a "out of layout" key (this laptop has two of them, rfkill and mute) 
under Fn+Fx there is several other functions, some working and some not, but 
this is another story :)

> 
> > and 11 (don't know about older kernels), but is not working on 3.7.X
> > (latest tested is 3.7.2).
> > On non working kernel, log shows the following messages:
> > 
> > Jan 13 17:34:33 calvin kernel: atkbd serio0: Unknown key pressed
> > (translated set 2, code 0xf8 on isa0060/serio0).
> > Jan 13 17:34:33 calvin kernel: atkbd serio0: Use 'setkeycodes e078
> > <keycode>' to make it known.
> 
> Looks your machine emit e078 code when it switch to Windows 8 code path.
> Please tail your log and press Fn key for make sure it emit e078 code.
>

Confirmed:

Jan 14 08:51:55 calvin kernel: atkbd serio0: Unknown key pressed (translated 
set 2, code 0xf8 on isa0060/serio0).
Jan 14 08:51:55 calvin kernel: atkbd serio0: Use 'setkeycodes e078 <keycode>' 
to make it known.

 
> I didn't see e078 code in hewlett-packard keymap file in udev, currently
> it define 0xD7 to be the wlan key.
> 
> > Jan 13 17:34:33 calvin kernel: atkbd serio0: Unknown key released
> > (translated set 2, code 0xf8 on isa0060/serio0).
> > Jan 13 17:34:33 calvin kernel: atkbd serio0: Use 'setkeycodes e078
> > <keycode>' to make it known.
> > Jan 13 17:34:34 calvin kernel: atkbd serio0: Unknown key pressed
> > (translated set 2, code 0xf8 on isa0060/serio0).
> > Jan 13 17:34:34 calvin kernel: atkbd serio0: Use 'setkeycodes e078
> > <keycode>' to make it known.
> > Jan 13 17:34:35 calvin kernel: atkbd serio0: Unknown key released
> > (translated set 2, code 0xf8 on isa0060/serio0).
> > Jan 13 17:34:35 calvin kernel: atkbd serio0: Use 'setkeycodes e078
> > <keycode>' to make it known.
> > 
> > On working kernels, same logs shows the following lines:
> > 
> > Jan 13 22:55:59 calvin kernel: atkbd serio0: Unknown key pressed
> > (translated set 2, code 0xf8 on isa0060/serio0).
> > Jan 13 22:55:59 calvin kernel: atkbd serio0: Use 'setkeycodes e078
> > <keycode>' to make it known.
> > Jan 13 22:55:59 calvin NetworkManager[4823]: <info> WiFi now enabled
> > by radio killswitch
> > Jan 13 22:55:59 calvin NetworkManager[4823]: <info> (wlan0): bringing up
> > device. Jan 13 22:55:59 calvin kernel: iwlwifi 0000:03:00.0: L1 Disabled;
> > Enabling L0S Jan 13 22:55:59 calvin kernel: iwlwifi 0000:03:00.0: Radio
> > type=0x2-0x1-0x0 Jan 13 22:55:59 calvin kernel: atkbd serio0: Unknown key
> > released
> > (translated set 2, code 0xf8 on isa0060/serio0).
> 
> hmm... this machine changed wlan0 status on working kernel and also emit
> e078 code like on Windows 8 mode.
> 
> Then I think your machine control RF power by different way but BIOS,
> maybe wmi or other ways.
> 
> Please attached on your DSDT, hope OEM do those things through ACPI.

Done; I've tried to recompile it with iasl and I've got hundreds of errors, 
not a good sign I fear. I'll try to upgrade the firmware, even last time I 
tried the operation failed.


> 
> Please try acpi_osi="!Windows 2012", it will switch back to Windows 2009
> mode. Then look at does things better than before?
> 
> 
> Thanks a lot!
> Joey Lee

Will do that right now and report asap. 
Many thanks for the answer!
 
--
Fabio

[-- Attachment #2: dsdt.dat.gz --]
[-- Type: application/x-gzip, Size: 49280 bytes --]

  reply	other threads:[~2013-01-14  8:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 22:11 rf kill button not working on hp folio 9470m - bisected Fabio Coatti
2013-01-14  2:45 ` joeyli
2013-01-14  7:59   ` Fabio Coatti [this message]
2013-01-14  8:07     ` Fabio Coatti

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=1668082.DN2GrHmhxH@calvin \
    --to=fabio.coatti@gmail.com \
    --cc=MaChen@suse.com \
    --cc=feng.tang@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jlee@suse.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.moore@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.