tuxedocomputers / tuxedo-keyboard

This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.
https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers
GNU General Public License v3.0
300 stars 92 forks source link

Randomly occurring error causes fan to go crazy and breaks USB-C power delivery #197

Closed qwrtln closed 9 months ago

qwrtln commented 10 months ago

I noticed that from time to time a fan in my Infinity Book Gen 6 would go crazy for about a second. Every time it happened, I would observe the following in the journal:

<redacted> kernel: uniwill_wmi: uw ec write timeout, addr: 0x1809, value: 0x00
<redacted> kernel: ucsi_acpi USBC000:00: possible UCSI driver bug 1
<redacted> kernel: ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-22)

Afterwards, if I unplugged my USB hub with power delivery and then plugged it in again, power delivery would no longer work. Sometimes it would work after a couple of plug ins and outs, and sometimes after about 10 retries I would give up and reboot. After reboot, unplugging and plugging in again would make power delivery work again (as it would happen before the error occurred).

For now, I decided to uninstall tuxedo keyboard kernel modules and it did the trick. Fan doesn't go crazy anymore, and USB-C PD works every time. Only select function keys work now, but well, power delivery is more important.

I'm on Arch Linux, and the issue occurred on both standard and LTS kernels.

Can you do anything to address this? Do you need any more info? I'm happy to help.

tuxedo-bot commented 9 months ago

This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.

Please open a merge request or issue in the new project on GitLab if you contribution or bug report still applies.