Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2022-02-16 Thread Samuel Thibault
Arnaud Rebillout, le mer. 16 févr. 2022 10:00:42 +0700, a ecrit:
> On 2/14/22 18:55, Samuel Thibault wrote:
> > Could you try with the following image:
> > 
> > https://people.debian.org/~sthibault/tmp/debian-sid-amd64-NETINST-1.iso
> > 
> > It's supposed to have the firmware available for loading before speech
> > starts.
> 
> Just tried it, and it works! The sound card is detected and the speech
> synthesis is functional.

\o/

Thanks for testing!
Samuel



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2022-02-15 Thread Arnaud Rebillout

Hi Samuel,

On 2/14/22 18:55, Samuel Thibault wrote:

Could you try with the following image:

https://people.debian.org/~sthibault/tmp/debian-sid-amd64-NETINST-1.iso

It's supposed to have the firmware available for loading before speech
starts.


Just tried it, and it works! The sound card is detected and the speech 
synthesis is functional.


Tested on laptop Thinkpad X1 Carbon Gen 8.

  $ sudo lspci | grep -Ei '(sound|audio)'
  00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS

Thanks!

--
Arnaud Rebillout / Offensive Security / Kali Linux Developer



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2022-02-15 Thread Samuel Thibault
Hello,

Asking debian-kernel about firmwares: is the firmware-intel-sound
package needed for getting sound on some hardware?

Do you know if arm64 has some platforms which require such kind of sound
firmwares?

Samuel

Samuel Thibault, le lun. 14 févr. 2022 12:55:15 +0100, a ecrit:
> Arnaud Rebillout, le lun. 22 mars 2021 17:30:30 +0700, a ecrit:
> > some recent Intel sound cards require a firmware to work. This firmware
> > is packaged under 'firmware-sof-signed'. For reference, you might want
> > to look at the ITP [1].
> > 
> > I tried it with my laptop. What happens is that the installer gets stuck
> > straight from the beginning, prior it can show any kind of GUI. All I
> > get is a black scree with the lines:
> > 
> >   Please wait while we probe your sound card(s)...
> 
> Could you try with the following image:
> 
> https://people.debian.org/~sthibault/tmp/debian-sid-amd64-NETINST-1.iso
> 
> It's supposed to have the firmware available for loading before speech
> starts.
> 
> Samuel



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2022-02-14 Thread Samuel Thibault
Hello,

Arnaud Rebillout, le lun. 22 mars 2021 17:30:30 +0700, a ecrit:
> some recent Intel sound cards require a firmware to work. This firmware
> is packaged under 'firmware-sof-signed'. For reference, you might want
> to look at the ITP [1].
> 
> I tried it with my laptop. What happens is that the installer gets stuck
> straight from the beginning, prior it can show any kind of GUI. All I
> get is a black scree with the lines:
> 
>   Please wait while we probe your sound card(s)...

Could you try with the following image:

https://people.debian.org/~sthibault/tmp/debian-sid-amd64-NETINST-1.iso

It's supposed to have the firmware available for loading before speech
starts.

Samuel



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2021-03-22 Thread Samuel Thibault
Raphael Hertzog, le lun. 22 mars 2021 14:27:24 +0100, a ecrit:
> On Mon, 22 Mar 2021, Samuel Thibault wrote:
> > Arnaud Rebillout, le lun. 22 mars 2021 17:30:30 +0700, a ecrit:
> > > some recent Intel sound cards require a firmware to work.
> > 
> > Ah. So these should be getting supported by the firmware-enabled image
> > of Debian:
> > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
> 
> I don't think so.

I meant: as a goal. I don't mean it's supposed to work.

Samuel



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2021-03-22 Thread Raphael Hertzog
On Mon, 22 Mar 2021, Samuel Thibault wrote:
> Hello,
> 
> Arnaud Rebillout, le lun. 22 mars 2021 17:30:30 +0700, a ecrit:
> > some recent Intel sound cards require a firmware to work.
> 
> Ah. So these should be getting supported by the firmware-enabled image
> of Debian:
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/

I don't think so. This was initially reproduced in Kali and our image
is firmware-enabled in the same way AFAIK.

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2021-03-22 Thread Samuel Thibault
Hello,

Arnaud Rebillout, le lun. 22 mars 2021 17:30:30 +0700, a ecrit:
> some recent Intel sound cards require a firmware to work.

Ah. So these should be getting supported by the firmware-enabled image
of Debian:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/

> And so on. I don't know if there's a timeout,

There is a long 1 minute timeout yes.

> I thought I could customize the ISO and add the firmware under the
> '/firmware' directory, but it's not that easy. The step that probes
> for sound cards is done in the initrd.

Yes, that has to be there since we want speech before the first menu
appears, and non-initrd stuff is not available at that point.

> I don't have a solution to propose, I am merely reporting the issue in
> case it's not a known issue yet.

It wasn't known so far.

So the concern is that currently the firmware-looking code doesn't
happen soon enough, we'd need to run before the first menu for the
speech synthesis to be able to synth it.

Samuel



Bug#985696: debian-installer: Speech synthesis and Intel SOF firmware

2021-03-22 Thread Arnaud Rebillout
Package: debian-installer
Severity: normal
Tags: a11y
User: de...@kali.org
Usertags: origin-kali

Dear Maintainer,

some recent Intel sound cards require a firmware to work. This firmware
is packaged under 'firmware-sof-signed'. For reference, you might want
to look at the ITP [1].

As expected, selecting the "Speech Synthesis" option of the Debian
Installer fails on computer that have such sound cards, since the
required firmware is missing.

I tried it with my laptop. What happens is that the installer gets stuck
straight from the beginning, prior it can show any kind of GUI. All I
get is a black scree with the lines:

  Please wait while we probe your sound card(s)...
  No sound card detected after 3 seconds...
  No sound card detected after 4 seconds...

And so on. I don't know if there's a timeout, after 30 seconds I
switched off the laptop.

I thought I could customize the ISO and add the firmware under the
'/firmware' directory, but it's not that easy. The step that probes
for sound cards is done in the initrd.

I don't have a solution to propose, I am merely reporting the issue in
case it's not a known issue yet.

Cheers,

  Arnaud

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960788