Package: libasounds
Version: 1.1.7-1
Severity: normal

Dear Maintainer,

After upgrading libasound2 and -data recently from 1.1.6-1 to 1.1.7-1,
pulseaudio failed to find my usb headphones.

A little rooting around pointed at aplay to demonstrate the problem.

Before the upgrade (actually, after downgrading again), aplay -l reports:

    $aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: EarMicrophone [USB Ear-Microphone], device 0: USB Audio [USB Audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    $

After the upgrade, it reports:

    $aplay -l
    **** List of PLAYBACK Hardware Devices ****
    ALSA lib conf.c:3639:(config_file_open) cannot access file 
/etc/alsa/conf.d/10-rate-lav.conf
    ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load 
returned error: No such file or directory
    ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing 
configuration
    aplay: device_list:281: control open (0): No such file or directory
    ALSA lib conf.c:3639:(config_file_open) cannot access file 
/etc/alsa/conf.d/10-rate-lav.conf
    ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load 
returned error: No such file or directory
    ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing 
configuration
    aplay: device_list:281: control open (1): No such file or directory
    ALSA lib conf.c:3639:(config_file_open) cannot access file 
/etc/alsa/conf.d/10-rate-lav.conf
    ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load 
returned error: No such file or directory
    ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing 
configuration
    aplay: device_list:281: control open (2): No such file or directory
    $

/etc/alsa/conf.d contains a lot of broken symlinks (what are they supposed
to point at anyway?):

    $ls -L /etc/alsa/conf.d
    ls: cannot access '/etc/alsa/conf.d/50-arcam-av-ctl.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/50-oss.conf': No such file or directory
    ls: cannot access '/etc/alsa/conf.d/60-a52-encoder.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/50-jack.conf': No such file or directory
    ls: cannot access '/etc/alsa/conf.d/60-upmix.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/10-speexrate.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/10-rate-lav.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/50-pulseaudio.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/98-usb-stream.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/60-vdownmix.conf': No such file or 
directory
    ls: cannot access '/etc/alsa/conf.d/10-samplerate.conf': No such file or 
directory
    10-rate-lav.conf@    10-speexrate.conf@     50-jack.conf@  
50-pulseaudio.conf@   60-upmix.conf@     98-usb-stream.conf@
    10-samplerate.conf@  50-arcam-av-ctl.conf@  50-oss.conf@   
60-a52-encoder.conf@  60-vdownmix.conf@  99-pulseaudio-default.conf.example
    $

Removing the symlinks (actually, renaming /etc/alsa/conf.d to
.../conf.d.off) fixes the problem.

It appears libasound has become sensitive to not being to open these files.

Vincent.
-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (800, 'testing'), (400, 'stable'), (300, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), 
LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Reply via email to