I recently bought a Huawei Matebook X Pro. Out of the box 11.2 and 12-Current boot.
However, the touchpad and touchscreen are not even being detected at all.
I tested Ubuntu 18.04 on it as well, which detects all hardware just fine. It turns out the laptop has a Synaptic touchpad connected over I2C.
Is anyone aware if HID over I2C will come to FreeBSD any time soon ?
Yesterday I tested to add ig4_load="YES" to /boot/loader.conf. I saw in 12-Current a checking https://github.com/freebsd/freebsd/...23d36aa#diff-9344fa2ebfa6399678c352b94e7c3cb7 ( Add support for i2c controllers on Skylake and Kaby Lake ).
Loading ig4 makes a little difference, it detects an "Intel Sunrise Point-LP I2C Controller". However the initialization failed with "ig4iic_pci0: controller error during attach-2".
Anyways, I'm don't know if I'm going in the right direction here, maybe it's totally unrelated.
Looking forward to get some advice.
PS:
If someone has the same laptop. You will need to modify your acpi battery driver to get battery initialization done. FreeBSD has as of today only support for "_BIF" but this laptop does not implement that in his DSDT. Instead you want to read from "_BIX". I got some inspiration on how to implement that from here. Works. https://github.com/openbsd/src/comm...f=split#diff-0ee599c4cd860206b8d64e11374d06d1.
However, the touchpad and touchscreen are not even being detected at all.
I tested Ubuntu 18.04 on it as well, which detects all hardware just fine. It turns out the laptop has a Synaptic touchpad connected over I2C.
Is anyone aware if HID over I2C will come to FreeBSD any time soon ?
Yesterday I tested to add ig4_load="YES" to /boot/loader.conf. I saw in 12-Current a checking https://github.com/freebsd/freebsd/...23d36aa#diff-9344fa2ebfa6399678c352b94e7c3cb7 ( Add support for i2c controllers on Skylake and Kaby Lake ).
Loading ig4 makes a little difference, it detects an "Intel Sunrise Point-LP I2C Controller". However the initialization failed with "ig4iic_pci0: controller error during attach-2".
Anyways, I'm don't know if I'm going in the right direction here, maybe it's totally unrelated.
Looking forward to get some advice.
PS:
If someone has the same laptop. You will need to modify your acpi battery driver to get battery initialization done. FreeBSD has as of today only support for "_BIF" but this laptop does not implement that in his DSDT. Instead you want to read from "_BIX". I got some inspiration on how to implement that from here. Works. https://github.com/openbsd/src/comm...f=split#diff-0ee599c4cd860206b8d64e11374d06d1.