[Bug 2091294] Re: ddcci-dkms FTBS in Noble with linux-6.11-hwe kernel

Ubuntu Foundations Team Bug Bot 2091294 at bugs.launchpad.net
Mon Dec 9 16:25:48 UTC 2024


The attachment "ddcci-support-noble-6.11.debdiff" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff.  If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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:
  In Progress
Status in ddcci-driver-linux source package in Noble:
  In Progress

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

  [ 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