Re: fw_update

2024-05-01 Thread Mihai Popescu
> How does fw_update install the drivers? > How does it know which driver is missing on the system? Just list the following sequence (outputs inserted too): $ which fw_update /usr/sbin/fw_update $ cat /usr/sbin/fw_update #!/bin/ksh # $OpenBSD: fw_update.sh,v 1.56 2024/03/21 01:02:29 afresh1

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 18:07:50 +0200, "Nathaniel Griswold" wrote: > > What could be taking so much power? CPUs are idling. You may try this patch. It is extention of powersave mode which disabling / enabling CPUs. It should degradate to single-core mode, but it may contains bugs :) Right now I'

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> It is extention of powersave mode which disabling / enabling CPUs. Interesting, maybe i'll test on it. > Regarding estimated life time: > > Battery state: high, 66% remaining, 152 minutes life estimate > AC adapter state: not connected > Performance adjustment mode: powersaving (400 MHz

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> Linux has drivers for devices shutdown when not used and idle power > states, pretty much like Windows has. Android, who is Linux derived, > took this concept to a much higher level. > Think of a wireless card and you can see on man ath(4): " The driver > does not fully enable power-save operat

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> > I tried disabling cores in my bios down to 3 CPUs and did comparisons and i > didn't really notice a savings. That was for idle usage, though. This may help out with an actual workload

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Wed, 01 May 2024 23:54:52 +0200, "Nathaniel Griswold" wrote: > > Interesting, maybe i'll test on it. > I've played with this patch a bit more today, as result I've inlined an updated version to end of this email. > > Regarding estimated life time: > > > > Battery state: high, 66% remainin

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> 1. Snapshot's kernel: > > Apr 28 13:32:23 matebook apmd: battery status: CRITICAL. external power > status: not connected. estimated battery life 14% (11 minutes life time > estimate) > > 2. Solene's patch: > > May 1 11:52:28 matebook apmd: battery status: CRITICAL. external power > s

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Wed, 01 May 2024 23:58:53 +0200, "Nathaniel Griswold" wrote: > > I guess it's a matter of figuring out which drivers or kernel features are > saving so much power. > From your dmesg: iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix if you read the end of man page for iw

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Thu, 02 May 2024 00:33:47 +0200, "Nathaniel Griswold" wrote: > > Does apmd keep a running average for the current and voltage or is it based > on instantaneous (as close as that can be)? > As far as I understand the code it devides hw.sensors.acpibat0.amphour3 (remaining capacity, Ah) by hw.

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Chris Petrik
Hello, Failure to read man pages before posting. Chris Sent from Proton Mail Android Original Message On 5/1/24 5:42 PM, Kirill A. Korinsky wrote: > On Thu, 02 May 2024 00:33:47 +0200, > "Nathaniel Griswold" wrote: > > > > Does apmd keep a running average for the curr

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> From your dmesg: > > iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix > > if you read the end of man page for iwx you'll see: > > This driver does not support powersave mode. Ah. I guess that’s a failure to read man page. Thank you. I’ve tested disabling the port in BI

Re: pax and ext2fs

2024-05-01 Thread Philip Guenther
On Tue, Apr 30, 2024 at 5:50 AM Walter Alejandro Iglesias wrote: > I'd never used pax(1), reading the man page I found this command can be > used to make a backup: > > $ pax -r -w -v -Y -Z home /backup > > Faster than using rsync indeed, but it seems that the -Y and -Z options > don't work with