[Bug 2091294] Re: ddcci-dkms FTBS in Noble with linux-6.11-hwe kernel
Timo Aaltonen
2091294 at bugs.launchpad.net
Mon Dec 16 11:51:58 UTC 2024
Hello Massimiliano, or anyone else affected,
Accepted ddcci-driver-linux into noble-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/ddcci-
driver-linux/0.4.4-1ubuntu1.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ddcci-driver-linux (Ubuntu)
Status: In Progress => Invalid
** Changed in: ddcci-driver-linux (Ubuntu Noble)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2091294
Title:
ddcci-dkms FTBS in Noble with linux-6.11-hwe kernel
Status in ddcci-driver-linux package in Ubuntu:
Invalid
Status in ddcci-driver-linux source package in Noble:
Fix Committed
Bug description:
[ Impact ]
The DKMS does not compile from source in Noble with kernel 6.11:
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1300:27: error: initialization of ‘int (*)(struct device *, const struct device_driver *)’ from incompatible pointer type ‘int (*)(struct device *, struct device_driver *)’ [-Werror=incompatible-pointer-types]
1300 | .match = ddcci_device_match,
| ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1300:27: note: (near initialization for ‘ddcci_bus_type.match’)
/var/lib/dkms/ddcci/0.4.4/build/ddcci-backlight/ddcci-backlight.c:138:10: error: ‘const struct backlight_ops’ has no member named ‘check_fb’
138 | .check_fb = ddcci_backlight_check_fb,
| ^~~~~~~~
/var/lib/dkms/ddcci/0.4.4/build/ddcci-backlight/ddcci-backlight.c:138:27: error: initialization of ‘bool (*)(struct backlight_device *, struct device *)’ {aka ‘_Bool (*)(struct backlight_device *, struct device *)’} from incompatible pointer type ‘int (*)(struct backlight_device *, struct fb_info *)’ [-Werror=incompatible-pointer-types]
138 | .check_fb = ddcci_backlight_check_fb,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/ddcci/0.4.4/build/ddcci-backlight/ddcci-backlight.c:138:27: note: (near initialization for ‘ddcci_backlight_ops.controls_device’)
[Test case]
Install the latest linux-6.11 kernel on Noble:
$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-image-6.11.0-12-generic \
linux-modules-6.11.0-12-generic \
linux-modules-extra-6.11.0-12-generic \
linux-headers-6.11.0-12-generic
Install ddcci-dkms:
$ sudo apt install ddcci-dkms
Load the module:
$ sudo modprobe ddcci-backlight
The same procedure should be repeated on linux-6.8 to test for
possible regressions.
[ Fix ]
Patch the code to properly support the new linux 6.11 ABI.
[Regression potential]
DDC/CI is a driver for compatible monitors and their integration into the backlight system class.
We may experience graphical regressions in systems that are using this particular driver with kernel >= 6.11.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ddcci-driver-linux/+bug/2091294/+subscriptions
More information about the Ubuntu-sponsors
mailing list