Lab Notes

Various personal weekend projects

Nov 03, 2024

OpenBSD 7.6 on a Lenovo T490

Here are my notes on installing OpenBSD 7.6 on a Lenovo T490 and why I'm happy.

I've been running NetBSD 10 on a PineBookPro for several months and it served me well as a home lab laptop for various chores. That is until it literally split in half! Yes, a back panel screw mount slowly wore out and one bad day I opened the lid and heard a cracking noise and smelled "magic smoke". The metal hinge on the same side was not seated correctly and had enough leverage to do some damage to the remaining mounts. Here's a photo of the tragedy.

In need of a replacement lab laptop, I decided to give a used Lenovo AMD64 device a try. I found some notes online on support in NetBSD 10 and FreeBSD 14.x. I also found many posts on running OpenBSD 7.x on a variety of models.

Ultimately I found a $200 refurbished Lenovo T490 online, with 8Gb ram, an 8th gen i7, 1080p display, and 256Gb SSD. This looked like a good model for OpenBSD 7.6

Installing OpenBSD 7.6

The laptop came with Windows 10 installed and a 1 year warranty. I booted Windows 10 and made sure all the hardware checked out -- looked good. Cool, now time to get Windows off and OpenBSD installed.

I followed the official OpenBSD installation Guide. As with BSD documentation generally, it is thorough and well maintained. I downloaded the amd64 install76.img image and copied to a USB memory stick.

First, you need to boot to BIOS and make sure Secure Boot is off. OpenBSD supports UEFI so I kept the remaining default settings, saved the changes, and restarted. Pressing ENTER on startup allowed me to select the inserted USB stick from the boot menu, and the OpenBSD installation began.

I chose full disk encryption on the SDD drive. Since it's a laptop I use for my home lab, there are several SSH keys and secrets I do not want lost along with a stolen laptop. I went with a passphrase, but you can also use a keydisk.

The OpenBSD installation is straight forward (even the disk encryption part). I rebooted and was pleased to see X prompt me to log in. Everything looked good on first boot.

Hardware

I'm happy with the hardware and everything I need in a laptop works for use around the house and the occasional trip outside (easily tethers to my mobile phone Wi-Fi).

  • Suspend works when closing the lid.
  • The Wi-Fi iwm driver supports 5ghz and is stable; Ethernet em driver works well.
  • The touchpad is good and tap and two finger scroll work; trackpoint works too.
  • The keyboard is the usual good quality Lenovo and volume and brightness keys work.
  • Good USB support.
  • SD card slot works.
  • HDMI output works on my external monitor.
  • The Intel video driver is solid and streaming video on Firefox is suprisingly good.

After a few days of use I was convinced I was going to like this laptop, so I decided to upgrade the RAM from 8Gb to 24Gb. The existing 8Gb is soldered to the board but there is a free RAM slot. I ordered a $30 Crucial RAM 16GB DDR4 3200MHz CL22 CT16G4SFRA32A SoDIMM. Installation requires unscrewing the back panel mount screws and carefully using a pry tool. There are videos etc online, pretty standard for a Lenovo RAM upgrade. With the increased RAM, [0] dmesg and [1] hw.sensors below.

Configuration notes

There are a few configuration changes I made. For the touchpad, I added settings in /etc/wsconsctl.conf to make adjustments to two finger scrolling and to enable tap:

mouse.type=synaptics
mouse.reverse_scrolling=1
mouse.tp.tapping=1,0,0
mouse.tp.scaling=0.165
mouse.tp.edges=0.0,5.0,0.0,5.0

This reverses the default scrolling to what I'm used to (aka "natural" scrolling). I enabled single tap, but disabled two and three finger taps which I don't use and instead use the touchpad buttons.

I didn't change anything to the X configuration yet and I'm still trying different window managers (default is fine too). Generally, X support is good, with Firefox and Thunderbird all running well.

The video camera works and to enable you need to set kern.video.record=1. I placed this in /etc/sysctl.conf.

The battery life is looking reasonable and I'm still tweaking power settings. I added amd_flags=-A to /etc/rc.conf.local.

Summary

My 2019 refurbished Lenovo T490 feels solid and I am happy running OpenBSD 7.6. It's good to have a BSD laptop back in the lab!

[0] dmesg

OpenBSD 7.6 (GENERIC.MP) #338: Mon Sep 30 08:55:35 MDT 2024
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 25382711296 (24206MB)
avail mem = 24589893632 (23450MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.1 @ 0x6ddf6000 (69 entries)
bios0: vendor LENOVO version "N2IET98W (1.76 )" date 01/05/2022
bios0: LENOVO 20N20028US
efi0 at bios0: UEFI 2.6
efi0: Lenovo rev 0x1760
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 UEFI SSDT HPET APIC MCFG ECDT SSDT SSDT BOOT SLIC SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB NHLT FPDT UEFI DMAR BGRT
acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 23999999 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1788.65 MHz, 06-8e-0c, patch 000000fc
cpu0: cpuid 1 edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
cpu0: cpuid 6 eax=27f7<SENSOR,ARAT> ecx=9<EFFFREQ>
cpu0: cpuid 7.0 ebx=29c67af<FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT> edx=bc000600<SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD>
cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48
cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=121<LAHF,ABM,3DNOWP>
cpu0: cpuid 80000007 edx=100<ITSC>
cpu0: msr 10a=a0a0c2b<IBRS_ALL,SKIP_L1DFL,MDS_NO,MISC_PKG_CT,ENERGY_FILT,FB_CLEAR,RRSBA,GDS_CTRL,RFDS_NO>
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1702.17 MHz, 06-8e-0c, patch 000000fc
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.75 MHz, 06-8e-0c, patch 000000fc
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.59 MHz, 06-8e-0c, patch 000000fc
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.68 MHz, 06-8e-0c, patch 000000fc
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.33 MHz, 06-8e-0c, patch 000000fc
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.42 MHz, 06-8e-0c, patch 000000fc
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1689.59 MHz, 06-8e-0c, patch 000000fc
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus 2 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 60 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus 61 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpithinkpad0 at acpi0: version 2.0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "02DL008" serial  3286 type LiP oem "SMP"
"LEN0100" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
acpicmos0 at acpi0
pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 irq 14, 320 pins
"PNP0C14" at acpi0 not configured
"INT0E0C" at acpi0 not configured
acpibtn0 at acpi0: SLPB(wakeup)
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpibtn1 at acpi0: LID_(wakeup)
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT3400" at acpi0 not configured
tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0000104a rev 0x4e
"USBC000" at acpi0 not configured
acpipwrres0 at acpi0: PUBS, resource for XHC_
acpipwrres1 at acpi0: USBC, resource for XDCI
acpipwrres2 at acpi0: PXP_, resource for RP05
acpipwrres3 at acpi0: PXP_, resource for RP07, PXSX
acpipwrres4 at acpi0: V0PR
acpipwrres5 at acpi0: V1PR
acpipwrres6 at acpi0: V2PR
acpipwrres7 at acpi0: WRST
acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu4 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu5 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu6 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu7 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 128 degC
acpipwrres8 at acpi0: PIN_
acpipwrres9 at acpi0: PINP
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 1788 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200, 1100, 1000, 800, 700, 600, 500, 400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x0c
inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 620" rev 0x02
drm0 at inteldrm0
inteldrm0: msi, COFFEELAKE, gen 9
"Intel Core 6G Thermal" rev 0x0c at pci0 dev 4 function 0 not configured
"Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
pchtemp0 at pci0 dev 18 function 0 "Intel 300 Series Thermal" rev 0x30
xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x30: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 300 Series Shared SRAM" rev 0x30 at pci0 dev 20 function 2 not configured
iwm0 at pci0 dev 20 function 3 "Intel AC 9560" rev 0x30, msix
dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x30: apic 2 int 16
iic0 at dwiic0
"Intel 300 Series MEI" rev 0x30 at pci0 dev 22 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 300 Series PCIE" rev 0xf0: msi
pci1 at ppb0 bus 1
rtsx0 at pci1 dev 0 function 0 "Realtek RTS522A Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
ppb1 at pci0 dev 28 function 4 "Intel 300 Series PCIE" rev 0xf0: msi
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01: msi
pci4 at ppb3 bus 4
"Intel JHL6240 Thunderbolt 3" rev 0x01 at pci4 dev 0 function 0 not configured
ppb4 at pci3 dev 1 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01: msi
pci5 at ppb4 bus 5
ppb5 at pci3 dev 2 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01: msi
pci6 at ppb5 bus 58
xhci1 at pci6 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01: msi, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
ppb6 at pci0 dev 29 function 0 "Intel 300 Series PCIE" rev 0xf0: msi
pci7 at ppb6 bus 60
ppb7 at pci0 dev 29 function 4 "Intel 300 Series PCIE" rev 0xf0: msi
pci8 at ppb7 bus 61
nvme0 at pci8 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3
nvme0: SAMSUNG MZVLB256HBHQ-000L7, firmware 5M2QEXH7, serial S4ELNF1N201700
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, SAMSUNG MZVLB256, 5M2Q>
sd0: 244198MB, 512 bytes/sector, 500118192 sectors
pcib0 at pci0 dev 31 function 0 "Intel 300 Series LPC" rev 0x30
azalia0 at pci0 dev 31 function 3 "Intel 300 Series HD Audio" rev 0x30: msi
azalia0: codecs: Realtek ALC257, Intel/0x280b, using Realtek ALC257
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 300 Series SMBus" rev 0x30: apic 2 int 16
iic1 at ichiic0
"Intel 300 Series SPI" rev 0x30 at pci0 dev 31 function 5 not configured
em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x30: msi, address f8:75:a4:ba:31:c5
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics clickpad, firmware 10.32, 0x1e2a1 0x940300 0x378f40 0xf00aa3 0x12e800
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
uhub2 at uhub0 port 5 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/55.43 addr 2
uhub3 at uhub2 port 4 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/55.44 addr 3
uhub4 at uhub3 port 2 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub [MTT]" rev 2.00/1.00 addr 4
uhidev0 at uhub4 port 1 configuration 1 interface 1 "Cypress Semiconductor Billboard Device" rev 2.01/0.00 addr 5
uhidev0: iclass 3/0, 239 report ids
uhid0 at uhidev0 reportid 237: input=0, output=0, feature=80
uhid1 at uhidev0 reportid 238: input=0, output=4, feature=0
uhid2 at uhidev0 reportid 239: input=0, output=0, feature=16
ugen0 at uhub4 port 1 configuration 1 "Cypress Semiconductor Billboard Device" rev 2.01/0.00 addr 5
ugen1 at uhub4 port 4 "Yubico Yubikey 4 CCID" rev 2.00/4.45 addr 6
uvideo0 at uhub0 port 8 configuration 1 interface 0 "SunplusIT Inc Integrated Camera" rev 2.01/54.22 addr 7
video0 at uvideo0
ugen2 at uhub0 port 9 "Synaptics Fingerprint Reader" rev 2.00/0.00 addr 8
ugen3 at uhub0 port 10 "Intel Bluetooth" rev 2.00/0.02 addr 9
uhub5 at uhub1 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" rev 3.10/55.43 addr 2
uaudio0 at uhub5 port 2 configuration 1 interface 3 "DisplayLink ThinkPad Hybrid USB-C with USB-A Dock" rev 3.20/31.04 addr 3
uaudio0: only one clock domain supported
uaudio1 at uhub5 port 2 configuration 1 interface 4 "DisplayLink ThinkPad Hybrid USB-C with USB-A Dock" rev 3.20/31.04 addr 3
uaudio1: only one clock domain supported
ugen4 at uhub5 port 2 configuration 1 "DisplayLink ThinkPad Hybrid USB-C with USB-A Dock" rev 3.20/31.04 addr 3
ure0 at uhub5 port 3 configuration 1 interface 0 "Lenovo ThinkPad Lan" rev 3.00/31.03 addr 4
ure0: RTL8153B (0x6010), address 80:6d:97:1e:fe:10
rgephy0 at ure0 phy 0: RTL8251, rev. 0
uhub6 at uhub5 port 4 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" rev 3.10/55.44 addr 5
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 243938MB, 512 bytes/sector, 499585087 sectors
root on sd1a (fcc0c0ec05cf8cbd.a) swap on sd1b dump on sd1b
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:116:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x310, fw ver 46.7e3e4b69.0, address 5c:80:b6:af:08:f2

[1] hw.sensors

hw.sensors.cpu0.temp0=46.00 degC
hw.sensors.cpu0.frequency0=4100000000.00 Hz
hw.sensors.cpu1.frequency0=4400000000.00 Hz
hw.sensors.cpu2.frequency0=4400000000.00 Hz
hw.sensors.cpu3.frequency0=4400000000.00 Hz
hw.sensors.acpithinkpad0.temp0=49.00 degC
hw.sensors.acpithinkpad0.fan0=0 RPM
hw.sensors.acpithinkpad0.indicator0=Off (port replicator), UNKNOWN
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.52 VDC (voltage)
hw.sensors.acpibat0.volt1=12.85 VDC (current voltage)
hw.sensors.acpibat0.power0=0.00 W (rate)
hw.sensors.acpibat0.watthour0=41.91 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=2.10 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
hw.sensors.acpibat0.watthour3=41.91 Wh (remaining capacity), OK
hw.sensors.acpibat0.watthour4=50.45 Wh (design capacity)
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=434 (discharge cycles)
hw.sensors.acpibtn1.indicator0=On (lid open)
hw.sensors.acpitz0.temp0=49.00 degC (zone temperature)
hw.sensors.pchtemp0.temp0=50.00 degC
hw.sensors.nvme0.temp0=39.00 degC, OK
hw.sensors.nvme0.percent0=13.00% (endurance used), OK
hw.sensors.nvme0.percent1=100.00% (available spare), OK
hw.sensors.softraid0.drive0=online (sd1), OK

Releated notes