[Pkg-alsa-devel] Bug#915939: Updating libasound2-data overwrites alsa.conf

Elimar Riesebieter riesebie at lxtec.de
Sat Dec 8 12:34:52 GMT 2018


* fin4478 fin4478 <fin4478 at hotmail.com> [2018-12-08 11:59 +0000]:

> On Sat, 8 Dec 2018 10:55:36 +0100
> Elimar Riesebieter <riesebie at lxtec.de> wrote:
> 
> > * fin4478 fin4478 <fin4478 at hotmail.com> [2018-12-08 02:55 +0000]:
> > 
> > > Package: libasound2-data
> > > Version: 1.1.7-2
> > >   
> > 
> > > Many people use Alsa only with Debian and with Hifi speakers
> > > connected to analog out of the motherboard. However the audio
> > > device 0 is hdmi audio and you need to change it in
> > > /usr/share/alsa/alsa.conf:
> > > defaults.ctl.card 2
> > > defaults.pcm.card 2
> > > 
> > > Many other Debian packages asks confirmation from the user when
> > > updating configuration files.   
> > 
> > So we do.
> > 
> > > The libasound2-data package should
> > > do the same.  
> > 
> > What tells
> > 
> > $ dmesg | grep sound/card
> > 
> > ?
> > Elimar
> 
> [    2.381590] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input7
> [    2.381626] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input8
> [    2.381657] input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input9
> [    2.381687] input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input10
> [    2.381719] input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input11
> [    2.381751] input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:08:00.1/sound/card1/input12
> [    2.417527] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card2/input13
> [    2.417568] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card2/input14
> [    2.417605] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card2/input15
> [    2.417642] input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card2/input16
> [    2.417678] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card2/input17

This points you to know that the kernel is responsible to set the
order of your soundcards. /usr/share/alsa/alsa.conf didn't changed
since 1.1.6 for defaults./(ctl|pcm), though. 

For a solid solution for your problem please consult
https://wiki.debian.org/ALSA => troubleshooting.

As this is not a bug of any alsa package I close it hereby.

Elimar
-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
         -Friedrich Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-alsa-devel/attachments/20181208/756b28ef/attachment.sig>


More information about the Pkg-alsa-devel mailing list