Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge queue: embarking master (04a1cda) and #1082 together #1117

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
lenovo-yoga-7-14ARH7-nvidia = import ./lenovo/yoga/7/14ARH7/nvidia;
lenovo-yoga-7-slim-gen8 = import ./lenovo/yoga/7/slim/gen8;
letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
malibal-aon-s1-intel = import ./malibal/aon/s1;
microchip-icicle-kit = import ./microchip/icicle-kit;
microsoft-surface-go = import ./microsoft/surface/surface-go;
microsoft-surface-pro-intel = import ./microsoft/surface/surface-pro-intel;
Expand Down
79 changes: 79 additions & 0 deletions malibal/aon/s1/README.wiki
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
= Malibal Aon S1 =

== Tested Hardware ==

* CPU: Intel(R) Core(TM) i7-13700H CPU @ 2.4GHz
* RAM: 32 GB
* HDD: 2 TiB SSD
* Screen: 14" WQXGA+ (2880x1800)
* Graphics: Intel Raptor Lake-P [Iris Xe Graphics]. nVidia graphics disabled preemptively.
* Display: Wayland.
* Input: trackpad

== Firmware Configuration ==

No tweaking to get a useful system, but some is needed.
- Sleeping doesn't work properly and overheats the system.
- Fans spin even when the system is at almost no load and CPUs report 30°C-35°C

== Installation ==

=== Before installation ===

I don't recall what I did very well, probably just disabled secure boot as
there's no nice and meaningful way of using it yet.

=== After installation ===

=== Optional ===

* Run fwupd

== Troubleshooting ==


== Annoyances ==

=== It's easy to tap the power button ===

It's better to ignore short tapping the power button,

```nix
services = {
logind = {
if options.hardware.ignorePowerButtonTap
extraConfig = ''
# Don’t shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
};
};
```

== Broken Functionality ==

=== Sleeping works, but overheats the machine ===

This drains battery faster than keeping the machine on and it might get you backpack really warm.

Best workaround I found so far is to increase the time to take an action, and use shutdown as the action.
This is *not* a reasonable workaround for most.


```nix
services = {
logind = {
if options.hardware.ignorePowerButtonTap
extraConfig = ''
# Shutdown until sleep/hibernate works
IdleAction=poweroff

# Ideal case (hibernation onto / isn't working for me, but probably works with a swap partition)
# When idle, sleep, but hibernate if it's been too long.
# IdleAction=hybrid-sleep
'';
};
};
```

I'm hoping that suspend-then-hibernate will make this a non-issue in practice, but haven't spent time on it.
33 changes: 33 additions & 0 deletions malibal/aon/s1/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ pkgs, lib, ... }:

{
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd

../../../common/cpu/intel

../../../common/gpu/intel
../../../common/gpu/nvidia/disable.nix
];

boot = {
kernelParams = [
"mem_sleep_default=deep"
"i915.fastboot=1"
];
kernelModules = [
"coretemp"
];
};

powerManagement = {
powertop.enable = lib.mkDefault true;
};

services = {
fwupd = {
enable = lib.mkDefault true;
};
};
}