How to Debug ALSA on KDE Plasma 5 (Pulseaudo in the way?)

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

 



 [Reposting with correct sender, I apologize]

Hi,

my "big" desktop machine has a conventional audio device and an HDMI
audio device on board. Additionally I have a CMI8738 based PCI Sound
Card that is supposed to play audio via IEC 958 to my DAT recorder.

The system is Debian unstable with KDE Plasma 5. I have pasted the
output of alsa-info.sh to http://paste.debian.net/341693/ (which will
hold until December 9). I am currently using pulseaudio for playback
(good enough for me at the moment).

However, when I configure pulseaudio via pavucontrol to play back via
the CMI card's IEC958 output, the output still comes out of the card's
analog outputs, and the DAT recorder doesn't even sync to any data
stream.

I therefore tried debugging from the bottom up. In the first step, I
tried playing back via on-board analog audio via plain ALSA.

**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


I configured all output devices to "Off" in pavucontrol and tried
mpg321 -v -o alsa -a hw1,0. This results in
"Can't open libao driver with device hw1,0 (is device in use?)".

This is probably true since pulseaudio is still in use and the
pulseaudio daemon is still running. When I ask pulseaudio kindly to
terminate by use of the kill(1) command, some helpful other component
starts a new pulseaudio daemon immediately.


------------------------------
Question (1)
Can I find out which process has locked a certain ALSA audio device?
------------------------------



I then looked in KDE system settings for a probably checked "Enable
KDE Sound System" checkbox which I remember being there from KDE 3,
when I did "serious" sound on Linux for the last time. Nothing. KDE
Plasma 5 does have a "Audio Hardware Setup" Tab which offers me the
devices to use, pulseaudio not being one of them, and it says "Phonon
VLC" as Sound Backend. I guess that phonon is somehow configured to
use pulseaudio, which in turn keeps hold of my ALSA devices.



------------------------------
Question (2)
Which software component of my system do I reconfigure in which way to
let go of my audio devices so that I can do low-level debugging of
ALSA on my system to find out which software component is at fault for
the digital audio malfunctions of my CMI8737 card?
------------------------------



Any hints would be apprecited.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux