Re: apm doesn't know AC state on APU1C

2023-04-27 Thread Mike Larkin
On Wed, Apr 26, 2023 at 08:48:00PM +0200, Jan Stary wrote: > On Apr 26 11:38:40, dera...@openbsd.org wrote: > > Jan Stary wrote: > > > > > On Apr 26 14:57:22, stu.li...@spacehopper.org wrote: > > > > On 2023-04-26, Jan Stary wrote: > > > > > This is current/amd64 on an APU1C (dmesg below). > > >

Re: apm doesn't know AC state on APU1C

2023-04-26 Thread Jan Stary
On Apr 26 11:38:40, dera...@openbsd.org wrote: > Jan Stary wrote: > > > On Apr 26 14:57:22, stu.li...@spacehopper.org wrote: > > > On 2023-04-26, Jan Stary wrote: > > > > This is current/amd64 on an APU1C (dmesg below). > > > > While 'sysctl hw' knows hw.power=1, apm doesn't know: > > > > > > >

Re: apm doesn't know AC state on APU1C

2023-04-26 Thread Theo de Raadt
Jan Stary wrote: > On Apr 26 14:57:22, stu.li...@spacehopper.org wrote: > > On 2023-04-26, Jan Stary wrote: > > > This is current/amd64 on an APU1C (dmesg below). > > > While 'sysctl hw' knows hw.power=1, apm doesn't know: > > > > > > Battery state: absent, 0% remaining, unknown life estimate >

Re: apm doesn't know AC state on APU1C

2023-04-26 Thread Jan Stary
On Apr 26 14:57:22, stu.li...@spacehopper.org wrote: > On 2023-04-26, Jan Stary wrote: > > This is current/amd64 on an APU1C (dmesg below). > > While 'sysctl hw' knows hw.power=1, apm doesn't know: > > > > Battery state: absent, 0% remaining, unknown life estimate > > AC adapter state: not known

Re: apm doesn't know AC state on APU1C

2023-04-26 Thread Stuart Henderson
On 2023-04-26, Jan Stary wrote: > This is current/amd64 on an APU1C (dmesg below). > While 'sysctl hw' knows hw.power=1, apm doesn't know: > > Battery state: absent, 0% remaining, unknown life estimate > AC adapter state: not known > Performance adjustment mode: auto (1000 MHz) > > Yes, apmd -A

apm doesn't know AC state on APU1C

2023-04-26 Thread Jan Stary
This is current/amd64 on an APU1C (dmesg below). While 'sysctl hw' knows hw.power=1, apm doesn't know: Battery state: absent, 0% remaining, unknown life estimate AC adapter state: not known Performance adjustment mode: auto (1000 MHz) Yes, apmd -A is running. Not that this matters much, the