关于ThinkBook 16+ 2024(Intel Ultra 9 185H CPU)的两个问题求助:Ubuntu 24.04下触控板失效及合盖自动关机
Hey there, let's break down and solve these two issues for your brand-new ThinkBook 16+ 2024 step by step:
一、触控板失效问题
Since your laptop has the latest Intel Ultra 9 185H CPU, compatibility with older system components is often the culprit here. Try these fixes in order:
Check and upgrade your kernel
Rununame -rin the terminal to see your current kernel version. Intel's Ultra series is relatively new, so older kernels might lack proper touchpad driver support. Update to the latest stable kernel with these commands:sudo apt update && sudo apt upgrade -y sudo apt install linux-generic-hwe-24.04 -yReboot your laptop after the upgrade and test the touchpad.
Verify if the touchpad is detected
Uselibinput list-devicesorxinput listin the terminal. Look for entries like "Elan Touchpad" or "Synaptics Touchpad". If nothing shows up, enter your BIOS (press F1/F2 during boot) and check if the touchpad is enabled—some models disable it by default in certain modes, so ensure it's set to "Enabled" under the Advanced menu.Reload the touchpad driver
Many modern Intel laptops use thei2c_hid_acpidriver for touchpads. Try reloading it with:sudo modprobe -r i2c_hid_acpi sudo modprobe i2c_hid_acpiThis often resolves temporary driver glitches.
Check desktop environment settings
If you're using GNOME, go to Settings > Mouse & Touchpad and make sure the touchpad isn't toggled off. Some laptops have a keyboard shortcut (like Fn+F6) to disable the touchpad—double-check you didn't accidentally press it.
二、合盖自动关机问题
This is almost always a power management configuration issue. Here's how to fix it:
Adjust desktop environment power settings
For GNOME users: Open Settings > Power, find the "When the lid is closed" section. Set both "On battery power" and "Plugged in" to "Suspend" or "Do nothing" instead of "Shutdown". For KDE/XFCE users, look for similar options in their respective Power Management panels.Modify systemd's lid handling configuration
If the desktop settings don't take effect, you can tweak the underlying systemd config:- Open the logind.conf file with a text editor:
sudo nano /etc/systemd/logind.conf - Uncomment and modify these lines (remove the
#at the start):HandleLidSwitch=suspend HandleLidSwitchExternalPower=suspend HandleLidSwitchDocked=suspend - Save the file (Ctrl+O, then Enter) and exit (Ctrl+X), then restart the logind service:
sudo systemctl restart systemd-logind
- Open the logind.conf file with a text editor:
Check BIOS settings
Rarely, some laptops have a BIOS option for lid actions. Enter BIOS during boot, look for "Lid Close Action" or similar settings, and ensure it's set to "Suspend" instead of "Shutdown".
If none of these steps work, feel free to share more details (like your Linux distribution version, desktop environment) and we can dig deeper!
备注:内容来源于stack exchange,提问作者金不换金




