04-02-2020, 12:01 PM
(This post was last modified: 04-02-2020, 12:04 PM by Surehand53.)
(03-30-2020, 06:35 AM)Nappael Wrote: Yeah, resumed this morning and looked through the rest of the repo. Adding 10-usb-kbd.hwdb to /usr/lib/udev/hwdb.d/ and running "systemd-hwdb update" fixed the brightness issue, and the install file showed me how to fix the awake from suspend issue.
Now as far as I can tell, pretty much everything works! I'll need to continue playing around to see if I can find anything else, but happy with this setup for now.
Would you mind to spell out the suspend setup?
I see the script but am not sure about the line for fstab.
Code:
post_install() {
# Enable suspend2idle
sed -i s/"#SuspendState=mem standby freeze"/"SuspendState=freeze"/g /etc/systemd/sleep.conf
# Edit fstab
echo "LABEL=BOOT_MNJRO /boot vfat defaults 0 0" >> /etc/fstab
# Enable services
systemctl enable acpid.service
}
post_upgrade() {
# Enable acpid
systemctl enable acpid.service
}
- what is the difference for SuspendState between "mem standby freeze" and "freeze" ?
- How should the line for LABEL= be exactly?
- Can I just execute the commands manually one by one or do they need to be in a script somewhere ?
And just to confirm, is it right that I have to install acpid first: sudo zypper install acpid ?
There is one more thing I noticed in the XFCe version
I have several tools that only report 4 CPUs, e.g. htop
In /sys/bus/cpu/devices/ I see 6 cpus
In /sys/firmware/devicetree/base/cpus seem to be only 4 cpus
In /sys/devices/armv8_cortex_a53/cpus I get the value 0-3. This in it's own is expected, I guess, but there are no values for the two A72 cores that I can see.
So I have the slight suspicion that the system might only run on 4 cpus, or at least the the remaining two are maybe not completely configured.
I don't have much experience to read this /sys folder, so not sure.