cross-posted from: https://piefed.social/post/206134

Recently I switched to Fedora 40 from Ununtu. Now, I am facing this weird problem, whenever my laptop suspends I cannot use the power button to wake my laptop if it’s in tablet mode. It works fine in normal case. Also, this wasn’t an issue in Ubuntu. Anyone knows how I can change it?

I am using a 2in1 laptop (Dell) if it’s relevant

  • Excigma@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 months ago

    I don’t think I have enough knowledge to solve this or say anything for certain, but I wonder if the power button is treated as an external keyboard and is getting ignored in tablet mode?

  • user
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Curious what it the exact model of your laptop?

  • astro_ray@lemdro.idOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    If anyone could help, that would be great. I am struggling to find an answer after searching for some time.

    • astro_ray@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 months ago

      Edit: that was wrong, 31 is convertible

      I might be wrong, but I think I understand why it’s happening. Running

      $ cat /sys/devices/virtual/dmi/id/chassis_type
      

      I am getting the value 31 (detachable), when I think it should be reporting 32 (convertible)

  • Strit@lemmy.linuxuserspace.show
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    Maybe the power settings are not set up correctly in Tablet mode (I don’t know if there are seperate settings for normal and tablet mode).

    Or as another responded, the button might count as a keyboard and thus is disabled in tablet mode. What happens if you press the power button when the device is awake and in tablet mode?

    • astro_ray@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      What happens if you press the power button when the device is awake and in tablet mode?

      It does nothing.