APPLIED uc22: [kernel-snaps-uc2*/main|master][PATCH] trim-firmware: if intel bluetooth firmware is included, include all of them

Dimitri John Ledkov dimitri.ledkov at canonical.com
Wed May 11 10:48:02 UTC 2022


Applied to uc22 only for now, once pi & pc kernels ship with that in
place correctly, will apply to uc20 too.

-- 
okurrr,

Dimitri

On Mon, 9 May 2022 at 18:28, Dimitri John Ledkov
<dimitri.ledkov at canonical.com> wrote:
>
> Currently only a subset of intel bluetooth firmware files are declared
> as required by the btintel driver. If they are included, also copy and
> include the rest of them for all other (more recent) devices.
>
> BugLink: https://bugs.launchpad.net/bugs/1970819
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---
>  trim-firmware | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/trim-firmware b/trim-firmware
> index cc8b61c42d..4990736919 100755
> --- a/trim-firmware
> +++ b/trim-firmware
> @@ -51,6 +51,13 @@ for d in "${DESTDIR}"/modules/* ; do
>         fi
>  done
>
> +# If an intel bluetooth firmware is included, include the rest of them
> +# LP: #1970819
> +if [ -e "${DESTDIR}"/firmware.new/intel/ibt-12-16.sfi ]; then
> +    cp "${DESTDIR}"/firmware/intel/ibt-*.sfi "${DESTDIR}"/firmware.new/intel/
> +    cp "${DESTDIR}"/firmware/intel/ibt-*.ddc "${DESTDIR}"/firmware.new/intel/
> +fi
> +
>  # Switch to the new firmware directory
>  rm -rf "${DESTDIR}"/firmware
>  mv "${DESTDIR}"/firmware.new "${DESTDIR}"/firmware
> --
> 2.32.0
>



More information about the kernel-team mailing list