aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w/dell-r710.md20
-rw-r--r--src/w/sun-x4170.md3
-rw-r--r--src/w/thinkpad-x220.md58
3 files changed, 81 insertions, 0 deletions
diff --git a/src/w/dell-r710.md b/src/w/dell-r710.md
index e69de29..fcd0ae7 100644
--- a/src/w/dell-r710.md
+++ b/src/w/dell-r710.md
@@ -0,0 +1,20 @@
+title: dell r710
+
+## internal ssd
+
+It is possible to add an additional hard drive or ssd in the chassis. An
+optical drive adapter to ssd can be used, or the disk can be manually
+installed:
+
+- Install the ssd in the DVD bay/DVD blank.
+- Plug the ssd to the second SATA port in the motherboard.
+- Boot to the BIOS and enable the second SATA port to boot on it.
+
+## quiet fans
+
+Disable the automatic fan speed, and slows them down to the minimum.
+
+```
+$ ipmitool -h ${host} ipmi_cmd raw 0x30 0x30 0x01 0x00
+$ ipmitool -h ${host} ipmi_cmd raw 0x30 0x30 0x02 0xff 0x0
+```
diff --git a/src/w/sun-x4170.md b/src/w/sun-x4170.md
index e69de29..fbb9aa7 100644
--- a/src/w/sun-x4170.md
+++ b/src/w/sun-x4170.md
@@ -0,0 +1,3 @@
+title: sun x4170
+
+// todo
diff --git a/src/w/thinkpad-x220.md b/src/w/thinkpad-x220.md
index e69de29..7764308 100644
--- a/src/w/thinkpad-x220.md
+++ b/src/w/thinkpad-x220.md
@@ -0,0 +1,58 @@
+title: thinkpad x220
+
+## performances
+
+On a linux installation, disabling mitigations can
+[considerably increase the performances](https://linuxreviews.org/HOWTO_make_Linux_run_blazing_fast).
+However, it comes with serious security issues.
+
+Add the following parameter for booting your kernel:
+
+```
+mitigations=off
+```
+
+## microphone
+
+The embbeded microphones can generate a static noise. According to the
+[Archlinux wiki](https://wiki.archlinux.org/title/Lenovo_ThinkPad_X220#Microphone),
+muting the right microphone fix this issue.
+
+> The following informations are about pulseaudio and its built-in module
+> system. A more modern approache would be to use easyeffects. However I
+> experienced noisy inputs/outputs while being on calls, and running it in the
+> background requires to a) keep the easyeffects window opened b) move
+> easyeffects to system tray.
+
+With pulseaudio/pipewire-pulse, the `remap-source` module can be loaded:
+
+```
+pactl load-module module-remap-source \
+ "source_name=${source_name}" \
+ "master=${source_index}" \
+ use_master_format=1 \
+ master_channel_map=front-left \
+ channel_map=mono \
+ channels=1
+```
+
+However, the fans can still be heard, and not all voip clients handle noise
+cancelling. Instead, you can keep the right microphone active and use it for
+[noise cancellation](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-echo-cancel)
+(including the static noise).
+
+```
+$ pactl load-module module-echo-cancel \
+ "source_name=${source_name}" \
+ "master=${source_index}" \
+ use_master_format=1 \
+ aec_method="webrtc" \
+ aec_args='"beamforming=1 mic_geometry=-1,0,0,1,0,0"'
+```
+
+See [my dotfiles](https://git.rgoncalves.se/dots/tree/.config/pipewire) for
+additional information.
+
+## usb-c mod
+
+// todo
remember that computers suck.