Skip to content

[Bug Report]: Power button suppression when fingerprint scanner is polling does not function on Framework 13 AMD #62

Open

Description

@TheBlueKingLP

The Problem

I sometimes presses the power button accidentally(putting a bit too much pressure on it and triggered the button under the sensor) when my intention was to use the fingerprint reader.

Proposed solution

An option for enabling a delay that requires the user to hold the power button for maybe 0.5 second to 1 second, would be appreciated. This is the behavior on some of my other laptops that has the fingerprint sensor on the power button.

Activity

  1. JohnAZoidberg commented on Mar 27, 2025

    @JohnAZoidberg
    Member

    When the fingerprint reader is in use, i.e. when OS requests authentication, the power button functionality is already disabled.
    There is no need for the workaround you describe.

    Could you describe the exact situation that you are having issues with?

  2. JohnAZoidberg commented on Mar 27, 2025

    @JohnAZoidberg
    Member

    Which device are you using? Maybe there's a bug on the particular system that you are using?
    Here you can see the code that is responsible for this on the Intel Core Ultra Series 1 system:

    /**
    * Ignore the power button signal when fp control enable
    *
    * If user removes the fingerprint module, the fp control signal is always high.
    * Only enable this feature when the system does not enable the standalone mode,
    * and system state in S0.
    */
    if (gpio_pin_get_dt(GPIO_DT_FROM_ALIAS(gpio_check_fp_control)) &&
    chipset_in_state(CHIPSET_STATE_ON) && !get_standalone_mode()) {
    if ((get_time().val < stime.val + 4 * SECOND) && !power_button_state) {
    hook_call_deferred(&power_button_signal_deferred_data, 100 * MSEC);
    return;
    } else if ((get_time().val > stime.val + 4 * SECOND) && !power_button_state)
    chipset_force_shutdown(CHIPSET_SHUTDOWN_BOARD_CUSTOM);
    else
    stime.val = 0;
    }

  3. JohnAZoidberg commented on Mar 27, 2025

    @JohnAZoidberg
    Member

    Here you can see me trying it on the new AMD Ryzen AI 300 system. The power button does not react, while the system is requesting fingerprint authentication.

    PXL_20250327_113219782.LS.mp4
  4. TheBlueKingLP commented on Mar 27, 2025

    @TheBlueKingLP
    Author

    Here you can see me trying it. The power button does not react, while the system is requesting fingerprint authentication.
    PXL_20250327_113219782.LS.mp4

    Interesting, that is not the case for me. I just tried the fprintd-verify command as well, however unlike in your case, my Framework laptop went into sleep mode.
    My unit is a Framework 13 AMD.

  5. TheBlueKingLP commented on Mar 27, 2025

    @TheBlueKingLP
    Author

    In this case, I assume this would be a bug instead of a feature request then?

  6. JohnAZoidberg commented on Mar 27, 2025

    @JohnAZoidberg
    Member

    In this case, I assume this would be a bug instead of a feature request then?

    That's right, will try to reproduce on AMD Ryzen 7040.

  7. changed the title [-][Feature Request]: Add an option to delay power button press[/-] [+][Bug Report]: Power button suppression when fingerprint scanner is polling does not function on Framework 13 AMD[/+] on Mar 27, 2025
  8. JohnAZoidberg commented on May 3, 2025

    @JohnAZoidberg
    Member

    Sorry, I forgot to answer, @TheBlueKingLP . I cannot reproduce your issue on the Ryzen 7040 systems either.

  9. JohnAZoidberg commented on May 3, 2025

    @JohnAZoidberg
    Member

    Maybe you keep pressing the button after fingerprint verification has passed?
    Could you send a video of what's happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions