staticbool dual_accel_detect_bosc0200(void)
{ struct acpi_device *adev; int count;
adev = acpi_dev_get_first_match_dev("BOSC0200", NULL, -1); if (!adev) returnfalse;
count = i2c_acpi_client_count(adev);
acpi_dev_put(adev);
return count == 2;
}
staticbool dual_accel_detect(void)
{ /* Systems which use a pair of accels with KIOX010A / KIOX020A ACPI ids */ if (acpi_dev_present("KIOX010A", NULL, -1) &&
acpi_dev_present("KIOX020A", NULL, -1)) returntrue;
/* Systems which use a single DUAL250E ACPI device to model 2 accels */ if (acpi_dev_present("DUAL250E", NULL, -1)) returntrue;
/* Systems which use a single BOSC0200 ACPI device to model 2 accels */ if (dual_accel_detect_bosc0200()) returntrue;
returnfalse;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.