this post was submitted on 21 Aug 2024
18 points (95.0% liked)

Linux

47952 readers
1338 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 months ago* (last edited 2 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?

[–] [email protected] 2 points 2 months ago (1 children)

Curious what it the exact model of your laptop?

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

Dell Inspiron 14 2-in-1 7415

[–] [email protected] 1 points 2 months ago
[–] [email protected] 1 points 2 months ago (1 children)

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

[–] [email protected] 1 points 2 months ago* (last edited 2 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)

[–] [email protected] 1 points 2 months ago (1 children)

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?

[–] [email protected] 2 points 2 months ago

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

It does nothing.