- User Since
- Feb 11 2021, 9:59 PM (119 w, 2 d)
Thu, May 25
hi @emaste, thanks for review.
feel free to commit if you are happy with this.
Tue, May 23
less indent via elseif
x86_msr_op looks much better and already does the right thing wrt unbind. thanks for the suggestion!
Mon, May 22
thanks for looking at the patch
Fri, May 19
Thu, May 18
Tue, May 9
synopsis for no options. make the other two non-optional.
Mon, May 8
d and e option on separate lines
i hope i got that right... man page diffs are surprisingly hard to read...
Fri, May 5
all refreshed into new patches and separated out.
Thu, May 4
cc @avg if you are still around
let me refresh this
feel free to commit if good to go
making sure to pick up the makefile as well
linter is happy
thanks for looking at this patch
thanks for looking!
i've pretty much copy-pasted the added bits from rc.resume and adjusted the keyword. that's it.
Apr 26 2023
@kib this came out of git-format-patch, does that look right?
patch against current. compile-tested only.
Apr 25 2023
Apr 24 2023
Apr 23 2023
Thanks for reviewing!
Would be good to get folks to test this out on their hardware. I'm not sure what to make of the BIOS in my mainboard... it allows setting the wake timer, e.g. 2025-10-31T20:50:59, but ignores the month component! So you get a timer date of 2025-04-31T..., a date that does not exist. Or maybe I made a mistake somewhere...
and found a weird bug in my bios...
Apr 22 2023
Patch against current. I've checked that it compiles but cannot runtime test it.
The 13-stable version of this patch works fine on my hardware.
will update patch shortly.
meanwhile, got this in the console after (first) resume:
ACPI Error: No installed handler for fixed event - RealTimeClock (4), disabling (20201113/evevent-436)
Otherwise seems to be working fine.
Apr 21 2023
Jan 15 2023
thank you @pi!
Jan 10 2023
Jan 7 2023
ping @avg or @imp: any thoughts here?
works fine for me. Most likely works with any IT87 chip (because thats the datasheet I found), but i only have it8613 to actually test on.
Dec 23 2022
thanks for the pointer, kib!
spec looks relevant. but i have no idea how to do anything about those flags in the fbsd source code...
Dec 13 2022
Hm... no idea how that is supposed to work then...
I suspect that something something ACPI needs to happen.
For example, for my NAS box I have (sysctl):
which is the super-io / power management controller (cf D36424).
But messing around with that wake parameter does not seem to do anything.
Dec 9 2022
rebase onto current.
(compiles but not runtime tested)
Dec 4 2022
hi @imp & @john.grafton_runbox.com, thanks for looking!
this patch was against stable-13. I don't have spare hardware to test on current...
how useful do you think this patch is? it did not actually work for me... i suspect a dodgy bios in the nas box, as it wakes from s5 but not from s3.
Nov 7 2022
ping @avg -- please click the merge button if good to go.
Someone please click the merge button... thanks!
works pretty well, here's a grafana screenshot of the numbers that this driver spits out.
Oct 1 2022
Sep 26 2022
hi @avg , anything else i should change here? good to commit?
Sep 8 2022
use snprintf as well
hi john, adding you as you've made recent changes here.
thanks for looking!
Sep 7 2022
add man page
$ sysctl dev.it8613hwm dev.it8613hwm.0.fan2: 1470 dev.it8613hwm.0.fan1: 648 dev.it8613hwm.0.fan0: 0 dev.it8613hwm.0.temperature2: 35C dev.it8613hwm.0.temperature1: 40C dev.it8613hwm.0.temperature0: 49C dev.it8613hwm.0.%parent: superio0 dev.it8613hwm.0.%pnpinfo: type=HWM dev.it8613hwm.0.%location: ldn=0x04 dev.it8613hwm.0.%driver: it8613hwm dev.it8613hwm.0.%desc: Hardware monitor on ITE SuperIO dev.it8613hwm.%parent:
add fan speed
Sep 6 2022
thanks for taking a look.
Sep 5 2022
Is this the right thing to do?
I wrote a sbin tool that opens /dev/io and does raw io to talk to the chip. Now turning that into a driver that exposes the system info as sysctl seems reasonable to me... but maybe this should go somewhere else? I'm looking for opinions.
mostly copy-pasta'd together from itwd and other drivers already in source.
$ devinfo -r [...] isab0 isa0 superio0 ACPI I/O ports: 0x2e-0x2f it8613hwm0 ACPI I/O ports: 0xa35-0xa36 [...]