|
From: | BALATON Zoltan |
Subject: | Re: [PATCH] hw/misc: applesmc: use host osk as default on macs |
Date: | Mon, 11 Oct 2021 15:40:07 +0200 (CEST) |
On Mon, 11 Oct 2021, Gabriel L. Somlo wrote:
FWIW, there's an applesmc driver in the Linux kernel, and it exposes many of the keys and values stored on the chip under /sys/devices/platform/applesmc.768 (or at least it *used* to back when I last checked). My idea at the time was to get this driver to also expose the value of OSK0,1, so that userspace programs (like e.g. qemu) could read and use the values hardcoded in hardware without needing to hardcode them themselves in software.
I guess a frequent use case for running macOS guests with keys from host would be on hosts running macOS too so a solution that works both on macOS and Linux might be better than a Linux specific one which then needs another way to do the same on macOS. Looks like there's free code for that too and you don't have to convince a maintainer either.
Regards, BALATON Zoltan
[Prev in Thread] | Current Thread | [Next in Thread] |