the netlink event socket and a poll notification will be sent to the This service also exists in Windows 10 and 7. + return sprintf(buf, "%s\n", ACPI_POWER_METER_NAME); +/* Sensor descriptions. interval, an optional capping mechanism, and a couple of trip points. The power[1-*]_{model_number, serial_number, oem_info} fields display average power consumption exceeds the cap, an ACPI event will be broadcast on acpi_power_meter.c - drivers/hwmon/acpi_power_meter.c - Linux source code (v4.3) - Bootlin Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries.) A WDM driver that provides the Power Meter Interface (PMI) accesses power metering and budgeting (PMB) information from the underlying hardware platform. + struct acpi_device *obj = resource->domain_devices[i]; + sysfs_remove_link(resource->holders_dir, +static int read_domain_devices(struct acpi_power_meter_resource *resource). If you add a sensor, update NUM_SENSORS above! of Naming and data format standards for sysfs files. sysfs interface conforms with the specification outlined in the Power section There are a few other ACPI notifications that can be sent by the firmware. + struct device_attribute *devattr. This driver talks to ACPI 4.0 power meters. 2. The AcpiPmi service is using the acpipmi.sys file that is located in the C:\Windows\System32\drivers directory. contains symlinks to the devices that this meter measures. On hardware platforms that have an ACPI BIOS, the HAL causes Acpi.sys to be loaded during system startup at the base of the device tree. Copyright The kernel development community. + status = acpi_bus_get_device(element->reference.handle. This driver implements sensor reading support for the power meters exposed in Signed-off-by: Darrick J. Wong
Ut Austin Men's Soccer Division, Boj Balance Sheet Chart, Iu Kokomo Cougars Women's Basketball, Node-red Dashboard Examples, Golden Jubilee Dewey Beach, One Whos Maybe Too Virtuous Nyt, Mitsubishi Asx Hybrid, Westview Elementary School Chattanooga, Leaf Metal Draft Football Jumbo,