Page MenuHomeFreeBSD

acpi_video(4): mention that acpi_video should be loaded after any drm driver
ClosedPublic

Authored by driesm on Aug 15 2020, 7:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:55 AM
Unknown Object (File)
Nov 18 2023, 3:15 AM
Unknown Object (File)
Oct 4 2023, 10:25 PM
Unknown Object (File)
Aug 30 2023, 8:49 AM
Unknown Object (File)
Aug 16 2023, 4:32 AM
Unknown Object (File)
Aug 16 2023, 4:13 AM
Unknown Object (File)
Jul 9 2023, 5:36 AM
Unknown Object (File)
Jul 4 2023, 7:04 PM
Subscribers

Details

Summary

When not adhering to this order, brightness sysctl's do not show up (tested on Lenovo T490). Thanks to Ulrich for pointing this out! Wouldn't have found it without him.

Test Plan

mandoc

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

driesm created this revision.
driesm retitled this revision from mention that acpi_video should be loaded after any drm driver to acpi_video(4): mention that acpi_video should be loaded after any drm driver.Aug 18 2020, 10:14 AM

While I had to do this as well to make it attach, I'm not sure if this is intentional or simply a bug that should be fixed (instead of documented).

Could you try roping in someone knowledgeable in acpi_video or graphics and ACPI in general to have a look? Is this also common for laptops other than Thinkpads for example?

This revision is now accepted and ready to land.Aug 18 2020, 12:47 PM

Interestingly, I have acpi_video in my kernel, and I've never had any issues with this, even though acpi_video attaches long before the DRM kernel modules.

I tagged @manu and @avg as they seem to have touched acpi_video not so long ago.
acpi_video can attach before, but it just wont show brightness sysctls. (atleast on our laptops T490)
So in the end maybe a bug rather than intended behavior.

Indeed it needs to be loaded after on some platform (Like my Lenovo X390).
Thanks.