
In "BIF" the "units" are the 1st element but in "BIX" its the 2nd. _BIX has 20 elements.Ģ.4 now we need to adapt the index for the following lines, to copy the right data from the "BIX" to our "BIF" struct. Next, in: /usr/src/sys/dev/acpica/acpi_cmbat.cĢ.2 AcpiEvaluateObject will now read from _BIX and puts the result into our bix_bufferĢ.3 ACPI_PKG_VALID(res, 20), we need to change that from 13 to 20 to pass the ckeck.
#I2C HID DEVICE NOT WORKING TOUCHPAD SERIAL NUMBER#
Uint32_t gra2 /* Granularity 2 (Full to Warn) */Ĭhar model /* model identifier */Ĭhar serial /* Serial number */Ĭhar type /* Type */Ĭhar oeminfo /* OEM information */Ģ. Uint32_t gra1 /* Granularity 1 (Warn to Low) */ #define ACPI_BIX_UNITS_MA 1 /* Capacity in mAh, rate in mA. #define ACPI_BIX_UNITS_MW 0 /* Capacity in mWh, rate in mW.
#I2C HID DEVICE NOT WORKING TOUCHPAD HOW TO#
I got some inspiration on how to implement that from here. FreeBSD has as of today only support for "_BIF" but this laptop does not implement that in his DSDT. You will need to modify your acpi battery driver to get battery initialization done. However the initialization failed with "ig4iic_pci0: controller error during attach-2".Īnyways, I'm don't know if I'm going in the right direction here, maybe it's totally unrelated. Loading ig4 makes a little difference, it detects an "Intel Sunrise Point-LP I2C Controller". I saw in 12-Current a checking ( Add support for i2c controllers on Skylake and Kaby Lake ). Yesterday I tested to add ig4_load="YES" to /boot/nf. Is anyone aware if HID over I2C will come to FreeBSD any time soon ? It turns out the laptop has a Synaptic touchpad connected over I2C. I tested Ubuntu 18.04 on it as well, which detects all hardware just fine.

However, the touchpad and touchscreen are not even being detected at all. I recently bought a Huawei Matebook X Pro.
