Platform-driver-x86 archive mirror
 help / color / mirror / Atom feed
From: Dennis Nezic <dennisn@dennisn.mooo.com>
To: Hans de Goede <hdegoede@redhat.com>, Armin Wolf <W_Armin@gmx.de>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: hp-wmi: info hotkey has no keycode or scancode
Date: Tue, 26 Mar 2024 12:47:16 -0400	[thread overview]
Message-ID: <ZgL8FA8lpc-El3n3@panther> (raw)
In-Reply-To: <66e0100d-dc65-4598-9def-d04a8cdfa067@redhat.com>

>>>>>>> Remember all my other fancy hotkeys "work", but they appear as regular
>>>>>>> keypress events from an "AT Translated Set 2 keyboard".

>>>>>>>> If you still cannot receive any netlink events, then i might need
>>>>>>>> to take a look at your ACPI tables
>>>>>>>> via acpidump.
>>>>>>> https://dennisn.mooo.com/stuff/dump.txt

>>>>> I took a look at your ACPI tables and it seems that the WMI device
>>>>> used by hp-wmi is indeed unused.
>>>>> What is the model name of your HP notebook?
>>> HP Compaq 8710p

>>>> Also i just noted that your notebook might contain a PNP0C32 quickstart button device.
>>>> Can you tell me the output of "cat /sys/bus/acpi/devices/PNP0C32\:00/status"?
>>> 15
>> Interesting.

>> There have been several attempts to add support for this
>> in the past. The last one being:
>> https://lore.kernel.org/platform-driver-x86/20220922182424.934340-1-lkml@vorpal.se/
>>
>> Note that in this case this also required some vender
>> specific poking in toshiba_acpi to get things to work.
>>
>> I see that the HP Compaq 8710p is about the same vintage
>> as the Toshiba Z830 on which the last attempt to do
>> something about the quick start buttons was done.
>>
>> So this might very well explain the missing button issue.
>>
>> Regards,
>>
>> Hans

> As discussed below these "quick start" buttons
> normally are only intended to wake up the laptop
> and then immediately on wakeup start a specific app
> tied to the button (IIRC). But at least on the Toshiba
> the toshiba_acpi driver's special "poke" of the firmware
> makes the button also send events normally, so that it
> can actually be used as a normal button.

Can someone roughly explain what's going on? :p On my HP Compaq laptop
all those "buttons" work, except that one "info" one. How are those keys
being emulated(?) as my regular keyboard? Why would only one not work?



>> Dennis, can you check that your device runs the latest BIOS? And if
>> this is not the case, could you do a BIOS update and send me an
>> updated acpidump? The reason for this is that currently, the button
>> device receives only system wake events, but no button press events
>> during runtime. Maybe this is a BIOS bug, although this could also be
>> intentional (fancy power button).
> See above IIRC what was discussed last time this is
> an intentional (mis)feature of these buttons. Chances
> are there might be some workaround for this for HP too,
> but that will likely be tricky to find.
> 
> Regards,
> 
> Hans

  reply	other threads:[~2024-03-26 16:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20 18:58 hp-wmi: info hotkey has no keycode or scancode Dennis Nezic
2024-01-20 20:52 ` Armin Wolf
2024-01-20 21:39   ` Dennis Nezic
2024-01-21 15:16     ` Armin Wolf
2024-01-22  7:05       ` Dennis Nezic
2024-01-22 10:44         ` Armin Wolf
     [not found]           ` <Za8xL39m1X22f2Bb@panther>
     [not found]             ` <Za9DQdLg2d_CnrZG@panther>
2024-01-23  8:58               ` Armin Wolf
2024-01-23 14:22                 ` Armin Wolf
2024-01-23 15:13                   ` Dennis Nezic
2024-01-23 15:34                     ` Hans de Goede
2024-01-23 19:58                       ` Armin Wolf
2024-01-25 20:53                         ` Armin Wolf
2024-01-29 13:00                           ` Hans de Goede
2024-01-29 12:57                         ` Hans de Goede
2024-03-26 16:47                           ` Dennis Nezic [this message]
2024-01-30 18:18                         ` Dennis Nezic
2024-01-31  4:06                           ` Dennis Nezic
2024-01-30 20:20                         ` Dennis Nezic
  -- strict thread matches above, loose matches on Subject: below --
2024-01-31  4:01 Dennis Nezic

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=ZgL8FA8lpc-El3n3@panther \
    --to=dennisn@dennisn.mooo.com \
    --cc=W_Armin@gmx.de \
    --cc=hdegoede@redhat.com \
    --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 read-only IMAP folder(s) and NNTP newsgroup(s).