You are not logged in.

#1 2018-09-10 18:36:48

zaxdan69
Member
Registered: 2016-06-04
Posts: 98

Sound card doesn't detected on pulseaudio restart

I have 2 sound cards connected, the one is the onboard sound card, and the other is a pci ens_1371 soundcard, which I'm trying to use as default. I tried to do it by editing the default.pa as suggested on wiki:

set-default-sink alsa_output.pci-0000_05_05.0.analog-stereo

this was the name of that card which is the index 2.
The problem is that when I tried to restart pulseaudio to apply the change the sound card dissappeared.
This was the  pacmd list-sinks | grep -e 'name:' -e 'index:'   output before the pa restart:

index: 0
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>
  * index: 1
	name: <alsa_output.pci-0000_00_14.2.analog-stereo>
    index: 2
	name: <alsa_output.pci-0000_05_05.0.analog-stereo>

End this was after:

index: 0
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>
  * index: 1
	name: <alsa_output.pci-0000_00_14.2.analog-stereo>

I tried to restart pulseaudio many times but never detected again. By running "lspci" I found that the card is detected, so I loaded the module again with "modpropbe snd_ens1371"
Then the output of list-sinks, changed with lot of other entries:

ndex: 0
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>
  * index: 1
	name: <alsa_output.pci-0000_00_14.2.analog-stereo>
    index: 2
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo>
    index: 3
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo.2>
    index: 4
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo.3>
    index: 5
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>
    index: 6
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.2>
    index: 7
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.3>
    index: 8
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo.4>
    index: 9
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo.5>
    index: 10
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_00_14.2.analog-stereo.6>
    index: 11
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.4>
    index: 12
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.5>
    index: 13
	name: <tunnel.arch-desktop.local.alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.6>

Also seems that volume control applet has all these entries now with these long names which are cutted(because they are too long) and I cannot read the name of the card as before and I don't know which is the actually ens1371 device output. Also all volumes for this device became 100%(I set the volume 70% for the card before) and this card isn't the default as expected and again used the other card which has nothing connected to output sound.
Any idea why this happens and how to set that card as default and also restore the previous entries which was the actual sound outputs and with sort and more human friently names?

EDIT:
I just tested all those outputs and I didn't get any sound of any of them, so still I have no sound from ens1371 card
EDIT2:
With pulseaudio -k, pulseaudio restarts but there is no change. So I tried "killall pulseaudio"(this used at first time) and again the card dissappeared completely. I didn't load the module this time yet but the card detected and in lshw as before
lshw -c sound:

WARNING: you should run this program as super-user.
  *-multimedia              
       description: Audio device
       product: GP108 High Definition Audio Controller
       vendor: NVIDIA Corporation
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: a1
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:19 memory:fe97c000-fe97ffff
  *-multimedia
       description: Audio device
       product: SBx00 Azalia (Intel HDA)
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 14.2
       bus info: pci@0000:00:14.2
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=snd_hda_intel latency=32
       resources: irq:16 memory:fcff4000-fcff7fff
  *-multimedia
       description: Multimedia audio controller
       product: ES1371/ES1373 / Creative Labs CT2518
       vendor: Ensoniq
       physical id: 5
       bus info: pci@0000:05:05.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=snd_ens1371 latency=32 maxlatency=128 mingnt=12
       resources: irq:20 ioport:e800(size=64)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Last edited by zaxdan69 (2018-09-10 18:51:33)

Offline

Board footer

Powered by FluxBB