ACPI: PRP0001 (0) found or a where 0 is the driver_data or index. If you need a code piece (kernel module example) Here’s a minimal kernel module that matches PRP0001 with _UID=0 :
static struct acpi_driver my_driver = { .name = "my_prp0001_driver", .ids = my_acpi_ids, .ops = { .add = my_probe, }, };
#include <linux/module.h> #include <linux/acpi.h> static int my_probe(struct acpi_device *adev) { dev_info(&adev->dev, "Matched PRP0001 with UID 0\n"); return 0; }
module_acpi_driver(my_driver); MODULE_LICENSE("GPL");
echo "acpi prp0001 0" > /sys/kernel/config/acpi/table/myoverlay/aml (this is not typical syntax, but sometimes seen in debug prints). You are probably looking at a print from the kernel (e.g., dmesg , acpi_match_device debug) showing:
Prp0001 0 - Acpi
ACPI: PRP0001 (0) found or a where 0 is the driver_data or index. If you need a code piece (kernel module example) Here’s a minimal kernel module that matches PRP0001 with _UID=0 :
static struct acpi_driver my_driver = { .name = "my_prp0001_driver", .ids = my_acpi_ids, .ops = { .add = my_probe, }, }; acpi prp0001 0
#include <linux/module.h> #include <linux/acpi.h> static int my_probe(struct acpi_device *adev) { dev_info(&adev->dev, "Matched PRP0001 with UID 0\n"); return 0; } ACPI: PRP0001 (0) found or a where 0
module_acpi_driver(my_driver); MODULE_LICENSE("GPL"); .ids = my_acpi_ids
echo "acpi prp0001 0" > /sys/kernel/config/acpi/table/myoverlay/aml (this is not typical syntax, but sometimes seen in debug prints). You are probably looking at a print from the kernel (e.g., dmesg , acpi_match_device debug) showing: