https://bugzilla.kernel.org/show_bug.cgi?id=217076

--- Comment #48 from Diogo Ivo (diogo....@tecnico.ulisboa.pt) ---
Ok, I have submitted two versions of the kernel module: ucsi_acpi_old.ko and
ucsi_acpi_fix.ko. Both of them print debug messages to dmesg.

Important:

These should only fix the problem for laptops with a model like xxZ90Qxx
(example: 16Z90Q-xxxx); if your model does not contain the exact string Z90Q
then you can skip the following for now and please let me know what your exact
model number is so that I can add support for those models as well.

In order to use them you need to:

Download modules, place them somewhere and cd to that folder, then open a
terminal on that folder and, with everything unplugged from USB-C ports, do:

sudo dmesg -w // Do this in another terminal window

sudo rmmod ucsi_acpi
sudo insmod -f ucsi_acpi_old.ko // Insert the stock module with debug info

Let it finish outputting things to dmesg and then connect something to a USB-C
port, wait a few seconds and then disconnect.
Collect the logs from that to a file

Then:

sudo rmmod ucsi_acpi
sudo insmod -f ucsi_acpi_fix.ko // Insert the (hopefully) fixed module with
debug info

Again, let it finish outputting things to dmesg and then connect something to a
USB-C port, wait a few seconds and then disconnect.
Collect the logs from that to a file.

Finally,

sudo rmmod ucsi_acpi

When all of this is done please send the files to this thread so that I can see
if this is working.

Thank you for testing this, it is really helpful :)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to