Closed brunoais closed 1 year ago
Hello,
this looks weird. Only notable thing with https://github.com/tuxedocomputers/tuxedo-keyboard/commit/affc59e3e2784a3a838c4495fb8365e1759fcd67 to me is the inclusion of the multicolor interface. .h plus use of register/unregister.
Otherwise regarding system. For this interface to work CONFIG_LEDS_CLASS_MULTICOLOR
needs to be enabled in the kernel but should just not work if not. Not prevent insertion. However, it looks like you have the standard ubuntu 22.04 kernel, right?
However, it looks like you have the standard ubuntu 22.04 kernel, right?
That was correct until yesterday evening.
Now I changed to linux-oem-22.04c
due to amdgpu no-retry page fault under 5.19 leading to amdgpu no-retry page fault
linux-oem-22.04c
currently installs 6.1.0-1008-oem
and it still doesn't work with the same errors, no difference.
@tuxedoxt Any news?
It still seems to be specific to the multicolor symbols and manually inserted modules. If the kernel was configured to build the module you can also try loading the module manually (insmod
will not load dependencies on its own)
modprobe led-class-multicolor
before inserting the modules that depend on it.
I've tried this and sth is wrong. MY PC becomes completely unusable with everything locking up and become progressively unresponsive. I don't have time to diagnose why today, so I'll try again on the weekend.
Update: I will need more time. The issue is not trivial. I'll need to schedule some day when I can do as many reboots as I need without disturbing the rest of my stuff every time the module locks up and won't unload. This doesn't mean the module you provide is faulty. It probably just means I'm doing something wrong but then I need to reboot to rectify
Update: I'm still trying to figure things out. I'm now sure now if it's my problem or not. I'll need some dedicated days to look at this
Problem
When I try to load modules I compile using code from current master branch commit
131af916
from this repo, I successfully compile the code but I can't load it to the kernel.reloadModules.sh
unloads and reloads modules. A copy of its source code is in my PR which adds LED control functionality and power mode press reaction. The order they load is as specified in the generatedmodules.order
file. The code which generatesmodules.order
file is in the master branch.Logs
This is my console output (I anonymized the file paths):
This is the
dmesg
output:Environment
22.04.2
5.19.0-38-generic
Analysis
This problem appeared in version 3.2.0. The offending commit is
b963225cf7eef66c6eb28224a872bc62845f4c41
While bisecting backwards through generalize_keyboard_backlight_brightness branch to when the problem started, I reached commit:
f50eeaac07128013758bb3a8ef3aa83115b2c192
. So, commitf50eeaac07128013758bb3a8ef3aa83115b2c192
loads just fine. However, commitaffc59e3e2784a3a838c4495fb8365e1759fcd67
doesn't load at all.The issue reported is the exact same both in the past and in the current commit:
I tried many of the intermediate commits between
affc59e3e2784a3a838c4495fb8365e1759fcd67
and131af916
and I checked the errors reported and they are the same.Help please!
What is wrong here? Why the errors? What happened in that commit that works well enough to exist in the repo but is broken in my system?