Appreciate the feedback. For 12th and 13th gen, this is what we have that works. Now, this may change in the future. At this time for this generation of Intel, this is the workaround we have available.
What we have presented is an actionable workaround for Intel 12th and 13th gen boards.
Since this on course to devolve into something non-constructive, I would ask that we wrap this up here. Thank you
Closing the loop on this. @Loell_Framework and myself have confirmed this is absolutely working on 12th gen and we have not been able to replicate the cold boot experience where it does not. Personally did 3 separate clean installs and updated it to test this.
This is on a single OS installed nvme drive, Fedora 38.
This leads me to believe something else is at play for those affected by this on Fedora 38, latest updates installed.
Are there other distros on your hard drive? If so, this would be why it’s not working. I’ve found this is where most people run into issues.
Are you also booting Windows?
Any other specific configurations not out of the box?
We will attempt to try different configurations with cold boots, but it’s been working over and over for us.
Not taking away from anyone’s experiences - I understand this happened to some folks. But we need to be able to replicate this and folks, even internally, this method remains working.
For the record, I have exactly the same issue as devkev reports. His solution of binding to i2c_hid_api is the only solution, only blacklisting the ALS by blacklisting hid_sensor_hub is not enough.
I’ve provided support with video proof, I’ve reinstalled many times upon support request, swapped out SSDs, memory, flash drives and distro’s (not only on Fedora, also Ubuntu) and have been consistently been reproducing the issue. Only this command works:
echo i2c-FRMW0001:00 | sudo tee /sys/bus/i2c/drivers/i2c_hid_acpi/bind
I understand that on your system and theirs. However, something must be different - which is what we’re trying to determine.
This is a matter of us being completely unable to duplicate this failure.
We have not, at all, but able to get the boot parameter not to work.
For some reason, something, somewhere is different - we need to identify what that is.
We also use this internally for our software devs (they use this parameter on Ubuntu for their laptops).
Now, for you all, you have a workaround that is working and that’s solid.
However, it is critical that folks who happen upon this thread do not believe that this is a hard requirement - it is not unless we can spot what you two have different than what we have on our own systems, and those systems used by our own software team.
We vet and retest to keep our workflows current and as of yesterday, we have found that the grub parameter stands on the 12th gen mainboards tested.
Now, obviously this is an issue…but it’s maddening that we don’t see it here. At all, whatsoever.
I’d love to get to the bottom of this.
Those affected, can you let me know
what is connected to your Framework when you tried sudo grubby --update-kernel=ALL --args="module_blacklist=hid_sensor_hub" and then reboot.
Which BIOS release you’re using?
Which distribution and kernel you’re using?
Confirm this affecting your 12th gen board?
While connected to AC power (if so, which charger?)
Some of this will sound absurd, however, we cannot seem to replicate this issue on our end whatsoever - it just works for us - Fedora 38 and Ubuntu 22.04.3.
Appreciate this folks. I will test again, one more time today myself. My tests are detached from everything except AC power.
My next test will be with current release of 22.04.3 - although this also worked when tested on 22.04.2 as well. This will be with current linux-oem-22.04c which is currently 6.1.0.1019.19
Framework 13, 12th gen i5-1240
BIOS 3.04
Ubuntu 22.04.3
Kernel 6.1.0-1019-oem
No external anything attached, just AC power to USB-C.
Only these parameters used: quiet splash module_blacklist=hid_sensor_hub
Appreciate this, my 3.04 BIOS machine is off (Ubuntu). Going to power on and test.
Powering on cold with Ubuntu. Tested, keys worked. Hmmm This is tough. Tested on battery and attached to power.
Spoke to @DHowett and they brought up an interesting point. What if for some reason, it’s not propagated to the ramdisk. This would be why none of us could duplicate it.
Edited my thoughts above, DHowett has a possible reason why it’s happening and this would also address why it’s not reproducible on our end. It may be unloading on your configuration where it is not having this issue on ours. Which is why we cannot seem to replicate it successfully.
No, you’re fine - my OCD is screaming right now because it’s not a thing on my machine, Loell’s machines or anyone else at work. lol
What does your grub parameters look like? Wondering if something is “pushing off” the blacklisting from boot.
Looking back through devkev’s notes for some additional clues.
May a moot point. Most folks can use the parameters fine (looking at past tickets, etc).
But there may be something triggered where it’s not working for some folks.
Going to pin this and mark as a potential workaround guide in case anyone else is seeing this. Man, I just want repro this one time. Would help me to have something to dig into. But this is solid workaround in case it crops up again in later BIOS releases.
Thanks everyone for letting me sort through this. It was rough, but I’ve determined:
Can’t seem to duplicate it here in my office and Loell also has not been able to duplicate this.
Others here have shown it’s a thing they’ve experienced and there is another workaround devkev came up with that is resolving this for those affected.
Should the standard GRUB_CMDLINE_LINUX_DEFAULT="quiet splash module_blacklist=hid_sensor_hub" fail for anyone, please use kevdev’s method linked below.
In multiple tests, we were not able to reproduce cold boot, warm boot, Fedora and Ubuntu. But if find that you’re not able to get the brightness keys working, the method below has been confirmed to help.
Big props to @devkev for the solution that is working for them and will help others if it fails to operate correctly.
You can also enable it temporally by running sudo rmmod hid_sensor_trigger hid_sensor_iio_common hid_sensor_als hid-sensor-hub to unload the module and dependends.
Do any of the solutions here apply for the 11th gen?
I just updated bios (Fedora 38) from 3.03 to 3.17 and the function keys to control screen brightness are not doing anything, but they were working before the update. I also could not find anything in settings for screen brightness. All other function keys are working.
Did not see the file /etc/modprobe.d/framework-als-blacklist.conf.
If your have a standard, untouched grub configuration on 11th Gen, it’s not needed. You have no other odd blacklisting or tweaks made? Does this also happen on a live usb of 38?