Re: apm not responding

2022-02-11 Thread uxer
Firstly, the `ps auxw | grep apm` output got automatically distorted. Here is a manually word wrapped version, for clarity: root 53666 0.0 0.0 196 328 ?? IU Wed09PM0:00.33 \ /usr/sbin/apmd -A -t 60 -z 15 root 40604 0.0 0.0 1004 916 ?? Ip 7:42PM0:00.01 \

nat-to round-robin without a pool

2022-02-11 Thread Giovanni Bechis
Hi, the following pf.conf snippet is correctly loaded but produces a configuration that doens't work: -- ip="172.16.0.1" ip_pool="{192.168.0.1}" match out on egress from $ip to any nat-to $ip_pool round-robin

Re: C2 state not recognized on Thinkpad T420s when on AC

2022-02-11 Thread Jan Stary
On Feb 11 12:17:35, h...@stare.cz wrote: > > > > the same scenario: cold start the machine on AC, > > > > plug AC out, in, out, in. > > > So here's a revised diff that tries to make it safe for ACPI to notify us > > that a CPU's _CST has changed while that cpu is entering idle. Revert the > >

Re: C2 state not recognized on Thinkpad T420s when on AC

2022-02-11 Thread Jan Stary
> > > the same scenario: cold start the machine on AC, > > > plug AC out, in, out, in. > So here's a revised diff that tries to make it safe for ACPI to notify us > that a CPU's _CST has changed while that cpu is entering idle. Revert the > previous diff before trying to apply this one.

Re: C2 state not recognized on Thinkpad T420s when on AC

2022-02-11 Thread Mark Kettenis
> Date: Thu, 10 Feb 2022 23:46:43 -0800 > From: guent...@openbsd.org > > On Thu, 10 Feb 2022, Jan Stary wrote: > > > > When you build a kernel with this, do please add ACPI_DEBUG to your > > > > kernel > > > > config, so we can see more details about what the firmware is telling > > > > us. >