#1032129 alsa-utils: Silence on line in after reboot when using darkice

Package:
alsa-utils
Source:
alsa-utils
Description:
Utilities for configuring and using ALSA
Submitter:
Whiskydrinker
Date:
2023-02-28 13:03:03 UTC
Severity:
normal
#1032129#5
Date:
2023-02-28 13:00:51 UTC
From:
To:
Dear Maintainer,

sometimes I install a small streaming server that provides a MP3 stream using icecast2 and darkice
and the on board sound card  of a typical Intel chipset. (Tried this also with two different mainboards.)

The following has worked fine under Buster with alsa-utils 1.1.8-2. It fails starting with Bullseye or after
upgrading from from Buster to Bullseye.

You can also reproduce this quite easily.

- Installation is a minimal Debian using the netinstaller with just SSH and the basic system utilities chosen
from the setup.
- Afterwards the only additional packages that get installed are alsa-utils, darkice and icecast2.
- Do the basic configuration for icecast2.
- Do the configuration for darkice with the on board line in as the input device.
- Set everything (Line as input, recording level and record for the channel) in alsamixer.
- Add a service for darkice.
- Reboot.

Now with Buster there was a stream with audio after the reboot.

Starting with Bulleye there is also a stream but it's just silence. Darkice is running fine, though.

Now you open alsamixer.

- Disable record on the channel.
- Switch the "Line" to "Mic" and back to "Line".
- Enable record on the channel again.

And now there's also audio with Bullseye and Bookworm.

Until you reboot. Then you have to that kind of workaround again.