Did anyone manage to get suspend to work?
Thanks.
In general, I put Manjaro gnome. Updated to kernel 5.19
command terminal:
sudo pacman -S linux519
The sound didnāt work. But then I remembered. What you need to download this and everything will work after restarting the sound.
So the sound seems to āworkā with kernel 5.19.
Two ways to set it up:
- If you go in alsamixer, press F6, switch to the right audio card, slide everything up, the sound now works, but is quiet.
- Install the alsa_restore from the above github repository. The sound now works, but is still quiet.
What you can do to boost the sound level by 53% is one of the following (Iām on manjaro gnome)
- go to the package manager and install one of the
pulseaudio volume controlpackages. Then open it up, and pull the volume slider all the way to the right for a resulting 153% - Run the following commands:
pacmd list-sinks
Then you have to choose the right index, in my case it was0, then run:
pacmd set-sink-volume 0 100000
this also boosts the volume up to 153%.
You can try boosting it more by setting numbers higher than 100000. I tried this, and the sound became distorted at higher values. So I donāt recommend this.
After playing a few videos with this change, the speakers are useable on linux in my opinion.
So now the last thing that is left is suspend⦠![]()
I havenāt tried on manjaro but shouldnāt matter.
Iām on EndeavourOS and it is enough to go to alsamixer ā F6 to switch to sof-essx8336 ā Unmute the first slider āHeadphoneā by pressing āmā and pull it up to max. A normal youtube video is loud enough that I have the system volume via the buttons only at about 50% without any distortion
In Manjaro with kernel 6.0 the sound works if you use PipeWire and boost the sound through alsamixer
Suspend finally works now! Tested on kernel 6.3.9 on EndeavourOS with Gnome Wayland.
Sometimes my system freezes, though Iām not sure if itās related.
Hello! As of now, the situation is as follows: on Ubuntu 24.04.3 LTS, almost everything is working except for touch functionality and screen rotation.
Solution for Screen Rotation on Ubuntu 24.04.3 LTS (Xorg)
Hereās a working method to fix screen rotation and touchscreen issues on Ubuntu 24.04.3 LTS with Xorg. This solution may also be useful on other Linux distributions. I recommend trying the commands from the first script one by one after a 5-second delay to check if they work on your system.
Disclaimer: This is a āworkaroundā that currently only functions under Xorg. I havenāt tested it on other distributions and was unable to get it working with Wayland. Iāll continue to look for a Wayland-specific solution by exploring touchscreen configuration options. This method isnāt perfect and was tailored for my specific situation, but itās a functional starting point.
Initial Startup Script (fix_startup_orientation.sh)
This script performs a one-time adjustment to ensure the screen always boots into the correct horizontal orientation.
fix_startup_orientation.sh
#!/bin/sh
# Wait for the X server to be ready
sleep 5
# Rotate the screen to the correct horizontal orientation
xrandr --output DSI-1 --rotate left
# Calibrate the touchscreen for the new orientation
xinput set-prop 15 "libinput Calibration Matrix" -1 0 1 0 -1 1 0 0 1
Automatic Rotation Script (auto-rotate.sh)
This script runs in the background and continuously reads sensor data to provide real-time automatic screen rotation.
auto-rotate.sh
#!/bin/sh
# This script automatically rotates the screen based on sensor data.
# Wait for the display to be ready
sleep 5
# Infinite loop to monitor the sensor
while true; do
# Get sensor orientation
ORIENTATION=$(monitor-sensor | grep -E "accelerometer_event" | tail -n 1)
if echo "$ORIENTATION" | grep "right-up" >/dev/null; then
xrandr --output DSI-1 --rotate right
xinput set-prop 15 "libinput Calibration Matrix" 0 1 0 -1 0 1 0 0 1
elif echo "$ORIENTATION" | grep "normal" >/dev/null; then
xrandr --output DSI-1 --rotate normal
xinput set-prop 15 "libinput Calibration Matrix" 1 0 0 0 1 0 0 0 1
elif echo "$ORIENTATION" | grep "bottom-up" >/dev/null; then
xrandr --output DSI-1 --rotate inverted
xinput set-prop 15 "libinput Calibration Matrix" -1 0 1 0 -1 1 0 0 1
elif echo "$ORIENTATION" | grep "left-up" >/dev/null; then
xrandr --output DSI-1 --rotate left
xinput set-prop 15 "libinput Calibration Matrix" 0 -1 1 1 0 0 0 0 1
fi
# Wait one second before checking again
sleep 1
done
exit 0
How to Add Scripts to Startup
Use GNOMEās built-in graphical tool to add both scripts to your startup applications.
Startup
1. Open the Startup Applications application from the main menu.
2. Click the "Add" button for each script.
3. For the fix_startup_orientation.sh script, fill out the fields as follows:
Name: Fix Startup Orientation
Command: /usr/local/bin/fix_startup_orientation.sh
Comment: Corrects screen and touchscreen orientation on system startup.
4. Click "Add" and repeat the process for the second script.
5. For the auto-rotate.sh script, fill out the fields as follows:
Name: Auto-Rotate Screen
Command: /usr/local/bin/auto-rotate.sh
Comment: Enables real-time automatic screen rotation.
6. Click "Add" and close the window.
Additional Notes
The touchscreen will not work in the login window after booting. However, if you lock and then unlock the screen, the touchscreen will become functional. It's a strange behavior, but it's what's currently working.
The following features are working for me: sound, Bluetooth, virtual keyboard (when needed), and Wi-Fi. I haven't had time to test other functionalities.
Russian only
ŠŠ° ŃŃŃŃŠŗŠ¾Š¼ 4PDA
Questions?
Questions? Knock on PM on 4PDA