Hi Samuel, the laptop's audio simply comes through my laptop's speakers, as on any normal laptop for personal use.
Do you think there can be any difference in case I get the commands'
results from within a Bookworm image?
Roland Clobus writes:
Recently I updated the firmware detection for the live-images [1], to
have automatic detection, but I might have missed some other modules in newer folders.
When is the sound missing/broken: only during the installer, or also
after the installation has completed (or within the live environment)?
OK, just tested the Mate live image; speech is not broken inside the live environment
The firmware detection for the Intel SOF family is hardcoded in the installer.
Recently I updated the firmware detection for the live-images [1], to
have automatic detection, but I might have missed some other modules
in newer folders.
On Wed, May 14, 2025 at 03:14:17PM +0200, Cyril Brulebois wrote:
Thanks to whoever added it to the wishlist, I've just pushed a commit
to debian-cd's master branch to refresh the list for the v6.12.y series.
Looping in debian-cd@ to make sure it's getting (cherry-)picked up,
merged, or whatever, so that it's used for RC 1. Thanks!
https://salsa.debian.org/images-team/debian-cd/-/commit/513684f3f7ec53bdbd7f177ec53f60c8a31656a5
That's cool - we're still using master for Trixie at this point, so
we're all good. :-)
After some more digging, we came up with another image for you to test
(this time a network installer image):
It turned out that the firmware needs to be made available in another location for the speech installer to work.
Hi, Roland Clobus writes:
After some more digging, we came up with another image for you to test (this time a network installer image):
It turned out that the firmware needs to be made available in another location for the speech installer to work.
It talked, hence it works! I actually had no Debian installed, but now
I'm gonna install it next weekend.
Hi,
Roland Clobus <rclobus@rclobus.nl> (2025-05-27):
I agree, but we would support a few more sound cards now.
For the cAVS sound card firmware-intel-sound might be required, and no
additional kernel modules. The firmware-intel-sound.patterns file in the
netinst image does not contain that identifier (even after the update),
however the patterns file in the live images does contain that identifier
[1].
Interestingly enough, the identifier 8086:51ca (Intel cAVS) is mentioned in >> both patterns files on the live images. I read some kernel code, and
determined at firmware-intel-sound would be required, but I forgot to write >> down exactly how I came to that conclusion.
I ended up with [3]:
for _ALIAS in $(dpkg-query -L ${_LINUX_KERNEL_PACKAGE} | egrep
'kernel/sound/soc/intel/.*\.ko(.xz)?$'); do /usr/sbin/modinfo ${_ALIAS} |
awk '/^alias:/ { print $2 }'; done | sort -u | awk '{ gsub(/[*]/, ".*", $1); >> printf "^%s$\n", $1 }' > ${_FW_DEP11_DIR}/${_PACKAGE}.patterns
which parses different kernel modules compared to the logic for
firmware-sof-signed:
for _ALIAS in $(dpkg-query -L ${_LINUX_KERNEL_PACKAGE} | egrep
'(kernel/sound/soc/sof/.*\.ko(.xz)?|/snd-soc-.*sof.*\.ko(.xz)?)$'); do
/usr/sbin/modinfo ${_ALIAS} | awk '/^alias:/ { print $2 }'; done | sort -u | >> awk '{ gsub(/[*]/, ".*", $1); printf "^%s$\n", $1 }' >
${_FW_DEP11_DIR}/${_PACKAGE}.patterns
On top of this, there are 2 scenarios to consider:
1) Have espeakup work during the installation
2) Ensure that the installed system has the correct firmware files
For 1) the additional firmware is required in the initrd
For 2) the .patterns files are required (the firmware-intel-sound.patterns >> file was not generated
I thought I had followed up to this but it seems that didn't happen…
At the moment, I'm very much not convinced that the initial debian-cd
patches (besides fixing firmware inclusion logic) are correct, so it would >make sense to me to get the firmware-intel-sound addition reverted, so
that the next release's focus is on trying to ensure i915 gets loaded >successfully (hopefully the existing firmware-sof-signed integration gets >improved, with speech synthesis starting right off the bat).
In a follow-up release (possibly after 13.0 depending on the release
team's timing when it comes to the full freeze and the initial trixie >release), we can try and come up with proper firmware-intel-sound support, >which would mean (as you identified) making sure speech synthesis works >within d-i, plus ensuring the relevant package(s) get deployed in the >installed system:
- Having one without the other would only mean wasting people's time, I
fear.
- Plus the huge extra cost for the initrd (size-wise) is clearly not
worth it at this time.
Also, I suggest turning the firmware-intel-sound topic into a dedicated
bug report, instead of keeping it entangled with firmware-sof-signed in
this overlong thread plus merge requets / commit comments on Salsa…
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:31:03 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,569 |