[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926617: plasma-pa: Speakers test doesn't work if libcanberra-pulse is not installed



Package: plasma-pa
Version: 4:5.14.5-1
Severity: normal

The speakers test functionality in the settings of the plasmoid didn't work for
me. When I tried to use it, I saw the following in the console:

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM 2
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM 2
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM 2

After studying the code, I noticed that test sounds are being played with
libcanberra, and the device ID is backend-specific there. It seems that the
numeric IDs are used by Pulseaudio backend, not ALSA.

So, I installed the Pulseaudio backend:

$ sudo apt install libcanberra-pulse

This fixed the bug for me.

So, please add libcanberra-pulse to Recommends of plasma-pa.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-pa depends on:
ii  libc6                                    2.28-8
ii  libcanberra0                             0.30-7
ii  libkf5coreaddons5                        5.54.0-1
ii  libkf5globalaccel-bin                    5.54.0-1
ii  libkf5globalaccel5                       5.54.0-1
ii  libkf5i18n5                              5.54.0-1
ii  libkf5quickaddons5                       5.54.0-1
ii  libpulse-mainloop-glib0                  12.2-4
ii  libpulse0                                12.2-4
ii  libqt5core5a                             5.11.3+dfsg1-1
ii  libqt5dbus5                              5.11.3+dfsg1-1
ii  libqt5gui5                               5.11.3+dfsg1-1
ii  libqt5qml5                               5.11.3-4
ii  libqt5quick5                             5.11.3-4
ii  libqt5widgets5                           5.11.3+dfsg1-1
ii  libstdc++6                               8.3.0-5
ii  plasma-framework                         5.54.0-1
ii  pulseaudio                               12.2-4
ii  qml-module-org-kde-draganddrop           5.54.0-1
ii  qml-module-org-kde-kquickcontrolsaddons  5.54.0-1
ii  qml-module-qtquick-controls              5.11.3-2
ii  qml-module-qtquick-layouts               5.11.3-4
ii  qml-module-qtquick2                      5.11.3-4

plasma-pa recommends no packages.

plasma-pa suggests no packages.

-- no debconf information


Reply to: